]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/latex/wx/postscpt.tex
added GetForbiddenChars() and TRUE -> true (patch 757777)
[wxWidgets.git] / docs / latex / wx / postscpt.tex
... / ...
CommitLineData
1\section{\class{wxPostScriptDC}}\label{wxpostscriptdc}
2
3This defines the wxWindows Encapsulated PostScript device context,
4which can write PostScript files on any platform. See \helpref{wxDC}{wxdc} for
5descriptions of the member functions.
6
7\wxheading{Derived from}
8
9\helpref{wxDC}{wxdc}\\
10\helpref{wxObject}{wxobject}
11
12\wxheading{Include files}
13
14<wx/dcps.h>
15
16\membersection{wxPostScriptDC::wxPostScriptDC}
17
18\func{}{wxPostScriptDC}{\param{const wxPrintData\&}{ printData}}
19
20Constructs a PostScript printer device context from a \helpref{wxPrintData}{wxprintdata} object.
21
22\func{}{wxPostScriptDC}{\param{const wxString\& }{output}, \param{bool }{interactive = true},\\
23 \param{wxWindow *}{parent}}
24
25Constructor. {\it output} is an optional file for printing to, and if
26\rtfsp{\it interactive} is true a dialog box will be displayed for adjusting
27various parameters. {\it parent} is the parent of the printer dialog box.
28
29Use the {\it Ok} member to test whether the constructor was successful
30in creating a usable device context.
31
32See \helpref{Printer settings}{printersettings} for functions to set and
33get PostScript printing settings.
34
35This constructor and the global printer settings are now deprecated;
36use the wxPrintData constructor instead.
37
38
39\membersection{wxPostScriptDC::SetResolution}\label{wxpostscriptdcsetresolution}
40
41\func{static void}{SetResolution}{\param{int}{ ppi}}
42
43Set resolution (in pixels per inch) that will be used in PostScript
44output. Default is 720ppi.
45
46\membersection{wxPostScriptDC::GetResolution}\label{wxpostscriptdcgetresolution}
47
48\func{static int}{GetResolution}{\void}
49
50Return resolution used in PostScript output. See
51\helpref{SetResolution}{wxpostscriptdcsetresolution}.
52