1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxClientDC, wxPaintDC and wxWindowDC classes
4 // Author: Stefan Csomor
8 // Copyright: (c) Stefan Csomor
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_DCCLIENT_H_
13 #define _WX_DCCLIENT_H_
16 #include "wx/dcgraph.h"
18 //-----------------------------------------------------------------------------
20 //-----------------------------------------------------------------------------
22 class WXDLLIMPEXP_FWD_CORE wxPaintDC
;
23 class WXDLLIMPEXP_FWD_CORE wxWindow
;
25 class WXDLLIMPEXP_CORE wxWindowDCImpl
: public wxGCDCImpl
28 wxWindowDCImpl( wxDC
*owner
);
29 wxWindowDCImpl( wxDC
*owner
, wxWindow
*window
);
30 virtual ~wxWindowDCImpl();
32 virtual void DoGetSize( int *width
, int *height
) const;
33 virtual wxBitmap
DoGetAsBitmap(const wxRect
*subrect
) const;
40 DECLARE_CLASS(wxWindowDCImpl
)
41 DECLARE_NO_COPY_CLASS(wxWindowDCImpl
)
45 class WXDLLIMPEXP_CORE wxClientDCImpl
: public wxWindowDCImpl
48 wxClientDCImpl( wxDC
*owner
);
49 wxClientDCImpl( wxDC
*owner
, wxWindow
*window
);
50 virtual ~wxClientDCImpl();
53 DECLARE_CLASS(wxClientDCImpl
)
54 DECLARE_NO_COPY_CLASS(wxClientDCImpl
)
58 class WXDLLIMPEXP_CORE wxPaintDCImpl
: public wxWindowDCImpl
61 wxPaintDCImpl( wxDC
*owner
);
62 wxPaintDCImpl( wxDC
*owner
, wxWindow
*win
);
63 virtual ~wxPaintDCImpl();
66 DECLARE_CLASS(wxPaintDCImpl
)
67 DECLARE_NO_COPY_CLASS(wxPaintDCImpl
)