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 wxPrinterDC : wxDC 14{ 15 %Docstring 16 PrinterDC(printData) 17 18 A printer device context is specific to MSW and Mac, and allows access 19 to any printer with a Windows or Macintosh driver. 20 %End 21 %TypeHeaderCode 22 #include <wx/dcprint.h> 23 %End 24 25public: 26 wxPrinterDC( 27 const wxPrintData & printData 28 ); 29 %PreMethodCode 30 if (!wxPyCheckForApp()) return NULL; 31 %End 32 33 wxRect GetPaperRect() const; 34 %Docstring 35 GetPaperRect() -> Rect 36 37 Return the rectangle in device coordinates that corresponds to the 38 full paper area, including the nonprinting regions of the paper. 39 %End 40 41 private: 42 wxPrinterDC(const wxPrinterDC&); 43 44 45 public: 46 47 48 %Property(name=PaperRect, get=GetPaperRect) 49}; // end of class wxPrinterDC 50 51 52 53//--------------------------------------------------------------------------- 54 55