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