1 \section{\class{wxPostScriptDC
}}\label{wxpostscriptdc
}
3 This defines the wxWindows 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 \membersection{wxPostScriptDC::wxPostScriptDC
}
18 \func{}{wxPostScriptDC
}{\param{const wxPrintData\&
}{ printData
}}
20 Constructs a PostScript printer device context from a
\helpref{wxPrintData
}{wxprintdata
} object.
22 \func{}{wxPostScriptDC
}{\param{const wxString\&
}{output
},
\param{bool
}{interactive = TRUE
},\\
23 \param{wxWindow *
}{parent
}}
25 Constructor.
{\it output
} is an optional file for printing to, and if
26 \rtfsp{\it interactive
} is TRUE a dialog box will be displayed for adjusting
27 various parameters.
{\it parent
} is the parent of the printer dialog box.
29 Use the
{\it Ok
} member to test whether the constructor was successful
30 in creating a useable device context.
32 See
\helpref{Printer settings
}{printersettings
} for functions to set and
33 get PostScript printing settings.
35 This constructor and the global printer settings are now deprecated;
36 use the wxPrintData constructor instead.
39 \membersection{wxPostScriptDC::SetResolution
}\label{wxpostscriptdcsetresolution
}
41 \func{static void
}{SetResolution
}{\param{int
}{ ppi
}}
43 Set resolution (in pixels per inch) that will be used in PostScript
44 output. Default is
720ppi.
46 \membersection{wxPostScriptDC::GetResolution
}\label{wxpostscriptdcgetresolution
}
48 \func{static int
}{GetResolution
}{\void}
50 Return resolution used in PostScript output. See
51 \helpref{SetResolution
}{wxpostscriptdcsetresolution
}.