]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/motif/dcmemory.h
40434bd5f4c2c060940dfa06c519b5e5d438fcd6
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxMemoryDC class
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_DCMEMORY_H_
13 #define _WX_DCMEMORY_H_
16 #pragma interface "dcmemory.h"
19 #include "wx/dcclient.h"
21 class wxMemoryDC
: public wxWindowDC
23 DECLARE_DYNAMIC_CLASS(wxMemoryDC
)
27 wxMemoryDC( wxDC
*dc
); // Create compatible DC
30 virtual void SelectObject( const wxBitmap
& bitmap
);
32 void GetSize( int *width
, int *height
) const;
34 wxBitmap
& GetBitmap() const { return (wxBitmap
&) m_bitmap
; }