+#include "wx/dcgraph.h"
+
+class wxGTKCairoDCImpl: public wxGCDCImpl
+{
+ typedef wxGCDCImpl base_type;
+public:
+ wxGTKCairoDCImpl(wxDC* owner);
+ wxGTKCairoDCImpl(wxDC* owner, int);
+ wxGTKCairoDCImpl(wxDC* owner, wxWindow* window);
+
+ virtual void DoDrawBitmap(const wxBitmap& bitmap, int x, int y, bool useMask);
+ virtual void DoDrawIcon(const wxIcon& icon, int x, int y);
+#if wxUSE_IMAGE
+ virtual bool DoFloodFill(int x, int y, const wxColour& col, wxFloodFillStyle style);
+#endif
+ virtual wxBitmap DoGetAsBitmap(const wxRect* subrect) const;
+ virtual bool DoGetPixel(int x, int y, wxColour* col) const;
+ virtual void DoGetSize(int* width, int* height) const;
+ virtual bool DoStretchBlit(int xdest, int ydest, int dstWidth, int dstHeight, wxDC* source, int xsrc, int ysrc, int srcWidth, int srcHeight, wxRasterOperationMode rop, bool useMask, int xsrcMask, int ysrcMask);
+ virtual void* GetCairoContext() const;
+
+protected:
+ int m_width, m_height;
+
+ wxDECLARE_NO_COPY_CLASS(wxGTKCairoDCImpl);
+};