]> git.saurik.com Git - wxWidgets.git/blame - include/wx/dcprint.h
support retina display
[wxWidgets.git] / include / wx / dcprint.h
CommitLineData
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 25class WXDLLIMPEXP_CORE wxPrinterDC : public wxDC
c8ddadff
RR
26{
27public:
4f37154e 28 wxPrinterDC();
1a2c763c 29 wxPrinterDC(const wxPrintData& data);
1a2c763c 30
6d52ca53
FM
31 wxRect GetPaperRect() const;
32 int GetResolution() const;
1a2c763c 33
f0875501
VZ
34protected:
35 wxPrinterDC(wxDCImpl *impl) : wxDC(impl) { }
36
4f37154e 37private:
1a2c763c 38 DECLARE_DYNAMIC_CLASS(wxPrinterDC)
c8ddadff
RR
39};
40
1a2c763c 41#endif // wxUSE_PRINTING_ARCHITECTURE
c8ddadff 42
1a2c763c 43#endif // _WX_DCPRINT_H_BASE_