]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: wx/motif/dcprint.h | |
3 | // Purpose: wxPrinterDC class | |
4 | // Author: Julian Smart | |
5 | // Modified by: | |
6 | // Created: 17/09/98 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) Julian Smart | |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef _WX_DCPRINT_H_ | |
13 | #define _WX_DCPRINT_H_ | |
14 | ||
15 | #include "wx/dc.h" | |
16 | ||
17 | class WXDLLEXPORT wxPrinterDC: public wxDC | |
18 | { | |
19 | public: | |
20 | DECLARE_CLASS(wxPrinterDC) | |
21 | ||
22 | // Create a printer DC | |
23 | wxPrinterDC(const wxString& driver, const wxString& device, const wxString& output, bool interactive = true, int orientation = wxPORTRAIT); | |
24 | ||
25 | wxRect GetPaperRect(); | |
26 | ||
27 | virtual ~wxPrinterDC(); | |
28 | }; | |
29 | ||
30 | #endif | |
31 | // _WX_DCPRINT_H_ |