1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
<HTML>
<head><title>wxPostScriptDC</title></head>
<BODY BGCOLOR=#FFFFFF>
<A NAME="wxpostscriptdc"></A><CENTER>
<A HREF="wx.htm"><img align=center src="contents.gif" BORDER=0 ALT="Contents"></A> <A HREF="wx22.htm#classref"><img align=center src="up.gif" BORDER=0 ALT="Up"></A> <A HREF="wx171.htm#wxpoint"><img align=center src="back.gif" BORDER=0 ALT="Previous"></A> <A HREF="wx173.htm#wxpreviewcanvas"><img align=center src="forward.gif" BORDER=0 ALT="Next"></A> </CENTER><HR>
<H2>wxPostScriptDC</H2>
<P>
This defines the wxWindows Encapsulated PostScript device context,
which can write PostScript files on any platform. See <A HREF="wx65.htm#wxdc">wxDC</A> for
descriptions of the member functions.<P>
<B><FONT COLOR="#FF0000">Derived from</FONT></B><P>
<A HREF="wx65.htm#wxdc">wxDC</A><BR>
<A HREF="wx158.htm#wxobject">wxObject</A><P>
<B><FONT COLOR="#FF0000">Include files</FONT></B><P>
<wx/dcps.h><P>
<A HREF="#topic653">wxPostScriptDC::wxPostScriptDC</A><BR>
<A HREF="#topic654">wxPostScriptDC::GetStream</A><BR>
<P>
<HR>
<A NAME="topic653"></A>
<H3>wxPostScriptDC::wxPostScriptDC</H3>
<P>
<B></B> <B>wxPostScriptDC</B>(<B>const wxString& </B><I>output</I>, <B>bool </B><I>interactive = TRUE</I>,<BR>
<B>wxWindow *</B><I>parent</I>)<P>
Constructor. <I>output</I> is an optional file for printing to, and if
<I>interactive</I> is TRUE a dialog box will be displayed for adjusting
various parameters. <I>parent</I> is the parent of the printer dialog box.<P>
Use the <I>Ok</I> member to test whether the constructor was successful
in creating a useable device context.<P>
See <A HREF="wx269.htm#printersettings">Printer settings</A> for functions to set and
get PostScript printing settings.<P>
<HR>
<A NAME="topic654"></A>
<H3>wxPostScriptDC::GetStream</H3>
<P>
<B>ostream *</B> <B>GetStream</B>()<P>
Returns the stream currently being used to write PostScript output. Use this
to insert any PostScript code that is outside the scope of wxPostScriptDC.<P>
</BODY></HTML>
|