]> git.saurik.com Git - wxWidgets.git/blame - interface/wx/dcps.h
Fix a parameter type and add some missing const keywords
[wxWidgets.git] / interface / wx / dcps.h
CommitLineData
23324ae1
FM
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcps.h
e54c96f1 3// Purpose: interface of wxPostScriptDC
23324ae1
FM
4// Author: wxWidgets team
5// RCS-ID: $Id$
526954c5 6// Licence: wxWindows licence
23324ae1
FM
7/////////////////////////////////////////////////////////////////////////////
8
9/**
10 @class wxPostScriptDC
7c913512 11
3a7fb603
BP
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.
7c913512 15
23324ae1
FM
16 @library{wxbase}
17 @category{dc}
18*/
19class wxPostScriptDC : public wxDC
20{
21public:
3a7fb603 22 /**
f910f4d5 23 Constructs a PostScript printer device context from a wxPrintData object.
3a7fb603
BP
24 */
25 wxPostScriptDC(const wxPrintData& printData);
f910f4d5 26
23324ae1 27 /**
3a7fb603
BP
28 Return resolution used in PostScript output.
29
30 @see SetResolution()
23324ae1 31 */
57bf907d 32 virtual int GetResolution() const;
23324ae1
FM
33
34 /**
35 Set resolution (in pixels per inch) that will be used in PostScript
36 output. Default is 720ppi.
37 */
57bf907d 38 virtual wxRect GetPaperRect() const;
23324ae1
FM
39};
40