1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
15 //-----------------------------------------------------------------------------
17 //-----------------------------------------------------------------------------
19 class WXDLLIMPEXP_CORE wxGTKDCImpl
: public wxDCImpl
22 wxGTKDCImpl( wxDC
*owner
);
23 virtual ~wxGTKDCImpl();
26 void SetColourMap( const wxPalette
& palette
) { SetPalette(palette
); };
27 #endif // wxUSE_PALETTE
29 // Resolution in pixels per logical inch
30 virtual wxSize
GetPPI() const;
32 virtual bool StartDoc( const wxString
& WXUNUSED(message
) ) { return true; }
33 virtual void EndDoc() { }
34 virtual void StartPage() { }
35 virtual void EndPage() { }
37 virtual GdkWindow
* GetGDKWindow() const { return NULL
; }
40 // base class pure virtuals implemented here
41 virtual void DoSetClippingRegion(wxCoord x
, wxCoord y
, wxCoord width
, wxCoord height
);
42 virtual void DoGetSizeMM(int* width
, int* height
) const;
45 DECLARE_ABSTRACT_CLASS(wxGTKDCImpl
)
48 // this must be defined when wxDC::Blit() honours the DC origin and needed to
49 // allow wxUniv code in univ/winuniv.cpp to work with versions of wxGTK
51 #ifndef wxHAS_WORKING_GTK_DC_BLIT
52 #define wxHAS_WORKING_GTK_DC_BLIT
55 #endif // _WX_GTKDC_H_