$szTitle = "wxpostscriptdc"; include "./_header.inc"; ?>
this defines the wxwidgets encapsulated postscript device context, which can write postscript files on any platform. see wxdc for descriptions of the member functions.
derived from
include files
<wx/dcps.h>
members
wxpostscriptdc::wxpostscriptdc
wxpostscriptdc::setresolution
wxpostscriptdc::getresolution
wxpostscriptdc(const wxprintdata& printdata)
constructs a postscript printer device context from a wxprintdata object.
wxpostscriptdc(const wxstring& output, bool interactive = true,
wxwindow *parent)
constructor. output is an optional file for printing to, and if interactive is true a dialog box will be displayed for adjusting various parameters. parent is the parent of the printer dialog box.
use the ok member to test whether the constructor was successful in creating a usable device context.
see printer settings for functions to set and get postscript printing settings.
this constructor and the global printer settings are now deprecated; use the wxprintdata constructor instead.
static void setresolution(int ppi)
set resolution (in pixels per inch) that will be used in postscript output. default is 720ppi.
static int getresolution()
return resolution used in postscript output. see setresolution.
include "./_footer.inc"; ?>