1
<html><head><TITLE>PSGrafport</TITLE></head>
3
<H2><A HREF ="#DOC.DOCU" > <IMG BORDER=0 SRC=down.gif></A> class PSGrafport : public <!2><A HREF="Grafport.html#DOC.193.1">Grafport</A> </H2><BLOCKQUOTE>
4
PostScript(tm) grafport class.
8
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
9
<param name=classes value="CGrafport,MGrafport.html,CPSGrafport,MPSGrafport.html">
10
<param name=before value="M,M">
11
<param name=after value="Md_,M">
12
<param name=indent value="0,1">
13
<param name=arrowdir value="down">
19
<DT><h3>Public Fields</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.261.54"> <IMG BORDER=0 SRC=icon1.gif></A> static const char </TD><TD><B>BANNER</B> []<br>
20
<I> postscript file containing front page for printer.</I>
21
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.55"> <IMG BORDER=0 SRC=icon1.gif></A> static const double </TD><TD><B>XOFF</B> <br>
23
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.56"> <IMG BORDER=0 SRC=icon1.gif></A> static const double </TD><TD><B>YOFF</B> <br>
25
</TD></TR></TABLE><TABLE>
26
<DT><h3>Public Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.261.1"> <IMG BORDER=0 SRC=icon1.gif></A> </TD><TD><B>PSGrafport</B> (const char *fileName)<br>
27
<I> open grafport to filename, When filename = "", stdout is used.</I>
28
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.2"> <IMG BORDER=0 SRC=icon1.gif></A> virtual </TD><TD><B>~PSGrafport</B> ()<br>
30
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.3"> <IMG BORDER=0 SRC=icon1.gif></A> bool </TD><TD><B>IsSucces</B> ()<br>
32
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.4"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>ClearArea</B> (int, int, int, int)<br>
34
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.5"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetLineWidth</B> (unsigned n)<br>
36
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.6"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetBackgroundColor</B> (const <!1><A HREF="string.html">string</A> *)<br>
38
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.7"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetBackgroundColor</B> (const char *)<br>
40
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.8"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetForegroundColor</B> (const <!1><A HREF="string.html">string</A> *)<br>
42
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.9"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetForegroundColor</B> (const char *)<br>
44
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.10"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawRectangle</B> (int x, int y, int wd, int ht)<br>
46
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.11"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>FillRectangle</B> (int x, int y, int wd, int ht)<br>
48
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.12"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawRoundedRectangle</B> (int x, int y, int wd, int ht, int rd)<br>
50
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.13"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>FillRoundedRectangle</B> (int x, int y, int wd, int ht, int rd)<br>
52
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.14"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawEllipsedRectangle</B> (int x, int y, int wd, int ht, int rd)<br>
54
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.15"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>FillEllipsedRectangle</B> (int x, int y, int wd, int ht, int rd)<br>
56
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.16"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawDisk</B> (int x, int y, int wd, int ht, int ellipse_ht)<br>
58
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.17"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>FillDisk</B> (int x, int y, int wd, int ht, int ellipse_ht)<br>
60
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.18"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawUnzoomedRectangle</B> (int x, int y, int wd, int ht)<br>
62
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.19"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawStringLeft</B> (int x, int y, const char *str)<br>
64
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.20"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawStringCentered</B> (int x, int y, const char *str)<br>
66
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.21"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawStringRight</B> (int x, int y, const char *str)<br>
68
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.22"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawUnzoomedStringLeft</B> (int x, int y, const char *str)<br>
70
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.23"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawUnzoomedStringCentered</B> (int x, int y, const char *str)<br>
72
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.24"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawStringLeftUnderlined</B> (int x, int y, const char *str)<br>
74
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.25"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawStringRightUnderlined</B> (int x, int y, const char *str)<br>
76
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.26"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawStringCenteredUnderlined</B> (int x, int y, const char *str)<br>
78
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.27"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawLine</B> (int x1, int y1, int x2, int y2)<br>
80
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.28"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawLine</B> (const <!1><A HREF="Point.html">Point</A> *p1, const <!1><A HREF="Point.html">Point</A> *p2)<br>
82
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.29"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawCurve</B> (const <!1><A HREF="Point.html">Point</A> *p1, const <!1><A HREF="Point.html">Point</A> *p2, const <!1><A HREF="Point.html">Point</A> *p3, const <!1><A HREF="Point.html">Point</A> *p4)<br>
84
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.30"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawUnzoomedLine</B> (int x1, int y1, int x2, int y2)<br>
86
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.31"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawPoint</B> (int x, int y)<br>
88
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.32"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawPoint</B> (const <!1><A HREF="Point.html">Point</A> *p)<br>
90
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.33"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawEllipse</B> (int x, int y, int wd, int ht)<br>
92
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.34"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>FillEllipse</B> (int x, int y, int wd, int ht)<br>
94
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.35"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawArc</B> (int x, int y, int wd, int ht, int arc1, int arc2)<br>
96
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.36"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>FillArc</B> (int x, int y, int wd, int ht, int arc1, int arc2)<br>
98
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.37"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawPolygon</B> (const <!1><A HREF="Point.html">Point</A> *points, int n)<br>
100
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.38"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>FillPolygon</B> (const <!1><A HREF="Point.html">Point</A> *points, int n)<br>
102
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.39"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Header</B> (const char *title, const char *creator)<br>
103
<I> generate postscript header.</I>
104
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.40"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>BeginDrawProc</B> ()<br>
106
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.41"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>EndDrawProc</B> ()<br>
108
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.42"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>CallDrawProc</B> ()<br>
110
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.43"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Banner</B> (const char *title)<br>
111
<I> concat banner from file with name of document.</I>
112
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.44"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>BeginPage</B> (int i, int j, int nx, int tot)<br>
114
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.45"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>EndPage</B> ()<br>
116
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.46"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>Trailer</B> ()<br>
117
<I> generate postscript trailer.</I>
118
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.47"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetFont</B> (<!1><A HREF="XFont.html">XFont</A> *<!2><A HREF="Grafport.html#DOC.193.82">font</A>)<br>
119
<I> set grafport font.</I>
120
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.48"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>EPSHeader</B> (const char *title, const char *creator, int llx, int lly, int urx, int ury)<br>
121
<I> header for encapsulated postscript + bounding box</I>
122
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.49"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>EPSProlog</B> (int y, int dy)<br>
124
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.50"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetPageSize</B> (double x, double y)<br>
126
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.51"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetFactor</B> (double f)<br>
128
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.52"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetISOLatin1Encoding</B> (bool b)<br>
130
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.53"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>SetShowColors</B> (bool b)<br>
132
</TD></TR></TABLE><TABLE>
133
<DT><h3>Protected Methods</h3><DD><TR><TD VALIGN=top><A HREF="#DOC.261.57"> <IMG BORDER=0 SRC=icon1.gif></A> static void </TD><TD><B>MakePSString</B> (<!1><A HREF="string.html">string</A> *str)<br>
135
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.58"> <IMG BORDER=0 SRC=icon1.gif></A> static void </TD><TD><B>FixEscapeChar</B> (<!1><A HREF="string.html">string</A> *str, char c)<br>
137
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.59"> <IMG BORDER=0 SRC=icon1.gif></A> static void </TD><TD><B>FixNonAscii</B> (<!1><A HREF="string.html">string</A> *str)<br>
139
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.60"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>FontProlog</B> ()<br>
141
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.61"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>InstallIsoLatin1Font</B> (const char *psFont)<br>
143
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.62"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>PageSetup</B> ()<br>
145
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.63"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawPSRectangle</B> (int x, int y, int wd, int ht)<br>
147
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.64"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawPSRoundedRectangle</B> (int x, int y, int wd, int ht, int rd)<br>
149
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.65"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawPSEllipsedRectangle</B> (int x, int y, int wd, int ht, int rd)<br>
151
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.66"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawPSArc</B> (int x, int y, int wd, int ht, int ang1, int ang2)<br>
153
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.67"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawPSEllipse</B> (int x, int y, int wd, int ht)<br>
155
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.68"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawPSDisk</B> (int x, int y, int wd, int ht, int ellipse_ht)<br>
157
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.69"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawPSLine</B> (int x1, int y1, int x2, int y2)<br>
159
</TD></TR><TR><TD VALIGN=top><A HREF="#DOC.261.70"> <IMG BORDER=0 SRC=icon1.gif></A> void </TD><TD><B>DrawPSPolygon</B> (const <!1><A HREF="Point.html">Point</A> *point, int nrPoints)<br>
161
</TD></TR></TABLE></DL>
162
<hr><H3>Inherited from <A HREF="Grafport.html">Grafport:</A></h3>
166
<DT><h3>Public Methods</h3><DD><DT><IMG SRC=icon2.gif> virtual bool <B>DrawsXor</B>()
167
<DT><IMG SRC=icon2.gif> virtual void <B>UpdateSize</B>(int, int)
168
<DT><IMG SRC=icon2.gif> virtual int <B>GetWidth</B>()
169
<DT><IMG SRC=icon2.gif> virtual int <B>GetHeight</B>()
170
<DT><IMG SRC=icon2.gif> virtual void <B>Redraw</B>(int, int, int, int, int, int)
171
<DT><IMG SRC=icon2.gif> <!1><A HREF="XFont.html">XFont</A>* <B>GetFont</B>()
172
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetBackgroundColor</B>()
173
<DT><IMG SRC=icon2.gif> const <!1><A HREF="string.html">string</A>* <B>GetForegroundColor</B>()
174
<DT><IMG SRC=icon2.gif> <!1><A HREF="List.html">List</A> <<!1><A HREF="Color.html">Color</A> *> * <B>GetColors</B>()
175
<DT><IMG SRC=icon2.gif> void <B>SetLineStyle</B>(<!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> s)
176
<DT><IMG SRC=icon2.gif> <!2><A HREF="LineStyle.html#DOC.213.1">LineStyle::Type</A> <B>GetLineStyle</B>()
177
<DT><IMG SRC=icon2.gif> void <B>SetFillStyle</B>(<!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> s)
178
<DT><IMG SRC=icon2.gif> <!2><A HREF="FillStyle.html#DOC.176.1">FillStyle::Type</A> <B>GetFillStyle</B>()
179
<DT><IMG SRC=icon2.gif> unsigned <B>GetLineWidth</B>()
180
<DT><IMG SRC=icon2.gif> void <B>SetZoomValue</B>(double newValue)
181
<DT><IMG SRC=icon2.gif> double <B>GetZoomValue</B>()
182
<DT><IMG SRC=icon2.gif> int <B>Zoom</B>(int x)
183
<DT><IMG SRC=icon2.gif> int <B>ZoomCorrect</B>(int x)
184
<DT><IMG SRC=icon2.gif> void <B>DrawRectangles</B>(const <!1><A HREF="Rectangle.html">Rectangle</A> *rects, int n)
185
<DT><IMG SRC=icon2.gif> void <B>FillRectangles</B>(const <!1><A HREF="Rectangle.html">Rectangle</A> *rects, int n)
186
<DT><IMG SRC=icon2.gif> virtual void <B>DrawEditDashedRectangle</B>(int, int, int, int)
187
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A> <B>DrawStringsCentered</B>(int x, int y, const <!1><A HREF="string.html">string</A> *str, bool ul, int cursor=0)
188
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A> <B>DrawStringsLeft</B>( int topLeftx, int topLefty, const <!1><A HREF="string.html">string</A> *str, bool ul, int cursor=0)
189
<DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A> <B>DrawStringsRight</B>( int topRightx, int topRighty, const <!1><A HREF="string.html">string</A> *str, bool ul, int cursor=0)
190
<DT><IMG SRC=icon2.gif> unsigned <B>CursorPosition</B>( int x, int y, const <!1><A HREF="string.html">string</A> *str, int hitX, int hitY)
191
<DT><IMG SRC=icon2.gif> virtual void <B>DrawEditLine</B>(int, int, int, int)
192
<DT><IMG SRC=icon2.gif> virtual void <B>DrawEditLine</B>(const <!1><A HREF="Point.html">Point</A> *, const <!1><A HREF="Point.html">Point</A> *)
193
<DT><IMG SRC=icon2.gif> virtual void <B>DrawEditDottedGridLine</B>(int, int, int, int)
194
<DT><IMG SRC=icon2.gif> virtual void <B>DrawEditDottedLine</B>(int, int, int, int)
195
<DT><IMG SRC=icon2.gif> virtual void <B>DrawEditPoint</B>(int, int)
196
<DT><IMG SRC=icon2.gif> virtual void <B>DrawEditPoint</B>(const <!1><A HREF="Point.html">Point</A> *)
197
<DT><IMG SRC=icon2.gif> virtual void <B>DrawActiveCaret</B>(int, int)
198
<DT><IMG SRC=icon2.gif> virtual void <B>DrawDeactiveCaret</B>(int, int)
200
<DT><h3>Public</h3><DD><DT><IMG SRC=icon2.gif> <B></B>
201
<DT><IMG SRC=icon2.gif> <B></B>
203
<DT><h3>Protected Methods</h3><DD><DT><IMG SRC=icon2.gif> <!1><A HREF="Point.html">Point</A> <B>CursorPosition</B>(int x, int y, const <!1><A HREF="string.html">string</A> *<!2><A HREF="Grafport.html#DOC.193.90">buf</A>, int cursor)
204
<DT><IMG SRC=icon2.gif> <!1><A HREF="Color.html">Color</A>* <B>LookupColor</B>(const <!1><A HREF="string.html">string</A> *colorName)
205
<DT><IMG SRC=icon2.gif> <!1><A HREF="Color.html">Color</A>* <B>LookupColor</B>(const char *colorName)
206
<DT><IMG SRC=icon2.gif> void <B>AddColor</B>(const <!1><A HREF="string.html">string</A> *colorName, unsigned long pixel)
207
<DT><IMG SRC=icon2.gif> void <B>AddColor</B>(const char *colorName, unsigned long pixel)
208
<DT><IMG SRC=icon2.gif> void <B>AddColor</B>(<!1><A HREF="Color.html">Color</A> *c)
209
<DT><IMG SRC=icon2.gif> virtual void <B>InitColors</B>()
210
<DT><IMG SRC=icon2.gif> void <B>RecalcPolygon</B>(const <!1><A HREF="Point.html">Point</A> *points, int nrPoints, <!1><A HREF="Point.html">Point</A> *newPoints, int d)
214
<h2> Documentation </h2>
216
PostScript(tm) grafport class.
221
<A NAME="PSGrafport">
222
<A NAME ="DOC.261.1">
223
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> PSGrafport(const char *fileName)</B></TT>
224
<DD> open grafport to filename, When filename = "", stdout is used.
226
<A NAME="~PSGrafport">
227
<A NAME ="DOC.261.2">
228
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> virtual ~PSGrafport()</B></TT>
231
<A NAME ="DOC.261.3">
232
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> bool IsSucces()</B></TT>
235
<A NAME ="DOC.261.4">
236
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void ClearArea(int, int, int, int)</B></TT>
238
<A NAME="SetLineWidth">
239
<A NAME ="DOC.261.5">
240
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetLineWidth(unsigned n)</B></TT>
242
<A NAME="SetBackgroundColor">
243
<A NAME ="DOC.261.6">
244
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetBackgroundColor(const <!1><A HREF="string.html">string</A> *)</B></TT>
246
<A NAME="SetBackgroundColor">
247
<A NAME ="DOC.261.7">
248
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetBackgroundColor(const char *)</B></TT>
250
<A NAME="SetForegroundColor">
251
<A NAME ="DOC.261.8">
252
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetForegroundColor(const <!1><A HREF="string.html">string</A> *)</B></TT>
254
<A NAME="SetForegroundColor">
255
<A NAME ="DOC.261.9">
256
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetForegroundColor(const char *)</B></TT>
258
<A NAME="DrawRectangle">
259
<A NAME ="DOC.261.10">
260
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawRectangle(int x, int y, int wd, int ht)</B></TT>
262
<A NAME="FillRectangle">
263
<A NAME ="DOC.261.11">
264
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void FillRectangle(int x, int y, int wd, int ht)</B></TT>
266
<A NAME="DrawRoundedRectangle">
267
<A NAME ="DOC.261.12">
268
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawRoundedRectangle(int x, int y, int wd, int ht, int rd)</B></TT>
270
<A NAME="FillRoundedRectangle">
271
<A NAME ="DOC.261.13">
272
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void FillRoundedRectangle(int x, int y, int wd, int ht, int rd)</B></TT>
274
<A NAME="DrawEllipsedRectangle">
275
<A NAME ="DOC.261.14">
276
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawEllipsedRectangle(int x, int y, int wd, int ht, int rd)</B></TT>
278
<A NAME="FillEllipsedRectangle">
279
<A NAME ="DOC.261.15">
280
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void FillEllipsedRectangle(int x, int y, int wd, int ht, int rd)</B></TT>
283
<A NAME ="DOC.261.16">
284
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawDisk(int x, int y, int wd, int ht, int ellipse_ht)</B></TT>
287
<A NAME ="DOC.261.17">
288
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void FillDisk(int x, int y, int wd, int ht, int ellipse_ht)</B></TT>
290
<A NAME="DrawUnzoomedRectangle">
291
<A NAME ="DOC.261.18">
292
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawUnzoomedRectangle(int x, int y, int wd, int ht)</B></TT>
294
<A NAME="DrawStringLeft">
295
<A NAME ="DOC.261.19">
296
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawStringLeft(int x, int y, const char *str)</B></TT>
298
<A NAME="DrawStringCentered">
299
<A NAME ="DOC.261.20">
300
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawStringCentered(int x, int y, const char *str)</B></TT>
302
<A NAME="DrawStringRight">
303
<A NAME ="DOC.261.21">
304
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawStringRight(int x, int y, const char *str)</B></TT>
306
<A NAME="DrawUnzoomedStringLeft">
307
<A NAME ="DOC.261.22">
308
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawUnzoomedStringLeft(int x, int y, const char *str)</B></TT>
310
<A NAME="DrawUnzoomedStringCentered">
311
<A NAME ="DOC.261.23">
312
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawUnzoomedStringCentered(int x, int y, const char *str)</B></TT>
314
<A NAME="DrawStringLeftUnderlined">
315
<A NAME ="DOC.261.24">
316
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawStringLeftUnderlined(int x, int y, const char *str)</B></TT>
318
<A NAME="DrawStringRightUnderlined">
319
<A NAME ="DOC.261.25">
320
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawStringRightUnderlined(int x, int y, const char *str)</B></TT>
322
<A NAME="DrawStringCenteredUnderlined">
323
<A NAME ="DOC.261.26">
324
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawStringCenteredUnderlined(int x, int y, const char *str)</B></TT>
327
<A NAME ="DOC.261.27">
328
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawLine(int x1, int y1, int x2, int y2)</B></TT>
331
<A NAME ="DOC.261.28">
332
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawLine(const <!1><A HREF="Point.html">Point</A> *p1, const <!1><A HREF="Point.html">Point</A> *p2)</B></TT>
335
<A NAME ="DOC.261.29">
336
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawCurve(const <!1><A HREF="Point.html">Point</A> *p1, const <!1><A HREF="Point.html">Point</A> *p2, const <!1><A HREF="Point.html">Point</A> *p3, const <!1><A HREF="Point.html">Point</A> *p4)</B></TT>
338
<A NAME="DrawUnzoomedLine">
339
<A NAME ="DOC.261.30">
340
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawUnzoomedLine(int x1, int y1, int x2, int y2)</B></TT>
343
<A NAME ="DOC.261.31">
344
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawPoint(int x, int y)</B></TT>
347
<A NAME ="DOC.261.32">
348
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawPoint(const <!1><A HREF="Point.html">Point</A> *p)</B></TT>
350
<A NAME="DrawEllipse">
351
<A NAME ="DOC.261.33">
352
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawEllipse(int x, int y, int wd, int ht)</B></TT>
354
<A NAME="FillEllipse">
355
<A NAME ="DOC.261.34">
356
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void FillEllipse(int x, int y, int wd, int ht)</B></TT>
359
<A NAME ="DOC.261.35">
360
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawArc(int x, int y, int wd, int ht, int arc1, int arc2)</B></TT>
363
<A NAME ="DOC.261.36">
364
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void FillArc(int x, int y, int wd, int ht, int arc1, int arc2)</B></TT>
366
<A NAME="DrawPolygon">
367
<A NAME ="DOC.261.37">
368
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawPolygon(const <!1><A HREF="Point.html">Point</A> *points, int n)</B></TT>
370
<A NAME="FillPolygon">
371
<A NAME ="DOC.261.38">
372
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void FillPolygon(const <!1><A HREF="Point.html">Point</A> *points, int n)</B></TT>
375
<A NAME ="DOC.261.39">
376
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void Header(const char *title, const char *creator)</B></TT>
377
<DD> generate postscript header.
379
<A NAME="BeginDrawProc">
380
<A NAME ="DOC.261.40">
381
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void BeginDrawProc()</B></TT>
383
<A NAME="EndDrawProc">
384
<A NAME ="DOC.261.41">
385
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void EndDrawProc()</B></TT>
387
<A NAME="CallDrawProc">
388
<A NAME ="DOC.261.42">
389
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void CallDrawProc()</B></TT>
392
<A NAME ="DOC.261.43">
393
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void Banner(const char *title)</B></TT>
394
<DD> concat banner from file with name of document.
397
<A NAME ="DOC.261.44">
398
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void BeginPage(int i, int j, int nx, int tot)</B></TT>
401
<A NAME ="DOC.261.45">
402
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void EndPage()</B></TT>
405
<A NAME ="DOC.261.46">
406
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void Trailer()</B></TT>
407
<DD> generate postscript trailer.
410
<A NAME ="DOC.261.47">
411
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetFont(<!1><A HREF="XFont.html">XFont</A> *<!2><A HREF="Grafport.html#DOC.193.82">font</A>)</B></TT>
412
<DD> set grafport font.
415
<A NAME ="DOC.261.48">
416
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void EPSHeader(const char *title, const char *creator, int llx, int lly, int urx, int ury)</B></TT>
417
<DD> header for encapsulated postscript + bounding box
420
<A NAME ="DOC.261.49">
421
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void EPSProlog(int y, int dy)</B></TT>
423
<A NAME="SetPageSize">
424
<A NAME ="DOC.261.50">
425
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetPageSize(double x, double y)</B></TT>
428
<A NAME ="DOC.261.51">
429
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetFactor(double f)</B></TT>
431
<A NAME="SetISOLatin1Encoding">
432
<A NAME ="DOC.261.52">
433
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetISOLatin1Encoding(bool b)</B></TT>
435
<A NAME="SetShowColors">
436
<A NAME ="DOC.261.53">
437
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void SetShowColors(bool b)</B></TT>
440
<A NAME ="DOC.261.54">
441
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static const char BANNER[]</B></TT>
442
<DD> postscript file containing front page for printer.
445
<A NAME ="DOC.261.55">
446
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static const double XOFF</B></TT>
449
<A NAME ="DOC.261.56">
450
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static const double YOFF</B></TT>
452
<A NAME="MakePSString">
453
<A NAME ="DOC.261.57">
454
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static void MakePSString(<!1><A HREF="string.html">string</A> *str)</B></TT>
456
<A NAME="FixEscapeChar">
457
<A NAME ="DOC.261.58">
458
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static void FixEscapeChar(<!1><A HREF="string.html">string</A> *str, char c)</B></TT>
460
<A NAME="FixNonAscii">
461
<A NAME ="DOC.261.59">
462
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> static void FixNonAscii(<!1><A HREF="string.html">string</A> *str)</B></TT>
464
<A NAME="FontProlog">
465
<A NAME ="DOC.261.60">
466
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void FontProlog()</B></TT>
468
<A NAME="InstallIsoLatin1Font">
469
<A NAME ="DOC.261.61">
470
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void InstallIsoLatin1Font(const char *psFont)</B></TT>
473
<A NAME ="DOC.261.62">
474
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void PageSetup()</B></TT>
476
<A NAME="DrawPSRectangle">
477
<A NAME ="DOC.261.63">
478
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawPSRectangle(int x, int y, int wd, int ht)</B></TT>
480
<A NAME="DrawPSRoundedRectangle">
481
<A NAME ="DOC.261.64">
482
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawPSRoundedRectangle(int x, int y, int wd, int ht, int rd)</B></TT>
484
<A NAME="DrawPSEllipsedRectangle">
485
<A NAME ="DOC.261.65">
486
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawPSEllipsedRectangle(int x, int y, int wd, int ht, int rd)</B></TT>
489
<A NAME ="DOC.261.66">
490
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawPSArc(int x, int y, int wd, int ht, int ang1, int ang2)</B></TT>
492
<A NAME="DrawPSEllipse">
493
<A NAME ="DOC.261.67">
494
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawPSEllipse(int x, int y, int wd, int ht)</B></TT>
496
<A NAME="DrawPSDisk">
497
<A NAME ="DOC.261.68">
498
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawPSDisk(int x, int y, int wd, int ht, int ellipse_ht)</B></TT>
500
<A NAME="DrawPSLine">
501
<A NAME ="DOC.261.69">
502
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawPSLine(int x1, int y1, int x2, int y2)</B></TT>
504
<A NAME="DrawPSPolygon">
505
<A NAME ="DOC.261.70">
506
<DT><IMG BORDER=0 SRC=icon2.gif><TT><B> void DrawPSPolygon(const <!1><A HREF="Point.html">Point</A> *point, int nrPoints)</B></TT>
509
<DL><DT><B>This class has no child classes.</B></DL>
510
<DL></DL><P><I><A HREF="aindex.html"> alphabetic index</A></I> <I><A HREF="HIER.html"> hierarchy of classes</A></I><P><hr>
511
<A HREF="http://www.zib.de/Visual/software/doc++/index.html"><IMG BORDER=0 ALIGN=RIGHT SRC=logo.gif></A>
512
<P Align=Center><I>this page has been generated automatically by doc++</I>
513
<P Align=Center><I>(c)opyright by <A HREF="http://www.zib.de/zoeckler/"> Malte Zöckler</A>, <A HREF="mailto:wunderling@zib.de"> Roland Wunderling </A><br>contact: <A HREF="mailto:doc++@zib.de"> doc++@zib.de</a></I>