~ubuntu-branches/ubuntu/precise/ipe/precise

« back to all changes in this revision

Viewing changes to doc/class_ipe_painter.html

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2004-06-08 00:44:02 UTC
  • Revision ID: james.westby@ubuntu.com-20040608004402-72yu51xlh7vt6p9m
Tags: upstream-6.0pre16
ImportĀ upstreamĀ versionĀ 6.0pre16

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
 
3
<title>Ipelib: IpePainter class Reference</title>
 
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
 
5
</head><body>
 
6
<!-- Generated by Doxygen 1.3.4 -->
 
7
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a></div>
 
8
<h1>IpePainter Class Reference<br>
 
9
<small>
 
10
[<a class="el" href="group__base.html">Ipe Base</a>]</small>
 
11
</h1>Interface for drawing.  
 
12
<a href="#_details">More...</a>
 
13
<p>
 
14
Inherited by IpeBBoxPainter.
 
15
<p>
 
16
<a href="class_ipe_painter-members.html">List of all members.</a><h2>Public Member Functions</h2>
 
17
<ul>
 
18
<li><a class="el" href="class_ipe_painter.html#a0">IpePainter</a> (const  <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> *style)
 
19
<li>virtual <a class="el" href="class_ipe_painter.html#a1">~IpePainter</a> ()
 
20
<li>virtual void <a class="el" href="class_ipe_painter.html#a2">Transform</a> (const  <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &amp;m)
 
21
<li>virtual void <a class="el" href="class_ipe_painter.html#a3">Untransform</a> (bool diret)
 
22
<li>virtual void <a class="el" href="class_ipe_painter.html#a4">Translate</a> (const  <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;v)
 
23
<li>virtual void <a class="el" href="class_ipe_painter.html#a5">BeginPath</a> (const  <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;v)
 
24
<li>virtual void <a class="el" href="class_ipe_painter.html#a6">BeginClosedPath</a> (const  <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;v)
 
25
<li>virtual void <a class="el" href="class_ipe_painter.html#a7">LineTo</a> (const  <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;v)
 
26
<li>virtual void <a class="el" href="class_ipe_painter.html#a8">CurveTo</a> (const  <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;v1, const  <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;v2, const  <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;v3)
 
27
<li>void <a class="el" href="class_ipe_painter.html#a9">CurveTo</a> (const  <a class="el" href="class_ipe_bezier.html">IpeBezier</a> &amp;bezier)
 
28
<li>virtual void <a class="el" href="class_ipe_painter.html#a10">Rect</a> (const  <a class="el" href="class_ipe_rect.html">IpeRect</a> &amp;re)
 
29
<li>virtual void <a class="el" href="class_ipe_painter.html#a11">EndPath</a> ()
 
30
<li>virtual void <a class="el" href="class_ipe_painter.html#a12">EndClosedPath</a> ()
 
31
<li>virtual void <a class="el" href="class_ipe_painter.html#a13">Push</a> ()
 
32
<li>virtual void <a class="el" href="class_ipe_painter.html#a14">Pop</a> ()
 
33
<li>virtual void <a class="el" href="class_ipe_painter.html#a15">DrawPath</a> ()
 
34
<li>virtual void <a class="el" href="class_ipe_painter.html#a16">DrawBitmap</a> (<a class="el" href="class_ipe_bitmap.html">IpeBitmap</a> bitmap)
 
35
<li>virtual void <a class="el" href="class_ipe_painter.html#a17">DrawText</a> (const  <a class="el" href="class_ipe_text.html">IpeText</a> *text)
 
36
<li>void <a class="el" href="class_ipe_painter.html#a18">DrawEllipse</a> ()
 
37
<li>void <a class="el" href="class_ipe_painter.html#a19">DrawArc</a> (double alpha)
 
38
<li>void <a class="el" href="class_ipe_painter.html#a20">SetStroke</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> color)
 
39
<li>void <a class="el" href="class_ipe_painter.html#a21">SetFill</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> color)
 
40
<li>void <a class="el" href="class_ipe_painter.html#a22">SetLineWidth</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> wid)
 
41
<li>void <a class="el" href="class_ipe_painter.html#a23">SetDashStyle</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> dash)
 
42
<li>void <a class="el" href="class_ipe_painter.html#a24">SetLineCap</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> cap)
 
43
<li>void <a class="el" href="class_ipe_painter.html#a25">SetLineJoin</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> join)
 
44
<li>void <a class="el" href="class_ipe_painter.html#a26">SetWindRule</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> rule)
 
45
<li>void <a class="el" href="class_ipe_painter.html#a27">SetTextSize</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> size)
 
46
<li>void <a class="el" href="class_ipe_painter.html#a28">SetMarkSize</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> size)
 
47
<li>void <a class="el" href="class_ipe_painter.html#a29">SetMarkShape</a> (int shape)
 
48
<li>const  <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> * <a class="el" href="class_ipe_painter.html#a30">StyleSheet</a> () const 
 
49
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_painter.html#a31">Stroke</a> () const 
 
50
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_painter.html#a32">Fill</a> () const 
 
51
<li>const  <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &amp; <a class="el" href="class_ipe_painter.html#a33">Matrix</a> () const 
 
52
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_painter.html#a34">LineWidth</a> () const 
 
53
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_painter.html#a35">DashStyle</a> () const 
 
54
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_painter.html#a36">LineCap</a> () const 
 
55
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_painter.html#a37">LineJoin</a> () const 
 
56
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_painter.html#a38">WindRule</a> () const 
 
57
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_painter.html#a39">TextSize</a> () const 
 
58
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_painter.html#a40">MarkSize</a> () const 
 
59
<li>int <a class="el" href="class_ipe_painter.html#a41">MarkShape</a> () const 
 
60
<li>const  <a class="el" href="class_ipe_repository.html">IpeRepository</a> * <a class="el" href="class_ipe_painter.html#a42">Repository</a> () const 
 
61
</ul>
 
62
<h2>Protected Types</h2>
 
63
<ul>
 
64
<li><a class="anchor" name="x0" doxytag="IpePainter::StateSeq" ></a>
 
65
typedef std::list&lt; State &gt; <b>StateSeq</b>
 
66
</ul>
 
67
<h2>Protected Attributes</h2>
 
68
<ul>
 
69
<li><a class="anchor" name="p0" doxytag="IpePainter::iState" ></a>
 
70
StateSeq <b>iState</b>
 
71
<li><a class="anchor" name="p1" doxytag="IpePainter::iStyleSheet" ></a>
 
72
const  <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> * <b>iStyleSheet</b>
 
73
</ul>
 
74
<hr><a name="_details"></a><h2>Detailed Description</h2>
 
75
Interface for drawing. 
 
76
<p>
 
77
IpePainter-derived classes are used for drawing to the screen and for generating PDF output.<p>
 
78
The IpePainter maintains a stack of graphics states, which includes stroke and fill color, line width, dash style, miter limit, line cap and line join, and the current transformation matrix. The IpePainter class takes care of maintaining this stack, and setting of the attributes in the current graphics state.<p>
 
79
Setting an attribute with a symbolic value is resolved immediately using the <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> attached to the IpePainter, so calling the <a class="el" href="class_ipe_painter.html#a31">Stroke()</a> or <a class="el" href="class_ipe_painter.html#a32">Fill()</a> methods of IpePainter will return the current absolute color.<p>
 
80
It's okay to set symbolic attributes that the stylesheet does not define - they are set to a default absolute value (normal, black, solid, etc.).<p>
 
81
Attributes must not be changed after a path has been started. (Although this does not seem to be stated explicitely in the PDF Reference, Acrobat Reader 4 complains if the dash style is set after a path has been defined.)<p>
 
82
Derived classes need to implement the functions for drawing paths, images, and texts.<p>
 
83
A null color is drawn as if it was void. Ipe objects exploit this: only group objects ever need to explicitly contain a 'void' color.<p>
 
84
A null dash style is drawn as solid.<p>
 
85
A null line width is drawn as whatever is the standard of the drawing medium. 
 
86
<p>
 
87
<hr><h2>Constructor &amp; Destructor Documentation</h2>
 
88
<a class="anchor" name="a0" doxytag="IpePainter::IpePainter" ></a><p>
 
89
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
90
  <tr>
 
91
    <td class="mdRow">
 
92
      <table cellpadding="0" cellspacing="0" border="0">
 
93
        <tr>
 
94
          <td class="md" nowrap valign="top"> IpePainter::IpePainter </td>
 
95
          <td class="md" valign="top">(&nbsp;</td>
 
96
          <td class="md" nowrap valign="top">const <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> *&nbsp;</td>
 
97
          <td class="mdname1" valign="top" nowrap> <em>style</em>          </td>
 
98
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
99
          <td class="md" nowrap></td>
 
100
        </tr>
 
101
 
 
102
      </table>
 
103
    </td>
 
104
  </tr>
 
105
</table>
 
106
<table cellspacing=5 cellpadding=0 border=0>
 
107
  <tr>
 
108
    <td>
 
109
      &nbsp;
 
110
    </td>
 
111
    <td>
 
112
 
 
113
<p>
 
114
Constructor takes a (cascaded) style sheet, which is not owned. 
 
115
<p>
 
116
The initial graphics state contains null attributes and default line cap and line join.     </td>
 
117
  </tr>
 
118
</table>
 
119
<a class="anchor" name="a1" doxytag="IpePainter::~IpePainter" ></a><p>
 
120
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
121
  <tr>
 
122
    <td class="mdRow">
 
123
      <table cellpadding="0" cellspacing="0" border="0">
 
124
        <tr>
 
125
          <td class="md" nowrap valign="top"> IpePainter::~<a class="el" href="class_ipe_painter.html">IpePainter</a> </td>
 
126
          <td class="md" valign="top">(&nbsp;</td>
 
127
          <td class="mdname1" valign="top" nowrap>          </td>
 
128
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
129
          <td class="md" nowrap><code> [virtual]</code></td>
 
130
        </tr>
 
131
 
 
132
      </table>
 
133
    </td>
 
134
  </tr>
 
135
</table>
 
136
<table cellspacing=5 cellpadding=0 border=0>
 
137
  <tr>
 
138
    <td>
 
139
      &nbsp;
 
140
    </td>
 
141
    <td>
 
142
 
 
143
<p>
 
144
Virtual destructor. 
 
145
<p>
 
146
    </td>
 
147
  </tr>
 
148
</table>
 
149
<hr><h2>Member Function Documentation</h2>
 
150
<a class="anchor" name="a2" doxytag="IpePainter::Transform" ></a><p>
 
151
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
152
  <tr>
 
153
    <td class="mdRow">
 
154
      <table cellpadding="0" cellspacing="0" border="0">
 
155
        <tr>
 
156
          <td class="md" nowrap valign="top"> void IpePainter::Transform </td>
 
157
          <td class="md" valign="top">(&nbsp;</td>
 
158
          <td class="md" nowrap valign="top">const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &amp;&nbsp;</td>
 
159
          <td class="mdname1" valign="top" nowrap> <em>m</em>          </td>
 
160
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
161
          <td class="md" nowrap><code> [virtual]</code></td>
 
162
        </tr>
 
163
 
 
164
      </table>
 
165
    </td>
 
166
  </tr>
 
167
</table>
 
168
<table cellspacing=5 cellpadding=0 border=0>
 
169
  <tr>
 
170
    <td>
 
171
      &nbsp;
 
172
    </td>
 
173
    <td>
 
174
 
 
175
<p>
 
176
Concatenate a matrix to current transformation matrix. 
 
177
<p>
 
178
    </td>
 
179
  </tr>
 
180
</table>
 
181
<a class="anchor" name="a3" doxytag="IpePainter::Untransform" ></a><p>
 
182
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
183
  <tr>
 
184
    <td class="mdRow">
 
185
      <table cellpadding="0" cellspacing="0" border="0">
 
186
        <tr>
 
187
          <td class="md" nowrap valign="top"> void IpePainter::Untransform </td>
 
188
          <td class="md" valign="top">(&nbsp;</td>
 
189
          <td class="md" nowrap valign="top">bool&nbsp;</td>
 
190
          <td class="mdname1" valign="top" nowrap> <em>direct</em>          </td>
 
191
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
192
          <td class="md" nowrap><code> [virtual]</code></td>
 
193
        </tr>
 
194
 
 
195
      </table>
 
196
    </td>
 
197
  </tr>
 
198
</table>
 
199
<table cellspacing=5 cellpadding=0 border=0>
 
200
  <tr>
 
201
    <td>
 
202
      &nbsp;
 
203
    </td>
 
204
    <td>
 
205
 
 
206
<p>
 
207
Reset transformation to original one, but with different origin/direction. 
 
208
<p>
 
209
This changes the current transformation matrix to the one set before the first Push operation, but maintaining the current origin. If <em>direct</em> is <code>true</code>, then the x-direction is also kept.     </td>
 
210
  </tr>
 
211
</table>
 
212
<a class="anchor" name="a4" doxytag="IpePainter::Translate" ></a><p>
 
213
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
214
  <tr>
 
215
    <td class="mdRow">
 
216
      <table cellpadding="0" cellspacing="0" border="0">
 
217
        <tr>
 
218
          <td class="md" nowrap valign="top"> void IpePainter::Translate </td>
 
219
          <td class="md" valign="top">(&nbsp;</td>
 
220
          <td class="md" nowrap valign="top">const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
 
221
          <td class="mdname1" valign="top" nowrap> <em>v</em>          </td>
 
222
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
223
          <td class="md" nowrap><code> [virtual]</code></td>
 
224
        </tr>
 
225
 
 
226
      </table>
 
227
    </td>
 
228
  </tr>
 
229
</table>
 
230
<table cellspacing=5 cellpadding=0 border=0>
 
231
  <tr>
 
232
    <td>
 
233
      &nbsp;
 
234
    </td>
 
235
    <td>
 
236
 
 
237
<p>
 
238
Concatenate a translation to current transformation matrix. 
 
239
<p>
 
240
    </td>
 
241
  </tr>
 
242
</table>
 
243
<a class="anchor" name="a5" doxytag="IpePainter::BeginPath" ></a><p>
 
244
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
245
  <tr>
 
246
    <td class="mdRow">
 
247
      <table cellpadding="0" cellspacing="0" border="0">
 
248
        <tr>
 
249
          <td class="md" nowrap valign="top"> void IpePainter::BeginPath </td>
 
250
          <td class="md" valign="top">(&nbsp;</td>
 
251
          <td class="md" nowrap valign="top">const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
 
252
          <td class="mdname1" valign="top" nowrap> <em>v</em>          </td>
 
253
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
254
          <td class="md" nowrap><code> [virtual]</code></td>
 
255
        </tr>
 
256
 
 
257
      </table>
 
258
    </td>
 
259
  </tr>
 
260
</table>
 
261
<table cellspacing=5 cellpadding=0 border=0>
 
262
  <tr>
 
263
    <td>
 
264
      &nbsp;
 
265
    </td>
 
266
    <td>
 
267
 
 
268
<p>
 
269
Start a new open path. 
 
270
<p>
 
271
    </td>
 
272
  </tr>
 
273
</table>
 
274
<a class="anchor" name="a6" doxytag="IpePainter::BeginClosedPath" ></a><p>
 
275
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
276
  <tr>
 
277
    <td class="mdRow">
 
278
      <table cellpadding="0" cellspacing="0" border="0">
 
279
        <tr>
 
280
          <td class="md" nowrap valign="top"> void IpePainter::BeginClosedPath </td>
 
281
          <td class="md" valign="top">(&nbsp;</td>
 
282
          <td class="md" nowrap valign="top">const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
 
283
          <td class="mdname1" valign="top" nowrap> <em>v</em>          </td>
 
284
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
285
          <td class="md" nowrap><code> [virtual]</code></td>
 
286
        </tr>
 
287
 
 
288
      </table>
 
289
    </td>
 
290
  </tr>
 
291
</table>
 
292
<table cellspacing=5 cellpadding=0 border=0>
 
293
  <tr>
 
294
    <td>
 
295
      &nbsp;
 
296
    </td>
 
297
    <td>
 
298
 
 
299
<p>
 
300
Start a new closed path. 
 
301
<p>
 
302
    </td>
 
303
  </tr>
 
304
</table>
 
305
<a class="anchor" name="a7" doxytag="IpePainter::LineTo" ></a><p>
 
306
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
307
  <tr>
 
308
    <td class="mdRow">
 
309
      <table cellpadding="0" cellspacing="0" border="0">
 
310
        <tr>
 
311
          <td class="md" nowrap valign="top"> void IpePainter::LineTo </td>
 
312
          <td class="md" valign="top">(&nbsp;</td>
 
313
          <td class="md" nowrap valign="top">const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
 
314
          <td class="mdname1" valign="top" nowrap> <em>v</em>          </td>
 
315
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
316
          <td class="md" nowrap><code> [virtual]</code></td>
 
317
        </tr>
 
318
 
 
319
      </table>
 
320
    </td>
 
321
  </tr>
 
322
</table>
 
323
<table cellspacing=5 cellpadding=0 border=0>
 
324
  <tr>
 
325
    <td>
 
326
      &nbsp;
 
327
    </td>
 
328
    <td>
 
329
 
 
330
<p>
 
331
Add line segment to path. 
 
332
<p>
 
333
    </td>
 
334
  </tr>
 
335
</table>
 
336
<a class="anchor" name="a8" doxytag="IpePainter::CurveTo" ></a><p>
 
337
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
338
  <tr>
 
339
    <td class="mdRow">
 
340
      <table cellpadding="0" cellspacing="0" border="0">
 
341
        <tr>
 
342
          <td class="md" nowrap valign="top"> void IpePainter::CurveTo </td>
 
343
          <td class="md" valign="top">(&nbsp;</td>
 
344
          <td class="md" nowrap valign="top">const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
 
345
          <td class="mdname" nowrap> <em>v1</em>, </td>
 
346
        </tr>
 
347
        <tr>
 
348
          <td></td>
 
349
          <td></td>
 
350
          <td class="md" nowrap>const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
 
351
          <td class="mdname" nowrap> <em>v2</em>, </td>
 
352
        </tr>
 
353
        <tr>
 
354
          <td></td>
 
355
          <td></td>
 
356
          <td class="md" nowrap>const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
 
357
          <td class="mdname" nowrap> <em>v3</em></td>
 
358
        </tr>
 
359
        <tr>
 
360
          <td></td>
 
361
          <td class="md">)&nbsp;</td>
 
362
          <td class="md" colspan="2"><code> [virtual]</code></td>
 
363
        </tr>
 
364
 
 
365
      </table>
 
366
    </td>
 
367
  </tr>
 
368
</table>
 
369
<table cellspacing=5 cellpadding=0 border=0>
 
370
  <tr>
 
371
    <td>
 
372
      &nbsp;
 
373
    </td>
 
374
    <td>
 
375
 
 
376
<p>
 
377
Add a Bezier segment to path. 
 
378
<p>
 
379
    </td>
 
380
  </tr>
 
381
</table>
 
382
<a class="anchor" name="a9" doxytag="IpePainter::CurveTo" ></a><p>
 
383
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
384
  <tr>
 
385
    <td class="mdRow">
 
386
      <table cellpadding="0" cellspacing="0" border="0">
 
387
        <tr>
 
388
          <td class="md" nowrap valign="top"> void IpePainter::CurveTo </td>
 
389
          <td class="md" valign="top">(&nbsp;</td>
 
390
          <td class="md" nowrap valign="top">const <a class="el" href="class_ipe_bezier.html">IpeBezier</a> &amp;&nbsp;</td>
 
391
          <td class="mdname1" valign="top" nowrap> <em>bezier</em>          </td>
 
392
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
393
          <td class="md" nowrap><code> [inline]</code></td>
 
394
        </tr>
 
395
 
 
396
      </table>
 
397
    </td>
 
398
  </tr>
 
399
</table>
 
400
<table cellspacing=5 cellpadding=0 border=0>
 
401
  <tr>
 
402
    <td>
 
403
      &nbsp;
 
404
    </td>
 
405
    <td>
 
406
 
 
407
<p>
 
408
Overloaded function. 
 
409
<p>
 
410
Assumes current position is <code>bezier.iV</code>[0]     </td>
 
411
  </tr>
 
412
</table>
 
413
<a class="anchor" name="a10" doxytag="IpePainter::Rect" ></a><p>
 
414
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
415
  <tr>
 
416
    <td class="mdRow">
 
417
      <table cellpadding="0" cellspacing="0" border="0">
 
418
        <tr>
 
419
          <td class="md" nowrap valign="top"> void IpePainter::Rect </td>
 
420
          <td class="md" valign="top">(&nbsp;</td>
 
421
          <td class="md" nowrap valign="top">const <a class="el" href="class_ipe_rect.html">IpeRect</a> &amp;&nbsp;</td>
 
422
          <td class="mdname1" valign="top" nowrap> <em>re</em>          </td>
 
423
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
424
          <td class="md" nowrap><code> [virtual]</code></td>
 
425
        </tr>
 
426
 
 
427
      </table>
 
428
    </td>
 
429
  </tr>
 
430
</table>
 
431
<table cellspacing=5 cellpadding=0 border=0>
 
432
  <tr>
 
433
    <td>
 
434
      &nbsp;
 
435
    </td>
 
436
    <td>
 
437
 
 
438
<p>
 
439
Add a rectangle to the path. 
 
440
<p>
 
441
Has a default implementation in terms of LineTo, but derived classes can reimplement for efficiency.     </td>
 
442
  </tr>
 
443
</table>
 
444
<a class="anchor" name="a11" doxytag="IpePainter::EndPath" ></a><p>
 
445
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
446
  <tr>
 
447
    <td class="mdRow">
 
448
      <table cellpadding="0" cellspacing="0" border="0">
 
449
        <tr>
 
450
          <td class="md" nowrap valign="top"> void IpePainter::EndPath </td>
 
451
          <td class="md" valign="top">(&nbsp;</td>
 
452
          <td class="mdname1" valign="top" nowrap>          </td>
 
453
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
454
          <td class="md" nowrap><code> [virtual]</code></td>
 
455
        </tr>
 
456
 
 
457
      </table>
 
458
    </td>
 
459
  </tr>
 
460
</table>
 
461
<table cellspacing=5 cellpadding=0 border=0>
 
462
  <tr>
 
463
    <td>
 
464
      &nbsp;
 
465
    </td>
 
466
    <td>
 
467
 
 
468
<p>
 
469
End open path. 
 
470
<p>
 
471
    </td>
 
472
  </tr>
 
473
</table>
 
474
<a class="anchor" name="a12" doxytag="IpePainter::EndClosedPath" ></a><p>
 
475
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
476
  <tr>
 
477
    <td class="mdRow">
 
478
      <table cellpadding="0" cellspacing="0" border="0">
 
479
        <tr>
 
480
          <td class="md" nowrap valign="top"> void IpePainter::EndClosedPath </td>
 
481
          <td class="md" valign="top">(&nbsp;</td>
 
482
          <td class="mdname1" valign="top" nowrap>          </td>
 
483
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
484
          <td class="md" nowrap><code> [virtual]</code></td>
 
485
        </tr>
 
486
 
 
487
      </table>
 
488
    </td>
 
489
  </tr>
 
490
</table>
 
491
<table cellspacing=5 cellpadding=0 border=0>
 
492
  <tr>
 
493
    <td>
 
494
      &nbsp;
 
495
    </td>
 
496
    <td>
 
497
 
 
498
<p>
 
499
End closed path. 
 
500
<p>
 
501
    </td>
 
502
  </tr>
 
503
</table>
 
504
<a class="anchor" name="a13" doxytag="IpePainter::Push" ></a><p>
 
505
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
506
  <tr>
 
507
    <td class="mdRow">
 
508
      <table cellpadding="0" cellspacing="0" border="0">
 
509
        <tr>
 
510
          <td class="md" nowrap valign="top"> void IpePainter::Push </td>
 
511
          <td class="md" valign="top">(&nbsp;</td>
 
512
          <td class="mdname1" valign="top" nowrap>          </td>
 
513
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
514
          <td class="md" nowrap><code> [virtual]</code></td>
 
515
        </tr>
 
516
 
 
517
      </table>
 
518
    </td>
 
519
  </tr>
 
520
</table>
 
521
<table cellspacing=5 cellpadding=0 border=0>
 
522
  <tr>
 
523
    <td>
 
524
      &nbsp;
 
525
    </td>
 
526
    <td>
 
527
 
 
528
<p>
 
529
Save current graphics state. 
 
530
<p>
 
531
    </td>
 
532
  </tr>
 
533
</table>
 
534
<a class="anchor" name="a14" doxytag="IpePainter::Pop" ></a><p>
 
535
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
536
  <tr>
 
537
    <td class="mdRow">
 
538
      <table cellpadding="0" cellspacing="0" border="0">
 
539
        <tr>
 
540
          <td class="md" nowrap valign="top"> void IpePainter::Pop </td>
 
541
          <td class="md" valign="top">(&nbsp;</td>
 
542
          <td class="mdname1" valign="top" nowrap>          </td>
 
543
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
544
          <td class="md" nowrap><code> [virtual]</code></td>
 
545
        </tr>
 
546
 
 
547
      </table>
 
548
    </td>
 
549
  </tr>
 
550
</table>
 
551
<table cellspacing=5 cellpadding=0 border=0>
 
552
  <tr>
 
553
    <td>
 
554
      &nbsp;
 
555
    </td>
 
556
    <td>
 
557
 
 
558
<p>
 
559
Restore previous graphics state. 
 
560
<p>
 
561
    </td>
 
562
  </tr>
 
563
</table>
 
564
<a class="anchor" name="a15" doxytag="IpePainter::DrawPath" ></a><p>
 
565
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
566
  <tr>
 
567
    <td class="mdRow">
 
568
      <table cellpadding="0" cellspacing="0" border="0">
 
569
        <tr>
 
570
          <td class="md" nowrap valign="top"> void IpePainter::DrawPath </td>
 
571
          <td class="md" valign="top">(&nbsp;</td>
 
572
          <td class="mdname1" valign="top" nowrap>          </td>
 
573
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
574
          <td class="md" nowrap><code> [virtual]</code></td>
 
575
        </tr>
 
576
 
 
577
      </table>
 
578
    </td>
 
579
  </tr>
 
580
</table>
 
581
<table cellspacing=5 cellpadding=0 border=0>
 
582
  <tr>
 
583
    <td>
 
584
      &nbsp;
 
585
    </td>
 
586
    <td>
 
587
 
 
588
<p>
 
589
Fill and/or stroke a path (depending on color). 
 
590
<p>
 
591
As in PDF, an "path" can consist of several components that are defined by sequences of <a class="el" href="class_ipe_painter.html#a6">BeginClosedPath()</a> and <a class="el" href="class_ipe_painter.html#a12">EndClosedPath()</a>.     </td>
 
592
  </tr>
 
593
</table>
 
594
<a class="anchor" name="a16" doxytag="IpePainter::DrawBitmap" ></a><p>
 
595
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
596
  <tr>
 
597
    <td class="mdRow">
 
598
      <table cellpadding="0" cellspacing="0" border="0">
 
599
        <tr>
 
600
          <td class="md" nowrap valign="top"> void IpePainter::DrawBitmap </td>
 
601
          <td class="md" valign="top">(&nbsp;</td>
 
602
          <td class="md" nowrap valign="top"><a class="el" href="class_ipe_bitmap.html">IpeBitmap</a>&nbsp;</td>
 
603
          <td class="mdname1" valign="top" nowrap> <em>bitmap</em>          </td>
 
604
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
605
          <td class="md" nowrap><code> [virtual]</code></td>
 
606
        </tr>
 
607
 
 
608
      </table>
 
609
    </td>
 
610
  </tr>
 
611
</table>
 
612
<table cellspacing=5 cellpadding=0 border=0>
 
613
  <tr>
 
614
    <td>
 
615
      &nbsp;
 
616
    </td>
 
617
    <td>
 
618
 
 
619
<p>
 
620
Render a bitmap. 
 
621
<p>
 
622
Assumes the transformation matrix has been set up to map the unit square to the image area on the paper.     </td>
 
623
  </tr>
 
624
</table>
 
625
<a class="anchor" name="a17" doxytag="IpePainter::DrawText" ></a><p>
 
626
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
627
  <tr>
 
628
    <td class="mdRow">
 
629
      <table cellpadding="0" cellspacing="0" border="0">
 
630
        <tr>
 
631
          <td class="md" nowrap valign="top"> void IpePainter::DrawText </td>
 
632
          <td class="md" valign="top">(&nbsp;</td>
 
633
          <td class="md" nowrap valign="top">const <a class="el" href="class_ipe_text.html">IpeText</a> *&nbsp;</td>
 
634
          <td class="mdname1" valign="top" nowrap> <em>text</em>          </td>
 
635
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
636
          <td class="md" nowrap><code> [virtual]</code></td>
 
637
        </tr>
 
638
 
 
639
      </table>
 
640
    </td>
 
641
  </tr>
 
642
</table>
 
643
<table cellspacing=5 cellpadding=0 border=0>
 
644
  <tr>
 
645
    <td>
 
646
      &nbsp;
 
647
    </td>
 
648
    <td>
 
649
 
 
650
<p>
 
651
Render a text object. 
 
652
<p>
 
653
Stroke color is already set, and the origin is the lower-left corner of the text box.     </td>
 
654
  </tr>
 
655
</table>
 
656
<a class="anchor" name="a18" doxytag="IpePainter::DrawEllipse" ></a><p>
 
657
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
658
  <tr>
 
659
    <td class="mdRow">
 
660
      <table cellpadding="0" cellspacing="0" border="0">
 
661
        <tr>
 
662
          <td class="md" nowrap valign="top"> void IpePainter::DrawEllipse </td>
 
663
          <td class="md" valign="top">(&nbsp;</td>
 
664
          <td class="mdname1" valign="top" nowrap>          </td>
 
665
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
666
          <td class="md" nowrap></td>
 
667
        </tr>
 
668
 
 
669
      </table>
 
670
    </td>
 
671
  </tr>
 
672
</table>
 
673
<table cellspacing=5 cellpadding=0 border=0>
 
674
  <tr>
 
675
    <td>
 
676
      &nbsp;
 
677
    </td>
 
678
    <td>
 
679
 
 
680
<p>
 
681
Draw the unit circle. 
 
682
<p>
 
683
PDF does not have an "arc" or "circle" primitive, so to draw an arc, circle, or ellipse, Ipe has to translate it into a sequence of Bezier curves.<p>
 
684
The approximation is based on the following: The unit circle arc from (1,0) to (cos a, sin a) be approximated by a Bezier spline with control points (1, 0), (1, beta) and their mirror images along the line with slope a/2, where beta = 4.0 * (1.0 - cos(a/2)) / (3 * sin(a/2))<p>
 
685
Ipe draws circles by drawing four Bezier curves for the quadrants, and arcs by patching together quarter circle approximations with a piece computed from the formula above.<p>
 
686
This does not modify the transformation matrix. The path is generated as a sequence BeginClosedPath .. CurveTo .. EndClosedPath, but is not actually drawn (DrawPath is not called).     </td>
 
687
  </tr>
 
688
</table>
 
689
<a class="anchor" name="a19" doxytag="IpePainter::DrawArc" ></a><p>
 
690
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
691
  <tr>
 
692
    <td class="mdRow">
 
693
      <table cellpadding="0" cellspacing="0" border="0">
 
694
        <tr>
 
695
          <td class="md" nowrap valign="top"> void IpePainter::DrawArc </td>
 
696
          <td class="md" valign="top">(&nbsp;</td>
 
697
          <td class="md" nowrap valign="top">double&nbsp;</td>
 
698
          <td class="mdname1" valign="top" nowrap> <em>alpha</em>          </td>
 
699
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
700
          <td class="md" nowrap></td>
 
701
        </tr>
 
702
 
 
703
      </table>
 
704
    </td>
 
705
  </tr>
 
706
</table>
 
707
<table cellspacing=5 cellpadding=0 border=0>
 
708
  <tr>
 
709
    <td>
 
710
      &nbsp;
 
711
    </td>
 
712
    <td>
 
713
 
 
714
<p>
 
715
Draw an arc of the unit circle of length <em>alpha</em>. 
 
716
<p>
 
717
<em>alpha</em> is normalized to [0, 2 pi], and applied starting from the point (1,0).<p>
 
718
The function works by generating a sequence of Bezier splines (see DrawEllipse for details of the transformation). It only generates calls to CurveTo. It is assumed that the caller has already executed a MoveTo to the beginning of the arc at (1,0).<p>
 
719
This function may modify the transformation matrix.     </td>
 
720
  </tr>
 
721
</table>
 
722
<a class="anchor" name="a20" doxytag="IpePainter::SetStroke" ></a><p>
 
723
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
724
  <tr>
 
725
    <td class="mdRow">
 
726
      <table cellpadding="0" cellspacing="0" border="0">
 
727
        <tr>
 
728
          <td class="md" nowrap valign="top"> void IpePainter::SetStroke </td>
 
729
          <td class="md" valign="top">(&nbsp;</td>
 
730
          <td class="md" nowrap valign="top"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
 
731
          <td class="mdname1" valign="top" nowrap> <em>color</em>          </td>
 
732
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
733
          <td class="md" nowrap></td>
 
734
        </tr>
 
735
 
 
736
      </table>
 
737
    </td>
 
738
  </tr>
 
739
</table>
 
740
<table cellspacing=5 cellpadding=0 border=0>
 
741
  <tr>
 
742
    <td>
 
743
      &nbsp;
 
744
    </td>
 
745
    <td>
 
746
 
 
747
<p>
 
748
Set stroke color, resolving symbolic color. 
 
749
<p>
 
750
    </td>
 
751
  </tr>
 
752
</table>
 
753
<a class="anchor" name="a21" doxytag="IpePainter::SetFill" ></a><p>
 
754
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
755
  <tr>
 
756
    <td class="mdRow">
 
757
      <table cellpadding="0" cellspacing="0" border="0">
 
758
        <tr>
 
759
          <td class="md" nowrap valign="top"> void IpePainter::SetFill </td>
 
760
          <td class="md" valign="top">(&nbsp;</td>
 
761
          <td class="md" nowrap valign="top"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
 
762
          <td class="mdname1" valign="top" nowrap> <em>color</em>          </td>
 
763
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
764
          <td class="md" nowrap></td>
 
765
        </tr>
 
766
 
 
767
      </table>
 
768
    </td>
 
769
  </tr>
 
770
</table>
 
771
<table cellspacing=5 cellpadding=0 border=0>
 
772
  <tr>
 
773
    <td>
 
774
      &nbsp;
 
775
    </td>
 
776
    <td>
 
777
 
 
778
<p>
 
779
Set fill color, resolving symbolic color. 
 
780
<p>
 
781
    </td>
 
782
  </tr>
 
783
</table>
 
784
<a class="anchor" name="a22" doxytag="IpePainter::SetLineWidth" ></a><p>
 
785
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
786
  <tr>
 
787
    <td class="mdRow">
 
788
      <table cellpadding="0" cellspacing="0" border="0">
 
789
        <tr>
 
790
          <td class="md" nowrap valign="top"> void IpePainter::SetLineWidth </td>
 
791
          <td class="md" valign="top">(&nbsp;</td>
 
792
          <td class="md" nowrap valign="top"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
 
793
          <td class="mdname1" valign="top" nowrap> <em>wid</em>          </td>
 
794
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
795
          <td class="md" nowrap></td>
 
796
        </tr>
 
797
 
 
798
      </table>
 
799
    </td>
 
800
  </tr>
 
801
</table>
 
802
<table cellspacing=5 cellpadding=0 border=0>
 
803
  <tr>
 
804
    <td>
 
805
      &nbsp;
 
806
    </td>
 
807
    <td>
 
808
 
 
809
<p>
 
810
Set line width, resolving symbolic value. 
 
811
<p>
 
812
    </td>
 
813
  </tr>
 
814
</table>
 
815
<a class="anchor" name="a23" doxytag="IpePainter::SetDashStyle" ></a><p>
 
816
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
817
  <tr>
 
818
    <td class="mdRow">
 
819
      <table cellpadding="0" cellspacing="0" border="0">
 
820
        <tr>
 
821
          <td class="md" nowrap valign="top"> void IpePainter::SetDashStyle </td>
 
822
          <td class="md" valign="top">(&nbsp;</td>
 
823
          <td class="md" nowrap valign="top"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
 
824
          <td class="mdname1" valign="top" nowrap> <em>dash</em>          </td>
 
825
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
826
          <td class="md" nowrap></td>
 
827
        </tr>
 
828
 
 
829
      </table>
 
830
    </td>
 
831
  </tr>
 
832
</table>
 
833
<table cellspacing=5 cellpadding=0 border=0>
 
834
  <tr>
 
835
    <td>
 
836
      &nbsp;
 
837
    </td>
 
838
    <td>
 
839
 
 
840
<p>
 
841
Set dash style, resolving symbolic value. 
 
842
<p>
 
843
    </td>
 
844
  </tr>
 
845
</table>
 
846
<a class="anchor" name="a24" doxytag="IpePainter::SetLineCap" ></a><p>
 
847
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
848
  <tr>
 
849
    <td class="mdRow">
 
850
      <table cellpadding="0" cellspacing="0" border="0">
 
851
        <tr>
 
852
          <td class="md" nowrap valign="top"> void IpePainter::SetLineCap </td>
 
853
          <td class="md" valign="top">(&nbsp;</td>
 
854
          <td class="md" nowrap valign="top"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
 
855
          <td class="mdname1" valign="top" nowrap> <em>cap</em>          </td>
 
856
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
857
          <td class="md" nowrap></td>
 
858
        </tr>
 
859
 
 
860
      </table>
 
861
    </td>
 
862
  </tr>
 
863
</table>
 
864
<table cellspacing=5 cellpadding=0 border=0>
 
865
  <tr>
 
866
    <td>
 
867
      &nbsp;
 
868
    </td>
 
869
    <td>
 
870
 
 
871
<p>
 
872
Set line cap. 
 
873
<p>
 
874
    </td>
 
875
  </tr>
 
876
</table>
 
877
<a class="anchor" name="a25" doxytag="IpePainter::SetLineJoin" ></a><p>
 
878
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
879
  <tr>
 
880
    <td class="mdRow">
 
881
      <table cellpadding="0" cellspacing="0" border="0">
 
882
        <tr>
 
883
          <td class="md" nowrap valign="top"> void IpePainter::SetLineJoin </td>
 
884
          <td class="md" valign="top">(&nbsp;</td>
 
885
          <td class="md" nowrap valign="top"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
 
886
          <td class="mdname1" valign="top" nowrap> <em>join</em>          </td>
 
887
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
888
          <td class="md" nowrap></td>
 
889
        </tr>
 
890
 
 
891
      </table>
 
892
    </td>
 
893
  </tr>
 
894
</table>
 
895
<table cellspacing=5 cellpadding=0 border=0>
 
896
  <tr>
 
897
    <td>
 
898
      &nbsp;
 
899
    </td>
 
900
    <td>
 
901
 
 
902
<p>
 
903
Set line join. 
 
904
<p>
 
905
    </td>
 
906
  </tr>
 
907
</table>
 
908
<a class="anchor" name="a26" doxytag="IpePainter::SetWindRule" ></a><p>
 
909
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
910
  <tr>
 
911
    <td class="mdRow">
 
912
      <table cellpadding="0" cellspacing="0" border="0">
 
913
        <tr>
 
914
          <td class="md" nowrap valign="top"> void IpePainter::SetWindRule </td>
 
915
          <td class="md" valign="top">(&nbsp;</td>
 
916
          <td class="md" nowrap valign="top"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
 
917
          <td class="mdname1" valign="top" nowrap> <em>rule</em>          </td>
 
918
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
919
          <td class="md" nowrap></td>
 
920
        </tr>
 
921
 
 
922
      </table>
 
923
    </td>
 
924
  </tr>
 
925
</table>
 
926
<table cellspacing=5 cellpadding=0 border=0>
 
927
  <tr>
 
928
    <td>
 
929
      &nbsp;
 
930
    </td>
 
931
    <td>
 
932
 
 
933
<p>
 
934
Set wind rule (wind or even-odd). 
 
935
<p>
 
936
    </td>
 
937
  </tr>
 
938
</table>
 
939
<a class="anchor" name="a27" doxytag="IpePainter::SetTextSize" ></a><p>
 
940
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
941
  <tr>
 
942
    <td class="mdRow">
 
943
      <table cellpadding="0" cellspacing="0" border="0">
 
944
        <tr>
 
945
          <td class="md" nowrap valign="top"> void IpePainter::SetTextSize </td>
 
946
          <td class="md" valign="top">(&nbsp;</td>
 
947
          <td class="md" nowrap valign="top"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
 
948
          <td class="mdname1" valign="top" nowrap> <em>size</em>          </td>
 
949
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
950
          <td class="md" nowrap></td>
 
951
        </tr>
 
952
 
 
953
      </table>
 
954
    </td>
 
955
  </tr>
 
956
</table>
 
957
<table cellspacing=5 cellpadding=0 border=0>
 
958
  <tr>
 
959
    <td>
 
960
      &nbsp;
 
961
    </td>
 
962
    <td>
 
963
 
 
964
<p>
 
965
Set font size of text objects. 
 
966
<p>
 
967
Paradoxically, this isn't actually used to render text, but for saving Ipegroup objects! Text goes through the Pdflatex interface, and the visitor that scans for text objects and writes them to the Latex source file finds the text size information itself.     </td>
 
968
  </tr>
 
969
</table>
 
970
<a class="anchor" name="a28" doxytag="IpePainter::SetMarkSize" ></a><p>
 
971
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
972
  <tr>
 
973
    <td class="mdRow">
 
974
      <table cellpadding="0" cellspacing="0" border="0">
 
975
        <tr>
 
976
          <td class="md" nowrap valign="top"> void IpePainter::SetMarkSize </td>
 
977
          <td class="md" valign="top">(&nbsp;</td>
 
978
          <td class="md" nowrap valign="top"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
 
979
          <td class="mdname1" valign="top" nowrap> <em>size</em>          </td>
 
980
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
981
          <td class="md" nowrap></td>
 
982
        </tr>
 
983
 
 
984
      </table>
 
985
    </td>
 
986
  </tr>
 
987
</table>
 
988
<table cellspacing=5 cellpadding=0 border=0>
 
989
  <tr>
 
990
    <td>
 
991
      &nbsp;
 
992
    </td>
 
993
    <td>
 
994
 
 
995
<p>
 
996
Set size of mark objects. 
 
997
<p>
 
998
    </td>
 
999
  </tr>
 
1000
</table>
 
1001
<a class="anchor" name="a29" doxytag="IpePainter::SetMarkShape" ></a><p>
 
1002
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
1003
  <tr>
 
1004
    <td class="mdRow">
 
1005
      <table cellpadding="0" cellspacing="0" border="0">
 
1006
        <tr>
 
1007
          <td class="md" nowrap valign="top"> void IpePainter::SetMarkShape </td>
 
1008
          <td class="md" valign="top">(&nbsp;</td>
 
1009
          <td class="md" nowrap valign="top">int&nbsp;</td>
 
1010
          <td class="mdname1" valign="top" nowrap> <em>shape</em>          </td>
 
1011
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
1012
          <td class="md" nowrap></td>
 
1013
        </tr>
 
1014
 
 
1015
      </table>
 
1016
    </td>
 
1017
  </tr>
 
1018
</table>
 
1019
<table cellspacing=5 cellpadding=0 border=0>
 
1020
  <tr>
 
1021
    <td>
 
1022
      &nbsp;
 
1023
    </td>
 
1024
    <td>
 
1025
 
 
1026
<p>
 
1027
Set shape of mark objects. 
 
1028
<p>
 
1029
    </td>
 
1030
  </tr>
 
1031
</table>
 
1032
<a class="anchor" name="a30" doxytag="IpePainter::StyleSheet" ></a><p>
 
1033
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
1034
  <tr>
 
1035
    <td class="mdRow">
 
1036
      <table cellpadding="0" cellspacing="0" border="0">
 
1037
        <tr>
 
1038
          <td class="md" nowrap valign="top"> const <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a>* IpePainter::StyleSheet </td>
 
1039
          <td class="md" valign="top">(&nbsp;</td>
 
1040
          <td class="mdname1" valign="top" nowrap>          </td>
 
1041
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
1042
          <td class="md" nowrap> const<code> [inline]</code></td>
 
1043
        </tr>
 
1044
 
 
1045
      </table>
 
1046
    </td>
 
1047
  </tr>
 
1048
</table>
 
1049
<table cellspacing=5 cellpadding=0 border=0>
 
1050
  <tr>
 
1051
    <td>
 
1052
      &nbsp;
 
1053
    </td>
 
1054
    <td>
 
1055
 
 
1056
<p>
 
1057
Return style sheet. 
 
1058
<p>
 
1059
    </td>
 
1060
  </tr>
 
1061
</table>
 
1062
<a class="anchor" name="a31" doxytag="IpePainter::Stroke" ></a><p>
 
1063
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
1064
  <tr>
 
1065
    <td class="mdRow">
 
1066
      <table cellpadding="0" cellspacing="0" border="0">
 
1067
        <tr>
 
1068
          <td class="md" nowrap valign="top"> <a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpePainter::Stroke </td>
 
1069
          <td class="md" valign="top">(&nbsp;</td>
 
1070
          <td class="mdname1" valign="top" nowrap>          </td>
 
1071
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
1072
          <td class="md" nowrap> const<code> [inline]</code></td>
 
1073
        </tr>
 
1074
 
 
1075
      </table>
 
1076
    </td>
 
1077
  </tr>
 
1078
</table>
 
1079
<table cellspacing=5 cellpadding=0 border=0>
 
1080
  <tr>
 
1081
    <td>
 
1082
      &nbsp;
 
1083
    </td>
 
1084
    <td>
 
1085
 
 
1086
<p>
 
1087
Return current stroke color (always absolute). 
 
1088
<p>
 
1089
    </td>
 
1090
  </tr>
 
1091
</table>
 
1092
<a class="anchor" name="a32" doxytag="IpePainter::Fill" ></a><p>
 
1093
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
1094
  <tr>
 
1095
    <td class="mdRow">
 
1096
      <table cellpadding="0" cellspacing="0" border="0">
 
1097
        <tr>
 
1098
          <td class="md" nowrap valign="top"> <a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpePainter::Fill </td>
 
1099
          <td class="md" valign="top">(&nbsp;</td>
 
1100
          <td class="mdname1" valign="top" nowrap>          </td>
 
1101
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
1102
          <td class="md" nowrap> const<code> [inline]</code></td>
 
1103
        </tr>
 
1104
 
 
1105
      </table>
 
1106
    </td>
 
1107
  </tr>
 
1108
</table>
 
1109
<table cellspacing=5 cellpadding=0 border=0>
 
1110
  <tr>
 
1111
    <td>
 
1112
      &nbsp;
 
1113
    </td>
 
1114
    <td>
 
1115
 
 
1116
<p>
 
1117
Return current fill color (always absolute). 
 
1118
<p>
 
1119
    </td>
 
1120
  </tr>
 
1121
</table>
 
1122
<a class="anchor" name="a33" doxytag="IpePainter::Matrix" ></a><p>
 
1123
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
1124
  <tr>
 
1125
    <td class="mdRow">
 
1126
      <table cellpadding="0" cellspacing="0" border="0">
 
1127
        <tr>
 
1128
          <td class="md" nowrap valign="top"> const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a>&amp; IpePainter::Matrix </td>
 
1129
          <td class="md" valign="top">(&nbsp;</td>
 
1130
          <td class="mdname1" valign="top" nowrap>          </td>
 
1131
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
1132
          <td class="md" nowrap> const<code> [inline]</code></td>
 
1133
        </tr>
 
1134
 
 
1135
      </table>
 
1136
    </td>
 
1137
  </tr>
 
1138
</table>
 
1139
<table cellspacing=5 cellpadding=0 border=0>
 
1140
  <tr>
 
1141
    <td>
 
1142
      &nbsp;
 
1143
    </td>
 
1144
    <td>
 
1145
 
 
1146
<p>
 
1147
Return current transformation matrix. 
 
1148
<p>
 
1149
    </td>
 
1150
  </tr>
 
1151
</table>
 
1152
<a class="anchor" name="a34" doxytag="IpePainter::LineWidth" ></a><p>
 
1153
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
1154
  <tr>
 
1155
    <td class="mdRow">
 
1156
      <table cellpadding="0" cellspacing="0" border="0">
 
1157
        <tr>
 
1158
          <td class="md" nowrap valign="top"> <a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpePainter::LineWidth </td>
 
1159
          <td class="md" valign="top">(&nbsp;</td>
 
1160
          <td class="mdname1" valign="top" nowrap>          </td>
 
1161
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
1162
          <td class="md" nowrap> const<code> [inline]</code></td>
 
1163
        </tr>
 
1164
 
 
1165
      </table>
 
1166
    </td>
 
1167
  </tr>
 
1168
</table>
 
1169
<table cellspacing=5 cellpadding=0 border=0>
 
1170
  <tr>
 
1171
    <td>
 
1172
      &nbsp;
 
1173
    </td>
 
1174
    <td>
 
1175
 
 
1176
<p>
 
1177
Return current line width (always absolute). 
 
1178
<p>
 
1179
    </td>
 
1180
  </tr>
 
1181
</table>
 
1182
<a class="anchor" name="a35" doxytag="IpePainter::DashStyle" ></a><p>
 
1183
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
1184
  <tr>
 
1185
    <td class="mdRow">
 
1186
      <table cellpadding="0" cellspacing="0" border="0">
 
1187
        <tr>
 
1188
          <td class="md" nowrap valign="top"> <a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpePainter::DashStyle </td>
 
1189
          <td class="md" valign="top">(&nbsp;</td>
 
1190
          <td class="mdname1" valign="top" nowrap>          </td>
 
1191
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
1192
          <td class="md" nowrap> const<code> [inline]</code></td>
 
1193
        </tr>
 
1194
 
 
1195
      </table>
 
1196
    </td>
 
1197
  </tr>
 
1198
</table>
 
1199
<table cellspacing=5 cellpadding=0 border=0>
 
1200
  <tr>
 
1201
    <td>
 
1202
      &nbsp;
 
1203
    </td>
 
1204
    <td>
 
1205
 
 
1206
<p>
 
1207
Return current dash style (always absolute). 
 
1208
<p>
 
1209
    </td>
 
1210
  </tr>
 
1211
</table>
 
1212
<a class="anchor" name="a36" doxytag="IpePainter::LineCap" ></a><p>
 
1213
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
1214
  <tr>
 
1215
    <td class="mdRow">
 
1216
      <table cellpadding="0" cellspacing="0" border="0">
 
1217
        <tr>
 
1218
          <td class="md" nowrap valign="top"> <a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpePainter::LineCap </td>
 
1219
          <td class="md" valign="top">(&nbsp;</td>
 
1220
          <td class="mdname1" valign="top" nowrap>          </td>
 
1221
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
1222
          <td class="md" nowrap> const<code> [inline]</code></td>
 
1223
        </tr>
 
1224
 
 
1225
      </table>
 
1226
    </td>
 
1227
  </tr>
 
1228
</table>
 
1229
<table cellspacing=5 cellpadding=0 border=0>
 
1230
  <tr>
 
1231
    <td>
 
1232
      &nbsp;
 
1233
    </td>
 
1234
    <td>
 
1235
 
 
1236
<p>
 
1237
Return current line cap. 
 
1238
<p>
 
1239
    </td>
 
1240
  </tr>
 
1241
</table>
 
1242
<a class="anchor" name="a37" doxytag="IpePainter::LineJoin" ></a><p>
 
1243
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
1244
  <tr>
 
1245
    <td class="mdRow">
 
1246
      <table cellpadding="0" cellspacing="0" border="0">
 
1247
        <tr>
 
1248
          <td class="md" nowrap valign="top"> <a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpePainter::LineJoin </td>
 
1249
          <td class="md" valign="top">(&nbsp;</td>
 
1250
          <td class="mdname1" valign="top" nowrap>          </td>
 
1251
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
1252
          <td class="md" nowrap> const<code> [inline]</code></td>
 
1253
        </tr>
 
1254
 
 
1255
      </table>
 
1256
    </td>
 
1257
  </tr>
 
1258
</table>
 
1259
<table cellspacing=5 cellpadding=0 border=0>
 
1260
  <tr>
 
1261
    <td>
 
1262
      &nbsp;
 
1263
    </td>
 
1264
    <td>
 
1265
 
 
1266
<p>
 
1267
Return current line join. 
 
1268
<p>
 
1269
    </td>
 
1270
  </tr>
 
1271
</table>
 
1272
<a class="anchor" name="a38" doxytag="IpePainter::WindRule" ></a><p>
 
1273
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
1274
  <tr>
 
1275
    <td class="mdRow">
 
1276
      <table cellpadding="0" cellspacing="0" border="0">
 
1277
        <tr>
 
1278
          <td class="md" nowrap valign="top"> <a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpePainter::WindRule </td>
 
1279
          <td class="md" valign="top">(&nbsp;</td>
 
1280
          <td class="mdname1" valign="top" nowrap>          </td>
 
1281
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
1282
          <td class="md" nowrap> const<code> [inline]</code></td>
 
1283
        </tr>
 
1284
 
 
1285
      </table>
 
1286
    </td>
 
1287
  </tr>
 
1288
</table>
 
1289
<table cellspacing=5 cellpadding=0 border=0>
 
1290
  <tr>
 
1291
    <td>
 
1292
      &nbsp;
 
1293
    </td>
 
1294
    <td>
 
1295
 
 
1296
<p>
 
1297
Return current wind rule. 
 
1298
<p>
 
1299
    </td>
 
1300
  </tr>
 
1301
</table>
 
1302
<a class="anchor" name="a39" doxytag="IpePainter::TextSize" ></a><p>
 
1303
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
1304
  <tr>
 
1305
    <td class="mdRow">
 
1306
      <table cellpadding="0" cellspacing="0" border="0">
 
1307
        <tr>
 
1308
          <td class="md" nowrap valign="top"> <a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpePainter::TextSize </td>
 
1309
          <td class="md" valign="top">(&nbsp;</td>
 
1310
          <td class="mdname1" valign="top" nowrap>          </td>
 
1311
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
1312
          <td class="md" nowrap> const<code> [inline]</code></td>
 
1313
        </tr>
 
1314
 
 
1315
      </table>
 
1316
    </td>
 
1317
  </tr>
 
1318
</table>
 
1319
<table cellspacing=5 cellpadding=0 border=0>
 
1320
  <tr>
 
1321
    <td>
 
1322
      &nbsp;
 
1323
    </td>
 
1324
    <td>
 
1325
 
 
1326
<p>
 
1327
Return current text font size. 
 
1328
<p>
 
1329
    </td>
 
1330
  </tr>
 
1331
</table>
 
1332
<a class="anchor" name="a40" doxytag="IpePainter::MarkSize" ></a><p>
 
1333
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
1334
  <tr>
 
1335
    <td class="mdRow">
 
1336
      <table cellpadding="0" cellspacing="0" border="0">
 
1337
        <tr>
 
1338
          <td class="md" nowrap valign="top"> <a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpePainter::MarkSize </td>
 
1339
          <td class="md" valign="top">(&nbsp;</td>
 
1340
          <td class="mdname1" valign="top" nowrap>          </td>
 
1341
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
1342
          <td class="md" nowrap> const<code> [inline]</code></td>
 
1343
        </tr>
 
1344
 
 
1345
      </table>
 
1346
    </td>
 
1347
  </tr>
 
1348
</table>
 
1349
<table cellspacing=5 cellpadding=0 border=0>
 
1350
  <tr>
 
1351
    <td>
 
1352
      &nbsp;
 
1353
    </td>
 
1354
    <td>
 
1355
 
 
1356
<p>
 
1357
Return current mark size. 
 
1358
<p>
 
1359
    </td>
 
1360
  </tr>
 
1361
</table>
 
1362
<a class="anchor" name="a41" doxytag="IpePainter::MarkShape" ></a><p>
 
1363
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
1364
  <tr>
 
1365
    <td class="mdRow">
 
1366
      <table cellpadding="0" cellspacing="0" border="0">
 
1367
        <tr>
 
1368
          <td class="md" nowrap valign="top"> int IpePainter::MarkShape </td>
 
1369
          <td class="md" valign="top">(&nbsp;</td>
 
1370
          <td class="mdname1" valign="top" nowrap>          </td>
 
1371
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
1372
          <td class="md" nowrap> const<code> [inline]</code></td>
 
1373
        </tr>
 
1374
 
 
1375
      </table>
 
1376
    </td>
 
1377
  </tr>
 
1378
</table>
 
1379
<table cellspacing=5 cellpadding=0 border=0>
 
1380
  <tr>
 
1381
    <td>
 
1382
      &nbsp;
 
1383
    </td>
 
1384
    <td>
 
1385
 
 
1386
<p>
 
1387
Return current mark shape. 
 
1388
<p>
 
1389
    </td>
 
1390
  </tr>
 
1391
</table>
 
1392
<a class="anchor" name="a42" doxytag="IpePainter::Repository" ></a><p>
 
1393
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
1394
  <tr>
 
1395
    <td class="mdRow">
 
1396
      <table cellpadding="0" cellspacing="0" border="0">
 
1397
        <tr>
 
1398
          <td class="md" nowrap valign="top"> const <a class="el" href="class_ipe_repository.html">IpeRepository</a>* IpePainter::Repository </td>
 
1399
          <td class="md" valign="top">(&nbsp;</td>
 
1400
          <td class="mdname1" valign="top" nowrap>          </td>
 
1401
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
1402
          <td class="md" nowrap> const<code> [inline]</code></td>
 
1403
        </tr>
 
1404
 
 
1405
      </table>
 
1406
    </td>
 
1407
  </tr>
 
1408
</table>
 
1409
<table cellspacing=5 cellpadding=0 border=0>
 
1410
  <tr>
 
1411
    <td>
 
1412
      &nbsp;
 
1413
    </td>
 
1414
    <td>
 
1415
 
 
1416
<p>
 
1417
Return repository. 
 
1418
<p>
 
1419
    </td>
 
1420
  </tr>
 
1421
</table>
 
1422
<hr>The documentation for this class was generated from the following files:<ul>
 
1423
<li>ipepainter.h<li>ipepainter.cpp</ul>
 
1424
<hr>
 
1425
</body></html>