1//--------------------------------------------------------------------------- 2// This file is generated by wxPython's SIP generator. Do not edit by hand. 3// 4// Copyright: (c) 2018 by Total Control Software 5// License: wxWindows License 6// 7// This file will be included by _core.sip 8// 9//--------------------------------------------------------------------------- 10 11//--------------------------------------------------------------------------- 12 13class wxMemoryDC : wxDC 14{ 15 %Docstring 16 MemoryDC() 17 MemoryDC(dc) 18 MemoryDC(bitmap) 19 20 A memory device context provides a means to draw graphics onto a 21 bitmap. 22 %End 23 %TypeHeaderCode 24 #include <wx/dcmemory.h> 25 %End 26 27public: 28 wxMemoryDC(); 29 %PreMethodCode 30 if (!wxPyCheckForApp()) return NULL; 31 %End 32 33 wxMemoryDC( 34 wxDC * dc 35 ); 36 %PreMethodCode 37 if (!wxPyCheckForApp()) return NULL; 38 %End 39 40 wxMemoryDC( 41 wxBitmap & bitmap 42 ); 43 %PreMethodCode 44 if (!wxPyCheckForApp()) return NULL; 45 %End 46 47 void SelectObject( 48 wxBitmap & bitmap 49 ); 50 %Docstring 51 SelectObject(bitmap) 52 53 Works exactly like SelectObjectAsSource() but this is the function you 54 should use when you select a bitmap because you want to modify it, 55 e.g. 56 %End 57 58 void SelectObjectAsSource( 59 const wxBitmap & bitmap 60 ); 61 %Docstring 62 SelectObjectAsSource(bitmap) 63 64 Selects the given bitmap into the device context, to use as the memory 65 bitmap. 66 %End 67 68 private: 69 wxMemoryDC(const wxMemoryDC&); 70 71 72}; // end of class wxMemoryDC 73 74 75 76//--------------------------------------------------------------------------- 77 78