]>
Commit | Line | Data |
---|---|---|
2bda0e17 KB |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: dcprint.h | |
3 | // Purpose: wxPrinterDC class | |
4 | // Author: Julian Smart | |
5 | // Modified by: | |
6 | // Created: 01/02/97 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) Julian Smart and Markus Holzem | |
9 | // Licence: wxWindows license | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef __DCPRINTH__ | |
13 | #define __DCPRINTH__ | |
14 | ||
15 | #ifdef __GNUG__ | |
16 | #pragma interface "dcprint.h" | |
17 | #endif | |
18 | ||
19 | #include "wx/dc.h" | |
20 | ||
21 | class WXDLLEXPORT wxPrinterDC: public wxDC | |
22 | { | |
23 | public: | |
24 | DECLARE_CLASS(wxPrinterDC) | |
25 | ||
26 | // Create a printer DC | |
27 | wxPrinterDC(const wxString& driver, const wxString& device, const wxString& output, const bool interactive = TRUE, const int orientation = wxPORTRAIT); | |
28 | wxPrinterDC(WXHDC theDC); | |
29 | ||
30 | ~wxPrinterDC(void); | |
31 | }; | |
32 | ||
33 | // Gets an HDC for the default printer configuration | |
34 | WXHDC WXDLLEXPORT wxGetPrinterDC(int orientation); | |
35 | ||
36 | #endif | |
37 | // __DCPRINTH__ | |
38 |