X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7bcb11d30764df47144189e164f53d8171ed4a63..fcf77487edae715c75f0f802a96e203d88dd56c6:/docs/latex/wx/postscpt.tex diff --git a/docs/latex/wx/postscpt.tex b/docs/latex/wx/postscpt.tex index b1bd9adda5..c901a61772 100644 --- a/docs/latex/wx/postscpt.tex +++ b/docs/latex/wx/postscpt.tex @@ -27,7 +27,7 @@ Constructor. {\it output} is an optional file for printing to, and if various parameters. {\it parent} is the parent of the printer dialog box. Use the {\it Ok} member to test whether the constructor was successful -in creating a useable device context. +in creating a usable device context. See \helpref{Printer settings}{printersettings} for functions to set and get PostScript printing settings. @@ -35,11 +35,18 @@ get PostScript printing settings. This constructor and the global printer settings are now deprecated; use the wxPrintData constructor instead. -\membersection{wxPostScriptDC::GetStream} -\func{ostream *}{GetStream}{\void} +\membersection{wxPostScriptDC::SetResolution}\label{wxpostscriptdcsetresolution} -Returns the stream currently being used to write PostScript output. Use this -to insert any PostScript code that is outside the scope of wxPostScriptDC. +\func{static void}{SetResolution}{\param{int}{ ppi}} +Set resolution (in pixels per inch) that will be used in PostScript +output. Default is 720ppi. + +\membersection{wxPostScriptDC::GetResolution}\label{wxpostscriptdcgetresolution} + +\func{static int}{GetResolution}{\void} + +Return resolution used in PostScript output. See +\helpref{SetResolution}{wxpostscriptdcsetresolution}.