- 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 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,
+ int 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,
+ wxFont *theFont = (wxFont *) NULL) const;
+ virtual bool DoGetPartialTextExtents(const wxString& text, wxArrayInt& widths) const;
+ virtual void DoSetClippingRegion( wxCoord x, wxCoord y, wxCoord width, wxCoord height );
+ virtual void DoSetClippingRegionAsRegion( const wxRegion ®ion );