Example #1
0
        public override void Trace(ColorBoard board, Writing writing, int diff)
        {
            board.SetPixelColor(writing.X + diff, writing.Y, Color);

            board.SetPixelColor(writing.X + diff, writing.Y + 1, Color);

            board.SetPixelColor(writing.X + diff, writing.Y + 2, Color);

            board.SetPixelColor(writing.X + diff, writing.Y + 4, Color);
        }
Example #2
0
        public void Draw(ColorBoard board)
        {
            int count = 0;

            foreach (Letter letter in Text)
            {
                if (letter != null)
                {
                    letter.Draw(board, this, count);
                    count += letter.GetSize();
                }
            }
        }
Example #3
0
        public void Draw(ColorBoard board)
        {
            int county = Y;

            while (county < Y + Height)
            {
                int countx = X;

                while (countx < X + Width)
                {
                    board.SetPixelColor(countx, county, Color);
                    ++countx;
                }
                ++county;
            }
        }
Example #4
0
 public override void Trace(ColorBoard board, Writing writing, int diff)
 {
 }
Example #5
0
 public abstract void Trace(ColorBoard board, Writing writing, int diff);
Example #6
0
 public void Draw(ColorBoard board, Writing writing, int position)
 {
     Trace(board, writing, position);
 }