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;
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)
};
public:
wxPaintDC();
wxPaintDC( wxWindow *win );
-
+
private:
DECLARE_DYNAMIC_CLASS(wxPaintDC)
};
public:
wxClientDC();
wxClientDC( wxWindow *win );
-
+
private:
DECLARE_DYNAMIC_CLASS(wxClientDC)
};