]> git.saurik.com Git - wxWidgets.git/blob - include/wx/motif/dcprint.h
supporting clang memory management annotations
[wxWidgets.git] / include / wx / motif / dcprint.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/motif/dcprint.h
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
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_DCPRINT_H_
13 #define _WX_DCPRINT_H_
14
15 #include "wx/motif/dc.h"
16
17 class WXDLLIMPEXP_CORE wxPrinterDC : public wxMotifDCImpl
18 {
19 public:
20 // Create a printer DC
21 wxPrinterDCImpl(const wxString& driver, const wxString& device,
22 const wxString& output,
23 bool interactive = true,
24 wxPrintOrientation orientation = wxPORTRAIT);
25 virtual ~wxPrinterDC();
26
27 wxRect GetPaperRect() const;
28
29 DECLARE_CLASS(wxPrinterDCImpl)
30 };
31
32 #endif // _WX_DCPRINT_H_