]>
Commit | Line | Data |
---|---|---|
99d80019 JS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/dcprint.h | |
3 | // Purpose: wxPrinterDC base header | |
4 | // Author: Julian Smart | |
5 | // Modified by: | |
6 | // Created: | |
7 | // Copyright: (c) Julian Smart | |
8 | // RCS-ID: $Id$ | |
9 | // Licence: wxWindows Licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
34138703 JS |
12 | #ifndef _WX_DCPRINT_H_BASE_ |
13 | #define _WX_DCPRINT_H_BASE_ | |
c801d85f | 14 | |
c8f84271 PC |
15 | #include "wx/defs.h" |
16 | ||
17 | #if wxUSE_PRINTING_ARCHITECTURE | |
18 | ||
c8ddadff RR |
19 | #include "wx/dc.h" |
20 | ||
21 | //----------------------------------------------------------------------------- | |
22 | // wxPrinterDC | |
23 | //----------------------------------------------------------------------------- | |
24 | ||
1a2c763c | 25 | class WXDLLIMPEXP_CORE wxPrinterDC : public wxDC |
c8ddadff RR |
26 | { |
27 | public: | |
4f37154e | 28 | wxPrinterDC(); |
1a2c763c VZ |
29 | wxPrinterDC(const wxPrintData& data); |
30 | virtual ~wxPrinterDC(); | |
31 | ||
c8ddadff | 32 | wxRect GetPaperRect(); |
4f37154e | 33 | int GetResolution(); |
1a2c763c | 34 | |
4f37154e | 35 | private: |
1a2c763c | 36 | DECLARE_DYNAMIC_CLASS(wxPrinterDC) |
c8ddadff RR |
37 | }; |
38 | ||
1a2c763c | 39 | #endif // wxUSE_PRINTING_ARCHITECTURE |
c8ddadff | 40 | |
1a2c763c | 41 | #endif // _WX_DCPRINT_H_BASE_ |