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 wxGCDC : wxDC 14{ 15 %Docstring 16 GCDC(windowDC) 17 GCDC(memoryDC) 18 GCDC(printerDC) 19 GCDC(context) 20 GCDC() 21 22 wxGCDC is a device context that draws on a wxGraphicsContext. 23 %End 24 %TypeHeaderCode 25 #include <wx/dcgraph.h> 26 %End 27 28public: 29 wxGCDC( 30 const wxWindowDC & windowDC /KeepReference/ 31 ); 32 %PreMethodCode 33 if (!wxPyCheckForApp()) return NULL; 34 %End 35 36 wxGCDC( 37 const wxMemoryDC & memoryDC /KeepReference/ 38 ); 39 %PreMethodCode 40 if (!wxPyCheckForApp()) return NULL; 41 %End 42 43 wxGCDC( 44 const wxPrinterDC & printerDC /KeepReference/ 45 ); 46 %PreMethodCode 47 if (!wxPyCheckForApp()) return NULL; 48 %End 49 50 wxGCDC( 51 wxGraphicsContext * context /Transfer/ 52 ); 53 %PreMethodCode 54 if (!wxPyCheckForApp()) return NULL; 55 %End 56 57 wxGCDC(); 58 %PreMethodCode 59 if (!wxPyCheckForApp()) return NULL; 60 %End 61 62 virtual 63 ~wxGCDC(); 64 65 wxGraphicsContext * GetGraphicsContext() const; 66 %Docstring 67 GetGraphicsContext() -> GraphicsContext 68 69 Retrieves associated wxGraphicsContext. 70 %End 71 72 void SetGraphicsContext( 73 wxGraphicsContext * ctx /Transfer/ 74 ); 75 %Docstring 76 SetGraphicsContext(ctx) 77 78 Set the graphics context to be used for this wxGCDC. 79 %End 80 81 private: 82 wxGCDC(const wxGCDC&); 83 84 85 public: 86 87 88 %Property(name=GraphicsContext, get=GetGraphicsContext, set=SetGraphicsContext) 89}; // end of class wxGCDC 90 91 92 93//--------------------------------------------------------------------------- 94 95