]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/postscpt.tex
Sorry, I went and removed consts as per the style guide :-)
[wxWidgets.git] / docs / latex / wx / postscpt.tex
CommitLineData
a660d684
KB
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\membersection{wxPostScriptDC::wxPostScriptDC}
13
14\func{}{wxPostScriptDC}{\param{const wxString\& }{output}, \param{bool }{interactive = TRUE},\\
15 \param{wxWindow *}{parent}}
16
17Constructor. {\it output} is an optional file for printing to, and if
18\rtfsp{\it interactive} is TRUE a dialog box will be displayed for adjusting
19various parameters. {\it parent} is the parent of the printer dialog box.
20
21Use the {\it Ok} member to test whether the constructor was successful
22in creating a useable device context.
23
24See \helpref{Printer settings}{printersettings} for functions to set and
25get PostScript printing settings.
26
27\membersection{wxPostScriptDC::GetStream}
28
29\func{ostream *}{GetStream}{\void}
30
31Returns the stream currently being used to write PostScript output. Use this
32to insert any PostScript code that is outside the scope of wxPostScriptDC.
33
34