コード例 #1
0
ファイル: Letter.cs プロジェクト: nvareille/TimeBoxOpenSDK
        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);
        }
コード例 #2
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;
            }
        }