class wxWindowDC : public wxDC
{
- DECLARE_DYNAMIC_CLASS(wxWindowDC)
-
public:
wxWindowDC();
wxWindowDC( wxWindow *win );
virtual bool CanDrawBitmap() const { return TRUE; }
virtual bool CanGetTextExtent() const { return TRUE; }
+//protected:
virtual void DoFloodFill( wxCoord x, wxCoord y, const wxColour& col, int style=wxFLOOD_SURFACE );
virtual bool DoGetPixel( wxCoord x1, wxCoord y1, wxColour *col ) const;
int logical_func = wxCOPY, bool useMask = FALSE );
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,
GdkGC *m_bgGC;
GdkColormap *m_cmap;
bool m_isMemDC;
+ bool m_isScreenDC;
wxWindow *m_owner;
+ wxRegion m_currentClippingRegion;
+ wxRegion m_paintClippingRegion;
+#ifdef __WXGTK20__
+ PangoContext *m_context;
+ PangoFontDescription *m_fontdesc;
+#endif
void SetUpDC();
void Destroy();
void ComputeScaleAndOrigin();
GdkWindow *GetWindow() { return m_window; }
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxWindowDC)
};
//-----------------------------------------------------------------------------
class wxPaintDC : public wxWindowDC
{
- DECLARE_DYNAMIC_CLASS(wxPaintDC)
-
public:
wxPaintDC();
wxPaintDC( wxWindow *win );
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxPaintDC)
};
//-----------------------------------------------------------------------------
class wxClientDC : public wxWindowDC
{
- DECLARE_DYNAMIC_CLASS(wxClientDC)
-
public:
wxClientDC();
wxClientDC( wxWindow *win );
-};
+private:
+ DECLARE_DYNAMIC_CLASS(wxClientDC)
+};
#endif // __GTKDCCLIENTH__