]>
Commit | Line | Data |
---|---|---|
9b6dbb09 | 1 | ///////////////////////////////////////////////////////////////////////////// |
925f7740 | 2 | // Name: wx/motif/dcprint.h |
9b6dbb09 JS |
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 | |
925f7740 | 9 | // Licence: wxWindows licence |
9b6dbb09 JS |
10 | ///////////////////////////////////////////////////////////////////////////// |
11 | ||
12 | #ifndef _WX_DCPRINT_H_ | |
13 | #define _WX_DCPRINT_H_ | |
14 | ||
fce127d7 | 15 | #include "wx/motif/dc.h" |
9b6dbb09 | 16 | |
53a2db12 | 17 | class WXDLLIMPEXP_CORE wxPrinterDC : public wxMotifDCImpl |
9b6dbb09 | 18 | { |
83df96d6 | 19 | public: |
83df96d6 | 20 | // Create a printer DC |
fce127d7 VZ |
21 | wxPrinterDCImpl(const wxString& driver, const wxString& device, |
22 | const wxString& output, | |
23 | bool interactive = true, | |
af7e24c3 | 24 | wxPrintOrientation orientation = wxPORTRAIT); |
fce127d7 | 25 | virtual ~wxPrinterDC(); |
925f7740 | 26 | |
6d52ca53 | 27 | wxRect GetPaperRect() const; |
f415cab9 | 28 | |
fce127d7 | 29 | DECLARE_CLASS(wxPrinterDCImpl) |
9b6dbb09 JS |
30 | }; |
31 | ||
fce127d7 | 32 | #endif // _WX_DCPRINT_H_ |