コード例 #1
0
        public override void DrawText(int dest_x, int dest_y, string text)
        {
            mSprite.Position = new Point(dest_x, dest_y);
            mSprite.Text     = text;
            mSprite.Color    = FontColor;

            mBackBuffer.Blit(mSprite);
        }
コード例 #2
0
 public override void Draw(System.Drawing.Rectangle dest_rect)
 {
     mBackBuffer.Blit(mSurface, dest_rect, new Rectangle(new Point(0, 0), SurfaceSize));
 }