- 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;
+ 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;
+ 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 );
+
+
+public:
+ virtual wxCoord GetCharWidth() const;
+ virtual wxCoord GetCharHeight() const;