]>
Commit | Line | Data |
---|---|---|
0e320a79 DW |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: dcmemory.h | |
3 | // Purpose: wxMemoryDC class | |
f0a56ab0 | 4 | // Author: David Webster |
0e320a79 | 5 | // Modified by: |
f0a56ab0 | 6 | // Created: 09/09/99 |
0e320a79 | 7 | // RCS-ID: $Id$ |
f0a56ab0 DW |
8 | // Copyright: (c) David Webster |
9 | // Licence: wxWindows licence | |
0e320a79 DW |
10 | ///////////////////////////////////////////////////////////////////////////// |
11 | ||
12 | #ifndef _WX_DCMEMORY_H_ | |
13 | #define _WX_DCMEMORY_H_ | |
14 | ||
0e320a79 DW |
15 | #include "wx/dcclient.h" |
16 | ||
fb46a9a6 | 17 | class WXDLLEXPORT wxMemoryDC: public wxDC |
0e320a79 | 18 | { |
5afb9458 | 19 | DECLARE_DYNAMIC_CLASS(wxMemoryDC) |
0e320a79 | 20 | |
5afb9458 | 21 | public: |
0e320a79 | 22 | wxMemoryDC(void); |
5afb9458 | 23 | wxMemoryDC(wxDC* pDC); // Create compatible DC |
ce44c50e | 24 | |
0e320a79 | 25 | ~wxMemoryDC(void); |
5afb9458 DW |
26 | virtual void SelectObject(const wxBitmap& rBitmap); |
27 | virtual void DoGetSize( int* pWidth | |
28 | ,int* pHeight | |
29 | ) const; | |
30 | }; // end of CLASS wxMemoryDC | |
0e320a79 DW |
31 | |
32 | #endif | |
33 | // _WX_DCMEMORY_H_ |