]>
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 | |
99d80019 JS |
8 | // Licence: wxWindows Licence |
9 | ///////////////////////////////////////////////////////////////////////////// | |
10 | ||
34138703 JS |
11 | #ifndef _WX_DCPRINT_H_BASE_ |
12 | #define _WX_DCPRINT_H_BASE_ | |
c801d85f | 13 | |
c8f84271 PC |
14 | #include "wx/defs.h" |
15 | ||
16 | #if wxUSE_PRINTING_ARCHITECTURE | |
17 | ||
c8ddadff RR |
18 | #include "wx/dc.h" |
19 | ||
20 | //----------------------------------------------------------------------------- | |
21 | // wxPrinterDC | |
22 | //----------------------------------------------------------------------------- | |
23 | ||
1a2c763c | 24 | class WXDLLIMPEXP_CORE wxPrinterDC : public wxDC |
c8ddadff RR |
25 | { |
26 | public: | |
4f37154e | 27 | wxPrinterDC(); |
1a2c763c | 28 | wxPrinterDC(const wxPrintData& data); |
1a2c763c | 29 | |
6d52ca53 FM |
30 | wxRect GetPaperRect() const; |
31 | int GetResolution() const; | |
1a2c763c | 32 | |
f0875501 VZ |
33 | protected: |
34 | wxPrinterDC(wxDCImpl *impl) : wxDC(impl) { } | |
35 | ||
4f37154e | 36 | private: |
1a2c763c | 37 | DECLARE_DYNAMIC_CLASS(wxPrinterDC) |
c8ddadff RR |
38 | }; |
39 | ||
1a2c763c | 40 | #endif // wxUSE_PRINTING_ARCHITECTURE |
c8ddadff | 41 | |
1a2c763c | 42 | #endif // _WX_DCPRINT_H_BASE_ |