1 \section{\class{wxPostScriptDC
}}\label{wxpostscriptdc
}
3 This defines the wxWidgets Encapsulated PostScript device context,
4 which can write PostScript files on any platform. See
\helpref{wxDC
}{wxdc
} for
5 descriptions of the member functions.
7 \wxheading{Derived from
}
10 \helpref{wxObject
}{wxobject
}
12 \wxheading{Include files
}
16 \latexignore{\rtfignore{\wxheading{Members
}}}
18 \membersection{wxPostScriptDC::wxPostScriptDC
}\label{wxpostscriptdcctor
}
20 \func{}{wxPostScriptDC
}{\param{const wxPrintData\&
}{ printData
}}
22 Constructs a PostScript printer device context from a
\helpref{wxPrintData
}{wxprintdata
} object.
24 \func{}{wxPostScriptDC
}{\param{const wxString\&
}{output
},
\param{bool
}{interactive = true
},\\
25 \param{wxWindow *
}{parent
}}
27 Constructor.
{\it output
} is an optional file for printing to, and if
28 \rtfsp{\it interactive
} is true a dialog box will be displayed for adjusting
29 various parameters.
{\it parent
} is the parent of the printer dialog box.
31 Use the
{\it Ok
} member to test whether the constructor was successful
32 in creating a usable device context.
34 See
\helpref{Printer settings
}{printersettings
} for functions to set and
35 get PostScript printing settings.
37 This constructor and the global printer settings are now deprecated;
38 use the wxPrintData constructor instead.
41 \membersection{wxPostScriptDC::SetResolution
}\label{wxpostscriptdcsetresolution
}
43 \func{static void
}{SetResolution
}{\param{int
}{ ppi
}}
45 Set resolution (in pixels per inch) that will be used in PostScript
46 output. Default is
720ppi.
48 \membersection{wxPostScriptDC::GetResolution
}\label{wxpostscriptdcgetresolution
}
50 \func{static int
}{GetResolution
}{\void}
52 Return resolution used in PostScript output. See
53 \helpref{SetResolution
}{wxpostscriptdcsetresolution
}.