]> git.saurik.com Git - wxWidgets.git/blob - include/wx/dcprint.h
66265750f5eb0602fe001c02c68d9b8fa0a85548
[wxWidgets.git] / include / wx / dcprint.h
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
12 #ifndef _WX_DCPRINT_H_BASE_
13 #define _WX_DCPRINT_H_BASE_
14
15 #include "wx/defs.h"
16
17 #if wxUSE_PRINTING_ARCHITECTURE
18
19 #include "wx/dc.h"
20
21 //-----------------------------------------------------------------------------
22 // wxPrinterDC
23 //-----------------------------------------------------------------------------
24
25 class WXDLLIMPEXP_CORE wxPrinterDC : public wxDC
26 {
27 public:
28 wxPrinterDC();
29 wxPrinterDC(const wxPrintData& data);
30 virtual ~wxPrinterDC();
31
32 wxRect GetPaperRect();
33 int GetResolution();
34
35 private:
36 DECLARE_DYNAMIC_CLASS(wxPrinterDC)
37 };
38
39 #endif // wxUSE_PRINTING_ARCHITECTURE
40
41 #endif // _WX_DCPRINT_H_BASE_