]> git.saurik.com Git - wxWidgets.git/blob - interface/wx/dcps.h
Changed wxPropertyGrid default property validation failure behavior to more user...
[wxWidgets.git] / interface / wx / dcps.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: dcps.h
3 // Purpose: interface of wxPostScriptDC
4 // Author: wxWidgets team
5 // RCS-ID: $Id$
6 // Licence: wxWindows license
7 /////////////////////////////////////////////////////////////////////////////
8
9 /**
10 @class wxPostScriptDC
11
12 This defines the wxWidgets Encapsulated PostScript device context, which
13 can write PostScript files on any platform. See wxDC for descriptions of
14 the member functions.
15
16 @library{wxbase}
17 @category{dc}
18 */
19 class wxPostScriptDC : public wxDC
20 {
21 public:
22 /**
23 Constructs a PostScript printer device context from a wxPrintData object.
24 */
25 wxPostScriptDC(const wxPrintData& printData);
26
27 /**
28 Return resolution used in PostScript output.
29
30 @see SetResolution()
31 */
32 virtual int GetResolution() const;
33
34 /**
35 Set resolution (in pixels per inch) that will be used in PostScript
36 output. Default is 720ppi.
37 */
38 virtual wxRect GetPaperRect() const;
39 };
40