]>
Commit | Line | Data |
---|---|---|
23324ae1 FM |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: dcps.h | |
e54c96f1 | 3 | // Purpose: interface of wxPostScriptDC |
23324ae1 FM |
4 | // Author: wxWidgets team |
5 | // RCS-ID: $Id$ | |
6 | // Licence: wxWindows license | |
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 | */ | |
19 | class wxPostScriptDC : public wxDC | |
20 | { | |
21 | public: | |
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 | */ |
4ccf0566 | 32 | static 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 | */ | |
38 | static void SetResolution(int ppi); | |
39 | }; | |
40 |