public override void DrawText(int dest_x, int dest_y, string text, CanvasImpl c) { SDL_Canvas canvas = c as SDL_Canvas; mSprite.Position = new Point(dest_x, dest_y); mSprite.Text = text; mSprite.Color = FontColor; canvas.Surface.Blit(mSprite); }
public override void DrawText(Point dest_pt, string text, CanvasImpl c) { DrawText(dest_pt.X, dest_pt.Y, text, c); }
public override void DrawRects(System.Drawing.Rectangle[] src_rects, System.Drawing.Rectangle[] dest_rects, CanvasImpl c) { throw new Exception("The method or operation is not implemented."); }
public override void Draw(System.Drawing.Point dest_pt, CanvasImpl c) { throw new Exception("The method or operation is not implemented."); }
public override void Draw(int dest_x, int dest_y, CanvasImpl c) { throw new Exception("The method or operation is not implemented."); }
public override void Draw(System.Drawing.Rectangle src_rect, System.Drawing.Rectangle dest_rect, CanvasImpl c) { SDL_Canvas canvas = c as SDL_Canvas; canvas.Surface.Blit(mSurface, dest_rect, src_rect); }
public override void Draw(System.Drawing.Rectangle dest_rect, CanvasImpl c) { }