- long xoffset, long yoffset,
- int fillStyle = wxODDEVEN_RULE);
-
- virtual void DoDrawRectangle( long x, long y, long width, long height );
- virtual void DoDrawRoundedRectangle( long x, long y, long width, long height, double radius = 20.0 );
- virtual void DoDrawEllipse( long x, long y, long width, long height );
-
- virtual void DoDrawIcon( const wxIcon &icon, long x, long y );
- virtual void DoDrawBitmap( const wxBitmap &bitmap, long x, long y,
- bool useMask = FALSE );
-
- virtual bool DoBlit( long xdest, long ydest, long width, long height,
- wxDC *source, long xsrc, long ysrc,
- int logical_func = wxCOPY, bool useMask = FALSE );
-
- virtual void DoDrawText( const wxString &text, long x, long y );
- virtual void GetTextExtent( const wxString &string,
- long *width, long *height,
- long *descent = (long *) NULL,
- long *externalLeading = (long *) NULL,
- wxFont *theFont = (wxFont *) NULL) const;
- virtual long GetCharWidth() const;
- virtual long GetCharHeight() const;
+ wxCoord xoffset, wxCoord yoffset,
+ wxPolygonFillMode fillStyle = wxODDEVEN_RULE);
+
+ virtual void DoDrawRectangle( wxCoord x, wxCoord y, wxCoord width, wxCoord height );
+ virtual void DoDrawRoundedRectangle( wxCoord x, wxCoord y, wxCoord width, wxCoord height, double radius = 20.0 );
+ virtual void DoDrawEllipse( wxCoord x, wxCoord y, wxCoord width, wxCoord height );
+
+ virtual void DoDrawIcon( const wxIcon &icon, wxCoord x, wxCoord y );
+ virtual void DoDrawBitmap( const wxBitmap &bitmap, wxCoord x, wxCoord y,
+ bool useMask = false );
+
+ virtual bool DoBlit( wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height,
+ wxDC *source, wxCoord xsrc, wxCoord ysrc,
+ wxRasterOperationMode logical_func = wxCOPY, bool useMask = false,
+ wxCoord xsrcMask = -1, wxCoord ysrcMask = -1 );
+
+ virtual void DoDrawText( const wxString &text, wxCoord x, wxCoord y );
+ virtual void DoDrawRotatedText(const wxString& text, wxCoord x, wxCoord y,
+ double angle);
+ virtual void DoGetTextExtent( const wxString &string,
+ wxCoord *width, wxCoord *height,
+ wxCoord *descent = (wxCoord *) NULL,
+ wxCoord *externalLeading = (wxCoord *) NULL,
+ const wxFont *theFont = (wxFont *) NULL) const;
+
+public:
+ virtual wxCoord GetCharWidth() const;
+ virtual wxCoord GetCharHeight() const;