- void FloodFill(long x1, long y1, const wxColour &col, int style=wxFLOOD_SURFACE) ;
- bool GetPixel(long x1, long y1, wxColour *col) const;
-
- void DrawLine(long x1, long y1, long x2, long y2);
- void CrossHair(long x, long y) ;
- void DrawArc(long x1,long y1,long x2,long y2,long xc,long yc);
- void DrawEllipticArc(long x,long y,long w,long h,double sa,double ea);
- void DrawPoint(long x, long y);
- // Avoid compiler warning
- void DrawPoint(wxPoint& point) { wxDC::DrawPoint(point); }
- void DrawLines(int n, wxPoint points[], long xoffset = 0, long yoffset = 0);
- // Avoid compiler warning
- void DrawLines(wxList *lines, long xoffset = 0, long yoffset = 0)
- { wxDC::DrawLines(lines, xoffset, yoffset); }
- void DrawPolygon(int n, wxPoint points[], long xoffset = 0, long yoffset = 0, int fillStyle=wxODDEVEN_RULE);
- // Avoid compiler warning
- void DrawPolygon(wxList *lines, long xoffset = 0, long yoffset = 0, int fillStyle=wxODDEVEN_RULE)
- { wxDC::DrawPolygon(lines, xoffset, yoffset, fillStyle); }
- void DrawRectangle(long x, long y, long width, long height);
- void DrawRoundedRectangle(long x, long y, long width, long height, double radius = 20);
- void DrawEllipse(long x, long y, long width, long height);
-
- void DrawSpline(wxList *points);
-
- bool Blit(long xdest, long ydest, long width, long height,
- wxDC *source, long xsrc, long ysrc, int rop = wxCOPY, bool useMask = FALSE);
- inline bool CanDrawBitmap(void) const { return TRUE; }
-
- void DrawIcon( const wxIcon& icon, long x, long y );
- void DrawBitmap( const wxBitmap& bitmap, long x, long y, bool useMask=FALSE );
-
- void DrawText(const wxString& text, long x, long y, bool use16 = FALSE);
+ bool DoFloodFill(wxCoord x1, wxCoord y1, const wxColour &col, int style=wxFLOOD_SURFACE );
+ bool DoGetPixel(wxCoord x1, wxCoord y1, wxColour *col) const;
+
+ void DoDrawLine(wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2);
+ void DoCrossHair(wxCoord x, wxCoord y) ;
+ void DoDrawArc(wxCoord x1,wxCoord y1,wxCoord x2,wxCoord y2,wxCoord xc,wxCoord yc);
+ void DoDrawEllipticArc(wxCoord x,wxCoord y,wxCoord w,wxCoord h,double sa,double ea);
+ void DoDrawPoint(wxCoord x, wxCoord y);
+ void DoDrawLines(int n, wxPoint points[], wxCoord xoffset = 0, wxCoord yoffset = 0);
+ void DoDrawPolygon(int n, wxPoint points[], wxCoord xoffset = 0, wxCoord yoffset = 0, int fillStyle=wxODDEVEN_RULE);
+ void DoDrawPolyPolygon(int n, int count[], wxPoint points[], wxCoord xoffset = 0, wxCoord yoffset = 0, int fillStyle=wxODDEVEN_RULE);
+ void DoDrawRectangle(wxCoord x, wxCoord y, wxCoord width, wxCoord height);
+ void DoDrawRoundedRectangle(wxCoord x, wxCoord y, wxCoord width, wxCoord height, double radius = 20);
+ void DoDrawEllipse(wxCoord x, wxCoord y, wxCoord width, wxCoord height);
+
+ void DoDrawSpline(wxList *points);
+
+ bool DoBlit(wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height,
+ wxDC *source, wxCoord xsrc, wxCoord ysrc, int rop = wxCOPY, bool useMask = false,
+ wxCoord xsrcMask = wxDefaultCoord, wxCoord ysrcMask = wxDefaultCoord);
+ bool CanDrawBitmap() const { return true; }
+
+ void DoDrawIcon( const wxIcon& icon, wxCoord x, wxCoord y );
+ void DoDrawBitmap( const wxBitmap& bitmap, wxCoord x, wxCoord y, bool useMask = false );
+
+ void DoDrawText(const wxString& text, wxCoord x, wxCoord y );
+ void DoDrawRotatedText(const wxString& text, wxCoord x, wxCoord y, double angle);