~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: 2009-12-11 21:22:35 UTC
  • mfrom: (4.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20091211212235-5iio4nzpra64snab
Tags: 7.0.10-1
* New upstream.  Closes: #551192.
  - New build-depends: libcairo2-dev, liblua5.1-0-dev, gsfonts
  - patches/config.diff: Remove.  Upstream build system replaced.
  - Runtime lib package changed to libipe7.0.10 from libipe1c2a
  - Devel package renamed to libipe-dev (from libipe1-dev)
  - Package ipe depends on lua5.1 due to ipe-update-master.

* rules: Re-write to use dh.

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
 
<link href="tabs.css" rel="stylesheet" type="text/css">
6
 
</head><body>
7
 
<!-- Generated by Doxygen 1.5.1 -->
8
 
<div class="tabs">
9
 
  <ul>
10
 
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11
 
    <li><a href="modules.html"><span>Modules</span></a></li>
12
 
    <li id="current"><a href="annotated.html"><span>Classes</span></a></li>
13
 
  </ul></div>
14
 
<div class="tabs">
15
 
  <ul>
16
 
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
17
 
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
18
 
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
19
 
  </ul></div>
20
 
<h1>IpePainter Class Reference<br>
21
 
<small>
22
 
[<a class="el" href="group__base.html">Ipe Base</a>]</small>
23
 
</h1><!-- doxytag: class="IpePainter" -->Interface for drawing.  
24
 
<a href="#_details">More...</a>
25
 
<p>
26
 
Inherited by <a class="el" href="class_ipe_b_box_painter.html">IpeBBoxPainter</a>, and IpePdfPainter.
27
 
<p>
28
 
<a href="class_ipe_painter-members.html">List of all members.</a><h2>Public Member Functions</h2>
29
 
<ul>
30
 
<li><a class="el" href="class_ipe_painter.html#54f550c1d1435858f213dbb3b9a78ac9">IpePainter</a> (const <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> *style)
31
 
<li>virtual <a class="el" href="class_ipe_painter.html#f9d6507a42a6680b3beb71633a89fdbd">~IpePainter</a> ()
32
 
<li>void <a class="el" href="class_ipe_painter.html#542b1a9a0451743db9e96ffb924c525b">Transform</a> (const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &amp;m)
33
 
<li>void <a class="el" href="class_ipe_painter.html#0e7dac3e218d57ad4a3fe80db1b24141">Untransform</a> (bool direct)
34
 
<li>void <a class="el" href="class_ipe_painter.html#79d76e93e35b6850859f14cc9208d57d">Translate</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;v)
35
 
<li>void <a class="el" href="class_ipe_painter.html#275d5459e92a76ad8c9380a623cb5eef">Push</a> ()
36
 
<li>void <a class="el" href="class_ipe_painter.html#4fde81483d7fe886793085de6d20238b">Pop</a> ()
37
 
<li>void <a class="el" href="class_ipe_painter.html#c473e683ac238caac0706d06998e8dbf">NewPath</a> ()
38
 
<li>void <a class="el" href="class_ipe_painter.html#f2159ba549b4fbf3e2f2c23859705291">MoveTo</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;v)
39
 
<li>void <a class="el" href="class_ipe_painter.html#adac7e62f1d8067e071f56cb76f95c63">LineTo</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;v)
40
 
<li>void <a class="el" href="class_ipe_painter.html#a6742c550500bd93b2fb2380f6ad6823">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)
41
 
<li>void <a class="el" href="class_ipe_painter.html#2c546d317c62ee0cd11d8623749b5330">CurveTo</a> (const <a class="el" href="class_ipe_bezier.html">IpeBezier</a> &amp;bezier)
42
 
<li>virtual void <a class="el" href="class_ipe_painter.html#07bb41e84cf2c9c7640bd226006e8fcf">Rect</a> (const <a class="el" href="class_ipe_rect.html">IpeRect</a> &amp;re)
43
 
<li>void <a class="el" href="class_ipe_painter.html#58d5d760d6266564925eb2841285f303">DrawEllipse</a> ()
44
 
<li>void <a class="el" href="class_ipe_painter.html#b40c24fa97b144e7dc9547d96257b5bc">DrawArc</a> (double alpha)
45
 
<li>void <a class="el" href="class_ipe_painter.html#f45e5265277c48de7417867149d76061">ClosePath</a> ()
46
 
<li>void <a class="el" href="class_ipe_painter.html#638f3a2323e90ac10f7761924261dc4b">DrawPath</a> ()
47
 
<li>void <a class="el" href="class_ipe_painter.html#06a322ba34130549246aff02fb622a4b">DrawBitmap</a> (<a class="el" href="class_ipe_bitmap.html">IpeBitmap</a> bitmap)
48
 
<li>void <a class="el" href="class_ipe_painter.html#ca512ad294b85aba99ca70af9638a261">DrawText</a> (const <a class="el" href="class_ipe_text.html">IpeText</a> *text)
49
 
<li>void <a class="el" href="class_ipe_painter.html#f3ad8afadb535b238cd20f643024b66a">SetStroke</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> color)
50
 
<li>void <a class="el" href="class_ipe_painter.html#28f0745abcfc4a583c1b3d3bcfb3b8ea">SetFill</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> color)
51
 
<li>void <a class="el" href="class_ipe_painter.html#183308172e3a68e9a1c9929e960b34bf">SetLineWidth</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> wid)
52
 
<li>void <a class="el" href="class_ipe_painter.html#a99bd83cc0a0b267d804169fbb4bd443">SetDashStyle</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> dash)
53
 
<li>void <a class="el" href="class_ipe_painter.html#433e3be9d83e3e00b1bc6e7a7fd4875b">SetLineCap</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> cap)
54
 
<li>void <a class="el" href="class_ipe_painter.html#df2c9ec9c55168e4b90f52a403f0320d">SetLineJoin</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> join)
55
 
<li>void <a class="el" href="class_ipe_painter.html#6d2a72b70c2280ee32b3a6db711de92b">SetWindRule</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> rule)
56
 
<li>void <a class="el" href="class_ipe_painter.html#7ea3a5bac137d88d688f94340de70927">SetTextSize</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> size)
57
 
<li>void <a class="el" href="class_ipe_painter.html#c2053520ba1984426664e663f22ace55">SetMarkSize</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> size)
58
 
<li>void <a class="el" href="class_ipe_painter.html#42689f00801344b78ea00a261e912a57">SetMarkShape</a> (int shape)
59
 
<li>const <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> * <a class="el" href="class_ipe_painter.html#f9dbf422454749ec7fbc342e3b62899d">StyleSheet</a> () const
60
 
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_painter.html#a16a77ab52b1da7345b02814142719e2">Stroke</a> () const
61
 
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_painter.html#7723d2c28be7dd411d11c546bd9ff633">Fill</a> () const
62
 
<li>const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &amp; <a class="el" href="class_ipe_painter.html#49e2d418104a13fd286a8cad677b1df4">Matrix</a> () const
63
 
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_painter.html#8a902a965fdb44294b8639537c7665c2">LineWidth</a> () const
64
 
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_painter.html#57066a1eb63160e3a9ba3c6bc62fbee5">DashStyle</a> () const
65
 
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_painter.html#285b1937cd1a5829e71da880a590b119">LineCap</a> () const
66
 
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_painter.html#127e5aa89c738770abd8d7bb839d1318">LineJoin</a> () const
67
 
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_painter.html#8bf880fd876a0bb4490567436b849c08">WindRule</a> () const
68
 
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_painter.html#a1da6ae8aba94dbdac52db0cbd903968">TextSize</a> () const
69
 
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_painter.html#ad0546bb83e1fba388758af9c9c37d47">MarkSize</a> () const
70
 
<li>int <a class="el" href="class_ipe_painter.html#27b0be585067c6c4a57888359103ba3e">MarkShape</a> () const
71
 
<li>const <a class="el" href="class_ipe_repository.html">IpeRepository</a> * <a class="el" href="class_ipe_painter.html#cbd734491f135ef73aed5ee619425abd">Repository</a> () const
72
 
</ul>
73
 
<h2>Protected Types</h2>
74
 
<ul>
75
 
<li><a class="anchor" name="c4fc8f3a2887cb4ae681cf66b6fb67ec"></a><!-- doxytag: member="IpePainter::StateSeq" ref="c4fc8f3a2887cb4ae681cf66b6fb67ec" args="" -->
76
 
typedef std::list&lt; State &gt; <b>StateSeq</b>
77
 
</ul>
78
 
<h2>Protected Member Functions</h2>
79
 
<ul>
80
 
<li>virtual void <a class="el" href="class_ipe_painter.html#0bf81a36d0b1bc422bcab11859472fc5">DoPush</a> ()
81
 
<li>virtual void <a class="el" href="class_ipe_painter.html#896d7e9906077587cf57ae909a805727">DoPop</a> ()
82
 
<li>virtual void <a class="el" href="class_ipe_painter.html#5d234ec0edab0ab40dab027cd73d7715">DoNewPath</a> ()
83
 
<li>virtual void <a class="el" href="class_ipe_painter.html#9dd7cfe4535a9432629c4f9e6b55b32c">DoMoveTo</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;v)
84
 
<li>virtual void <a class="el" href="class_ipe_painter.html#e98da435504a0af7b2d43b11f5f833a0">DoLineTo</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;v)
85
 
<li>virtual void <a class="el" href="class_ipe_painter.html#236305daf03a444c17b8afc357f96038">DoCurveTo</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)
86
 
<li>virtual void <a class="el" href="class_ipe_painter.html#35f44448303aaf635b1b64bd756c0374">DoClosePath</a> ()
87
 
<li>virtual void <a class="el" href="class_ipe_painter.html#6f1e38d86a1fb3f9b44694f24ea876c3">DoDrawPath</a> ()
88
 
<li>virtual void <a class="el" href="class_ipe_painter.html#925ff79289ebceb6c640f8fecb3d75bf">DoDrawBitmap</a> (<a class="el" href="class_ipe_bitmap.html">IpeBitmap</a> bitmap)
89
 
<li>virtual void <a class="el" href="class_ipe_painter.html#16cc51ba8861d3ee94b5c61564b0e0d7">DoDrawText</a> (const <a class="el" href="class_ipe_text.html">IpeText</a> *text)
90
 
</ul>
91
 
<h2>Protected Attributes</h2>
92
 
<ul>
93
 
<li><a class="anchor" name="741ad039cd82857b3f0e8b8d25a2cf29"></a><!-- doxytag: member="IpePainter::iState" ref="741ad039cd82857b3f0e8b8d25a2cf29" args="" -->
94
 
StateSeq <b>iState</b>
95
 
<li><a class="anchor" name="29413fb1a45eaa6c6c6480db3b9adf04"></a><!-- doxytag: member="IpePainter::iStyleSheet" ref="29413fb1a45eaa6c6c6480db3b9adf04" args="" -->
96
 
const <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> * <b>iStyleSheet</b>
97
 
<li><a class="anchor" name="f24379c8b60e06fffefbe9cc7d9c46e9"></a><!-- doxytag: member="IpePainter::iInPath" ref="f24379c8b60e06fffefbe9cc7d9c46e9" args="" -->
98
 
int <b>iInPath</b>
99
 
</ul>
100
 
<hr><a name="_details"></a><h2>Detailed Description</h2>
101
 
Interface for drawing. 
102
 
<p>
103
 
IpePainter-derived classes are used for drawing to the screen and for generating PDF and Postscript output.<p>
104
 
The <a class="el" href="class_ipe_painter.html">IpePainter</a> 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 <a class="el" href="class_ipe_painter.html">IpePainter</a> class takes care of maintaining this stack, and setting of the attributes in the current graphics state.<p>
105
 
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 <a class="el" href="class_ipe_painter.html">IpePainter</a>, so calling the <a class="el" href="class_ipe_painter.html#a16a77ab52b1da7345b02814142719e2">Stroke()</a> or <a class="el" href="class_ipe_painter.html#7723d2c28be7dd411d11c546bd9ff633">Fill()</a> methods of <a class="el" href="class_ipe_painter.html">IpePainter</a> will return the current absolute color.<p>
106
 
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>
107
 
A null fill color is drawn as if it was void. Ipe objects exploit this: only group objects ever need to explicitly contain a 'void' fill color.<p>
108
 
A null stroke color means not to draw any outline on paths. This is only meant to support old Ipe files (before 6.0 pre 25).<p>
109
 
The correct way to draw filled objects without boundary is to set the line style to 'void'.<p>
110
 
A null dash style is drawn as solid.<p>
111
 
A null line width is drawn as whatever is the standard of the drawing medium (that is, as line width 0).<p>
112
 
The painter is either in "general" or in "path construction" mode. The <a class="el" href="class_ipe_painter.html#c473e683ac238caac0706d06998e8dbf">NewPath()</a> member starts path construction mode. In this mode, only the path construction operators (MoveTo, LineTo, CurveTo, Rect, DrawArc, DrawEllipse, ClosePath), the transformation operators (Transform, Untransform, Translate), and the stack operators (Push, Pop) are admissible. (Pushs and pops must balance inside path construction. Note that pushs and pops inside path construction only affect the current (painter-internal) tranformation matrix, they do not generate Postscript gsave/grestore operators.) The path is drawn using DrawPath, this ends path construction mode. Path construction operators cannot be used in general mode.<p>
113
 
Derived classes need to implement the DoXXX functions for drawing paths, images, and texts. 
114
 
<p>
115
 
<hr><h2>Constructor &amp; Destructor Documentation</h2>
116
 
<a class="anchor" name="54f550c1d1435858f213dbb3b9a78ac9"></a><!-- doxytag: member="IpePainter::IpePainter" ref="54f550c1d1435858f213dbb3b9a78ac9" args="(const IpeStyleSheet *style)" -->
117
 
<div class="memitem">
118
 
<div class="memproto">
119
 
      <table class="memname">
120
 
        <tr>
121
 
          <td class="memname">IpePainter::IpePainter           </td>
122
 
          <td>(</td>
123
 
          <td class="paramtype">const <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> *&nbsp;</td>
124
 
          <td class="paramname"> <em>style</em>          </td>
125
 
          <td>&nbsp;)&nbsp;</td>
126
 
          <td width="100%"></td>
127
 
        </tr>
128
 
      </table>
129
 
</div>
130
 
<div class="memdoc">
131
 
 
132
 
<p>
133
 
Constructor takes a (cascaded) style sheet, which is not owned. 
134
 
<p>
135
 
The initial graphics state contains all null attributes. 
136
 
</div>
137
 
</div><p>
138
 
<a class="anchor" name="f9d6507a42a6680b3beb71633a89fdbd"></a><!-- doxytag: member="IpePainter::~IpePainter" ref="f9d6507a42a6680b3beb71633a89fdbd" args="()" -->
139
 
<div class="memitem">
140
 
<div class="memproto">
141
 
      <table class="memname">
142
 
        <tr>
143
 
          <td class="memname">IpePainter::~IpePainter           </td>
144
 
          <td>(</td>
145
 
          <td class="paramname">          </td>
146
 
          <td>&nbsp;)&nbsp;</td>
147
 
          <td width="100%"><code> [virtual]</code></td>
148
 
        </tr>
149
 
      </table>
150
 
</div>
151
 
<div class="memdoc">
152
 
 
153
 
<p>
154
 
Virtual destructor. 
155
 
<p>
156
 
 
157
 
</div>
158
 
</div><p>
159
 
<hr><h2>Member Function Documentation</h2>
160
 
<a class="anchor" name="542b1a9a0451743db9e96ffb924c525b"></a><!-- doxytag: member="IpePainter::Transform" ref="542b1a9a0451743db9e96ffb924c525b" args="(const IpeMatrix &amp;m)" -->
161
 
<div class="memitem">
162
 
<div class="memproto">
163
 
      <table class="memname">
164
 
        <tr>
165
 
          <td class="memname">void IpePainter::Transform           </td>
166
 
          <td>(</td>
167
 
          <td class="paramtype">const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &amp;&nbsp;</td>
168
 
          <td class="paramname"> <em>m</em>          </td>
169
 
          <td>&nbsp;)&nbsp;</td>
170
 
          <td width="100%"></td>
171
 
        </tr>
172
 
      </table>
173
 
</div>
174
 
<div class="memdoc">
175
 
 
176
 
<p>
177
 
Concatenate a matrix to current transformation matrix. 
178
 
<p>
179
 
 
180
 
</div>
181
 
</div><p>
182
 
<a class="anchor" name="0e7dac3e218d57ad4a3fe80db1b24141"></a><!-- doxytag: member="IpePainter::Untransform" ref="0e7dac3e218d57ad4a3fe80db1b24141" args="(bool direct)" -->
183
 
<div class="memitem">
184
 
<div class="memproto">
185
 
      <table class="memname">
186
 
        <tr>
187
 
          <td class="memname">void IpePainter::Untransform           </td>
188
 
          <td>(</td>
189
 
          <td class="paramtype">bool&nbsp;</td>
190
 
          <td class="paramname"> <em>direct</em>          </td>
191
 
          <td>&nbsp;)&nbsp;</td>
192
 
          <td width="100%"></td>
193
 
        </tr>
194
 
      </table>
195
 
</div>
196
 
<div class="memdoc">
197
 
 
198
 
<p>
199
 
Reset transformation to original one, but with different origin/direction. 
200
 
<p>
201
 
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. 
202
 
</div>
203
 
</div><p>
204
 
<a class="anchor" name="79d76e93e35b6850859f14cc9208d57d"></a><!-- doxytag: member="IpePainter::Translate" ref="79d76e93e35b6850859f14cc9208d57d" args="(const IpeVector &amp;v)" -->
205
 
<div class="memitem">
206
 
<div class="memproto">
207
 
      <table class="memname">
208
 
        <tr>
209
 
          <td class="memname">void IpePainter::Translate           </td>
210
 
          <td>(</td>
211
 
          <td class="paramtype">const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
212
 
          <td class="paramname"> <em>v</em>          </td>
213
 
          <td>&nbsp;)&nbsp;</td>
214
 
          <td width="100%"></td>
215
 
        </tr>
216
 
      </table>
217
 
</div>
218
 
<div class="memdoc">
219
 
 
220
 
<p>
221
 
Concatenate a translation to current transformation matrix. 
222
 
<p>
223
 
 
224
 
</div>
225
 
</div><p>
226
 
<a class="anchor" name="275d5459e92a76ad8c9380a623cb5eef"></a><!-- doxytag: member="IpePainter::Push" ref="275d5459e92a76ad8c9380a623cb5eef" args="()" -->
227
 
<div class="memitem">
228
 
<div class="memproto">
229
 
      <table class="memname">
230
 
        <tr>
231
 
          <td class="memname">void IpePainter::Push           </td>
232
 
          <td>(</td>
233
 
          <td class="paramname">          </td>
234
 
          <td>&nbsp;)&nbsp;</td>
235
 
          <td width="100%"></td>
236
 
        </tr>
237
 
      </table>
238
 
</div>
239
 
<div class="memdoc">
240
 
 
241
 
<p>
242
 
Save current graphics state. 
243
 
<p>
244
 
 
245
 
</div>
246
 
</div><p>
247
 
<a class="anchor" name="4fde81483d7fe886793085de6d20238b"></a><!-- doxytag: member="IpePainter::Pop" ref="4fde81483d7fe886793085de6d20238b" args="()" -->
248
 
<div class="memitem">
249
 
<div class="memproto">
250
 
      <table class="memname">
251
 
        <tr>
252
 
          <td class="memname">void IpePainter::Pop           </td>
253
 
          <td>(</td>
254
 
          <td class="paramname">          </td>
255
 
          <td>&nbsp;)&nbsp;</td>
256
 
          <td width="100%"></td>
257
 
        </tr>
258
 
      </table>
259
 
</div>
260
 
<div class="memdoc">
261
 
 
262
 
<p>
263
 
Restore previous graphics state. 
264
 
<p>
265
 
 
266
 
</div>
267
 
</div><p>
268
 
<a class="anchor" name="c473e683ac238caac0706d06998e8dbf"></a><!-- doxytag: member="IpePainter::NewPath" ref="c473e683ac238caac0706d06998e8dbf" args="()" -->
269
 
<div class="memitem">
270
 
<div class="memproto">
271
 
      <table class="memname">
272
 
        <tr>
273
 
          <td class="memname">void IpePainter::NewPath           </td>
274
 
          <td>(</td>
275
 
          <td class="paramname">          </td>
276
 
          <td>&nbsp;)&nbsp;</td>
277
 
          <td width="100%"></td>
278
 
        </tr>
279
 
      </table>
280
 
</div>
281
 
<div class="memdoc">
282
 
 
283
 
<p>
284
 
Enter path construction mode. 
285
 
<p>
286
 
 
287
 
</div>
288
 
</div><p>
289
 
<a class="anchor" name="f2159ba549b4fbf3e2f2c23859705291"></a><!-- doxytag: member="IpePainter::MoveTo" ref="f2159ba549b4fbf3e2f2c23859705291" args="(const IpeVector &amp;v)" -->
290
 
<div class="memitem">
291
 
<div class="memproto">
292
 
      <table class="memname">
293
 
        <tr>
294
 
          <td class="memname">void IpePainter::MoveTo           </td>
295
 
          <td>(</td>
296
 
          <td class="paramtype">const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
297
 
          <td class="paramname"> <em>v</em>          </td>
298
 
          <td>&nbsp;)&nbsp;</td>
299
 
          <td width="100%"></td>
300
 
        </tr>
301
 
      </table>
302
 
</div>
303
 
<div class="memdoc">
304
 
 
305
 
<p>
306
 
Start a new subpath. 
307
 
<p>
308
 
 
309
 
</div>
310
 
</div><p>
311
 
<a class="anchor" name="adac7e62f1d8067e071f56cb76f95c63"></a><!-- doxytag: member="IpePainter::LineTo" ref="adac7e62f1d8067e071f56cb76f95c63" args="(const IpeVector &amp;v)" -->
312
 
<div class="memitem">
313
 
<div class="memproto">
314
 
      <table class="memname">
315
 
        <tr>
316
 
          <td class="memname">void IpePainter::LineTo           </td>
317
 
          <td>(</td>
318
 
          <td class="paramtype">const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
319
 
          <td class="paramname"> <em>v</em>          </td>
320
 
          <td>&nbsp;)&nbsp;</td>
321
 
          <td width="100%"></td>
322
 
        </tr>
323
 
      </table>
324
 
</div>
325
 
<div class="memdoc">
326
 
 
327
 
<p>
328
 
Add line segment to current subpath. 
329
 
<p>
330
 
 
331
 
</div>
332
 
</div><p>
333
 
<a class="anchor" name="a6742c550500bd93b2fb2380f6ad6823"></a><!-- doxytag: member="IpePainter::CurveTo" ref="a6742c550500bd93b2fb2380f6ad6823" args="(const IpeVector &amp;v1, const IpeVector &amp;v2, const IpeVector &amp;v3)" -->
334
 
<div class="memitem">
335
 
<div class="memproto">
336
 
      <table class="memname">
337
 
        <tr>
338
 
          <td class="memname">void IpePainter::CurveTo           </td>
339
 
          <td>(</td>
340
 
          <td class="paramtype">const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
341
 
          <td class="paramname"> <em>v1</em>, </td>
342
 
        </tr>
343
 
        <tr>
344
 
          <td class="paramkey"></td>
345
 
          <td></td>
346
 
          <td class="paramtype">const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
347
 
          <td class="paramname"> <em>v2</em>, </td>
348
 
        </tr>
349
 
        <tr>
350
 
          <td class="paramkey"></td>
351
 
          <td></td>
352
 
          <td class="paramtype">const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
353
 
          <td class="paramname"> <em>v3</em></td><td>&nbsp;</td>
354
 
        </tr>
355
 
        <tr>
356
 
          <td></td>
357
 
          <td>)</td>
358
 
          <td></td><td></td><td width="100%"></td>
359
 
        </tr>
360
 
      </table>
361
 
</div>
362
 
<div class="memdoc">
363
 
 
364
 
<p>
365
 
Add a Bezier segment to current subpath. 
366
 
<p>
367
 
 
368
 
</div>
369
 
</div><p>
370
 
<a class="anchor" name="2c546d317c62ee0cd11d8623749b5330"></a><!-- doxytag: member="IpePainter::CurveTo" ref="2c546d317c62ee0cd11d8623749b5330" args="(const IpeBezier &amp;bezier)" -->
371
 
<div class="memitem">
372
 
<div class="memproto">
373
 
      <table class="memname">
374
 
        <tr>
375
 
          <td class="memname">void IpePainter::CurveTo           </td>
376
 
          <td>(</td>
377
 
          <td class="paramtype">const <a class="el" href="class_ipe_bezier.html">IpeBezier</a> &amp;&nbsp;</td>
378
 
          <td class="paramname"> <em>bezier</em>          </td>
379
 
          <td>&nbsp;)&nbsp;</td>
380
 
          <td width="100%"><code> [inline]</code></td>
381
 
        </tr>
382
 
      </table>
383
 
</div>
384
 
<div class="memdoc">
385
 
 
386
 
<p>
387
 
Overloaded function. 
388
 
<p>
389
 
Assumes current position is <code>bezier.iV</code>[0] 
390
 
</div>
391
 
</div><p>
392
 
<a class="anchor" name="07bb41e84cf2c9c7640bd226006e8fcf"></a><!-- doxytag: member="IpePainter::Rect" ref="07bb41e84cf2c9c7640bd226006e8fcf" args="(const IpeRect &amp;re)" -->
393
 
<div class="memitem">
394
 
<div class="memproto">
395
 
      <table class="memname">
396
 
        <tr>
397
 
          <td class="memname">void IpePainter::Rect           </td>
398
 
          <td>(</td>
399
 
          <td class="paramtype">const <a class="el" href="class_ipe_rect.html">IpeRect</a> &amp;&nbsp;</td>
400
 
          <td class="paramname"> <em>re</em>          </td>
401
 
          <td>&nbsp;)&nbsp;</td>
402
 
          <td width="100%"><code> [virtual]</code></td>
403
 
        </tr>
404
 
      </table>
405
 
</div>
406
 
<div class="memdoc">
407
 
 
408
 
<p>
409
 
Add a rectangle subpath to the path. 
410
 
<p>
411
 
Has a default implementation in terms of MoveTo and LineTo, but derived classes can reimplement for efficiency. 
412
 
</div>
413
 
</div><p>
414
 
<a class="anchor" name="58d5d760d6266564925eb2841285f303"></a><!-- doxytag: member="IpePainter::DrawEllipse" ref="58d5d760d6266564925eb2841285f303" args="()" -->
415
 
<div class="memitem">
416
 
<div class="memproto">
417
 
      <table class="memname">
418
 
        <tr>
419
 
          <td class="memname">void IpePainter::DrawEllipse           </td>
420
 
          <td>(</td>
421
 
          <td class="paramname">          </td>
422
 
          <td>&nbsp;)&nbsp;</td>
423
 
          <td width="100%"></td>
424
 
        </tr>
425
 
      </table>
426
 
</div>
427
 
<div class="memdoc">
428
 
 
429
 
<p>
430
 
Draw the unit circle. 
431
 
<p>
432
 
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>
433
 
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>
434
 
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>
435
 
This does not modify the transformation matrix. The path is generated as a sequence MoveTo .. CurveTo .. ClosePath operators, but is not actually drawn (DrawPath is not called). 
436
 
</div>
437
 
</div><p>
438
 
<a class="anchor" name="b40c24fa97b144e7dc9547d96257b5bc"></a><!-- doxytag: member="IpePainter::DrawArc" ref="b40c24fa97b144e7dc9547d96257b5bc" args="(double alpha)" -->
439
 
<div class="memitem">
440
 
<div class="memproto">
441
 
      <table class="memname">
442
 
        <tr>
443
 
          <td class="memname">void IpePainter::DrawArc           </td>
444
 
          <td>(</td>
445
 
          <td class="paramtype">double&nbsp;</td>
446
 
          <td class="paramname"> <em>alpha</em>          </td>
447
 
          <td>&nbsp;)&nbsp;</td>
448
 
          <td width="100%"></td>
449
 
        </tr>
450
 
      </table>
451
 
</div>
452
 
<div class="memdoc">
453
 
 
454
 
<p>
455
 
Draw an arc of the unit circle of length <em>alpha</em>. 
456
 
<p>
457
 
<em>alpha</em> is normalized to [0, 2 pi], and applied starting from the point (1,0).<p>
458
 
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>
459
 
This function may modify the transformation matrix. 
460
 
</div>
461
 
</div><p>
462
 
<a class="anchor" name="f45e5265277c48de7417867149d76061"></a><!-- doxytag: member="IpePainter::ClosePath" ref="f45e5265277c48de7417867149d76061" args="()" -->
463
 
<div class="memitem">
464
 
<div class="memproto">
465
 
      <table class="memname">
466
 
        <tr>
467
 
          <td class="memname">void IpePainter::ClosePath           </td>
468
 
          <td>(</td>
469
 
          <td class="paramname">          </td>
470
 
          <td>&nbsp;)&nbsp;</td>
471
 
          <td width="100%"></td>
472
 
        </tr>
473
 
      </table>
474
 
</div>
475
 
<div class="memdoc">
476
 
 
477
 
<p>
478
 
Close the current subpath. 
479
 
<p>
480
 
 
481
 
</div>
482
 
</div><p>
483
 
<a class="anchor" name="638f3a2323e90ac10f7761924261dc4b"></a><!-- doxytag: member="IpePainter::DrawPath" ref="638f3a2323e90ac10f7761924261dc4b" args="()" -->
484
 
<div class="memitem">
485
 
<div class="memproto">
486
 
      <table class="memname">
487
 
        <tr>
488
 
          <td class="memname">void IpePainter::DrawPath           </td>
489
 
          <td>(</td>
490
 
          <td class="paramname">          </td>
491
 
          <td>&nbsp;)&nbsp;</td>
492
 
          <td width="100%"></td>
493
 
        </tr>
494
 
      </table>
495
 
</div>
496
 
<div class="memdoc">
497
 
 
498
 
<p>
499
 
Fill and/or stroke a path (depending on color). 
500
 
<p>
501
 
As in PDF, an "path" can consist of several subpaths. 
502
 
</div>
503
 
</div><p>
504
 
<a class="anchor" name="06a322ba34130549246aff02fb622a4b"></a><!-- doxytag: member="IpePainter::DrawBitmap" ref="06a322ba34130549246aff02fb622a4b" args="(IpeBitmap bitmap)" -->
505
 
<div class="memitem">
506
 
<div class="memproto">
507
 
      <table class="memname">
508
 
        <tr>
509
 
          <td class="memname">void IpePainter::DrawBitmap           </td>
510
 
          <td>(</td>
511
 
          <td class="paramtype"><a class="el" href="class_ipe_bitmap.html">IpeBitmap</a>&nbsp;</td>
512
 
          <td class="paramname"> <em>bitmap</em>          </td>
513
 
          <td>&nbsp;)&nbsp;</td>
514
 
          <td width="100%"></td>
515
 
        </tr>
516
 
      </table>
517
 
</div>
518
 
<div class="memdoc">
519
 
 
520
 
<p>
521
 
Render a bitmap. 
522
 
<p>
523
 
Assumes the transformation matrix has been set up to map the unit square to the image area on the paper. 
524
 
</div>
525
 
</div><p>
526
 
<a class="anchor" name="ca512ad294b85aba99ca70af9638a261"></a><!-- doxytag: member="IpePainter::DrawText" ref="ca512ad294b85aba99ca70af9638a261" args="(const IpeText *text)" -->
527
 
<div class="memitem">
528
 
<div class="memproto">
529
 
      <table class="memname">
530
 
        <tr>
531
 
          <td class="memname">void IpePainter::DrawText           </td>
532
 
          <td>(</td>
533
 
          <td class="paramtype">const <a class="el" href="class_ipe_text.html">IpeText</a> *&nbsp;</td>
534
 
          <td class="paramname"> <em>text</em>          </td>
535
 
          <td>&nbsp;)&nbsp;</td>
536
 
          <td width="100%"></td>
537
 
        </tr>
538
 
      </table>
539
 
</div>
540
 
<div class="memdoc">
541
 
 
542
 
<p>
543
 
Render a text object. 
544
 
<p>
545
 
Stroke color is already set, and the origin is the lower-left corner of the text box. 
546
 
</div>
547
 
</div><p>
548
 
<a class="anchor" name="f3ad8afadb535b238cd20f643024b66a"></a><!-- doxytag: member="IpePainter::SetStroke" ref="f3ad8afadb535b238cd20f643024b66a" args="(IpeAttribute color)" -->
549
 
<div class="memitem">
550
 
<div class="memproto">
551
 
      <table class="memname">
552
 
        <tr>
553
 
          <td class="memname">void IpePainter::SetStroke           </td>
554
 
          <td>(</td>
555
 
          <td class="paramtype"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
556
 
          <td class="paramname"> <em>color</em>          </td>
557
 
          <td>&nbsp;)&nbsp;</td>
558
 
          <td width="100%"></td>
559
 
        </tr>
560
 
      </table>
561
 
</div>
562
 
<div class="memdoc">
563
 
 
564
 
<p>
565
 
Set stroke color, resolving symbolic color. 
566
 
<p>
567
 
 
568
 
</div>
569
 
</div><p>
570
 
<a class="anchor" name="28f0745abcfc4a583c1b3d3bcfb3b8ea"></a><!-- doxytag: member="IpePainter::SetFill" ref="28f0745abcfc4a583c1b3d3bcfb3b8ea" args="(IpeAttribute color)" -->
571
 
<div class="memitem">
572
 
<div class="memproto">
573
 
      <table class="memname">
574
 
        <tr>
575
 
          <td class="memname">void IpePainter::SetFill           </td>
576
 
          <td>(</td>
577
 
          <td class="paramtype"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
578
 
          <td class="paramname"> <em>color</em>          </td>
579
 
          <td>&nbsp;)&nbsp;</td>
580
 
          <td width="100%"></td>
581
 
        </tr>
582
 
      </table>
583
 
</div>
584
 
<div class="memdoc">
585
 
 
586
 
<p>
587
 
Set fill color, resolving symbolic color. 
588
 
<p>
589
 
A null fill color will ultimately be rendered as void. 
590
 
</div>
591
 
</div><p>
592
 
<a class="anchor" name="183308172e3a68e9a1c9929e960b34bf"></a><!-- doxytag: member="IpePainter::SetLineWidth" ref="183308172e3a68e9a1c9929e960b34bf" args="(IpeAttribute wid)" -->
593
 
<div class="memitem">
594
 
<div class="memproto">
595
 
      <table class="memname">
596
 
        <tr>
597
 
          <td class="memname">void IpePainter::SetLineWidth           </td>
598
 
          <td>(</td>
599
 
          <td class="paramtype"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
600
 
          <td class="paramname"> <em>wid</em>          </td>
601
 
          <td>&nbsp;)&nbsp;</td>
602
 
          <td width="100%"></td>
603
 
        </tr>
604
 
      </table>
605
 
</div>
606
 
<div class="memdoc">
607
 
 
608
 
<p>
609
 
Set line width, resolving symbolic value. 
610
 
<p>
611
 
 
612
 
</div>
613
 
</div><p>
614
 
<a class="anchor" name="a99bd83cc0a0b267d804169fbb4bd443"></a><!-- doxytag: member="IpePainter::SetDashStyle" ref="a99bd83cc0a0b267d804169fbb4bd443" args="(IpeAttribute dash)" -->
615
 
<div class="memitem">
616
 
<div class="memproto">
617
 
      <table class="memname">
618
 
        <tr>
619
 
          <td class="memname">void IpePainter::SetDashStyle           </td>
620
 
          <td>(</td>
621
 
          <td class="paramtype"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
622
 
          <td class="paramname"> <em>dash</em>          </td>
623
 
          <td>&nbsp;)&nbsp;</td>
624
 
          <td width="100%"></td>
625
 
        </tr>
626
 
      </table>
627
 
</div>
628
 
<div class="memdoc">
629
 
 
630
 
<p>
631
 
Set dash style, resolving symbolic value. 
632
 
<p>
633
 
 
634
 
</div>
635
 
</div><p>
636
 
<a class="anchor" name="433e3be9d83e3e00b1bc6e7a7fd4875b"></a><!-- doxytag: member="IpePainter::SetLineCap" ref="433e3be9d83e3e00b1bc6e7a7fd4875b" args="(IpeAttribute cap)" -->
637
 
<div class="memitem">
638
 
<div class="memproto">
639
 
      <table class="memname">
640
 
        <tr>
641
 
          <td class="memname">void IpePainter::SetLineCap           </td>
642
 
          <td>(</td>
643
 
          <td class="paramtype"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
644
 
          <td class="paramname"> <em>cap</em>          </td>
645
 
          <td>&nbsp;)&nbsp;</td>
646
 
          <td width="100%"></td>
647
 
        </tr>
648
 
      </table>
649
 
</div>
650
 
<div class="memdoc">
651
 
 
652
 
<p>
653
 
Set line cap. 
654
 
<p>
655
 
 
656
 
</div>
657
 
</div><p>
658
 
<a class="anchor" name="df2c9ec9c55168e4b90f52a403f0320d"></a><!-- doxytag: member="IpePainter::SetLineJoin" ref="df2c9ec9c55168e4b90f52a403f0320d" args="(IpeAttribute join)" -->
659
 
<div class="memitem">
660
 
<div class="memproto">
661
 
      <table class="memname">
662
 
        <tr>
663
 
          <td class="memname">void IpePainter::SetLineJoin           </td>
664
 
          <td>(</td>
665
 
          <td class="paramtype"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
666
 
          <td class="paramname"> <em>join</em>          </td>
667
 
          <td>&nbsp;)&nbsp;</td>
668
 
          <td width="100%"></td>
669
 
        </tr>
670
 
      </table>
671
 
</div>
672
 
<div class="memdoc">
673
 
 
674
 
<p>
675
 
Set line join. 
676
 
<p>
677
 
 
678
 
</div>
679
 
</div><p>
680
 
<a class="anchor" name="6d2a72b70c2280ee32b3a6db711de92b"></a><!-- doxytag: member="IpePainter::SetWindRule" ref="6d2a72b70c2280ee32b3a6db711de92b" args="(IpeAttribute rule)" -->
681
 
<div class="memitem">
682
 
<div class="memproto">
683
 
      <table class="memname">
684
 
        <tr>
685
 
          <td class="memname">void IpePainter::SetWindRule           </td>
686
 
          <td>(</td>
687
 
          <td class="paramtype"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
688
 
          <td class="paramname"> <em>rule</em>          </td>
689
 
          <td>&nbsp;)&nbsp;</td>
690
 
          <td width="100%"></td>
691
 
        </tr>
692
 
      </table>
693
 
</div>
694
 
<div class="memdoc">
695
 
 
696
 
<p>
697
 
Set wind rule (wind or even-odd). 
698
 
<p>
699
 
 
700
 
</div>
701
 
</div><p>
702
 
<a class="anchor" name="7ea3a5bac137d88d688f94340de70927"></a><!-- doxytag: member="IpePainter::SetTextSize" ref="7ea3a5bac137d88d688f94340de70927" args="(IpeAttribute size)" -->
703
 
<div class="memitem">
704
 
<div class="memproto">
705
 
      <table class="memname">
706
 
        <tr>
707
 
          <td class="memname">void IpePainter::SetTextSize           </td>
708
 
          <td>(</td>
709
 
          <td class="paramtype"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
710
 
          <td class="paramname"> <em>size</em>          </td>
711
 
          <td>&nbsp;)&nbsp;</td>
712
 
          <td width="100%"></td>
713
 
        </tr>
714
 
      </table>
715
 
</div>
716
 
<div class="memdoc">
717
 
 
718
 
<p>
719
 
Set font size of text objects. 
720
 
<p>
721
 
Paradoxically, this isn't actually used to render text, but for saving Ipegroup objects! Text goes through the <a class="el" href="class_ipe_latex.html">IpeLatex</a> interface, and the visitor that scans for text objects and writes them to the Latex source file finds the text size information itself. 
722
 
</div>
723
 
</div><p>
724
 
<a class="anchor" name="c2053520ba1984426664e663f22ace55"></a><!-- doxytag: member="IpePainter::SetMarkSize" ref="c2053520ba1984426664e663f22ace55" args="(IpeAttribute size)" -->
725
 
<div class="memitem">
726
 
<div class="memproto">
727
 
      <table class="memname">
728
 
        <tr>
729
 
          <td class="memname">void IpePainter::SetMarkSize           </td>
730
 
          <td>(</td>
731
 
          <td class="paramtype"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
732
 
          <td class="paramname"> <em>size</em>          </td>
733
 
          <td>&nbsp;)&nbsp;</td>
734
 
          <td width="100%"></td>
735
 
        </tr>
736
 
      </table>
737
 
</div>
738
 
<div class="memdoc">
739
 
 
740
 
<p>
741
 
Set size of mark objects. 
742
 
<p>
743
 
 
744
 
</div>
745
 
</div><p>
746
 
<a class="anchor" name="42689f00801344b78ea00a261e912a57"></a><!-- doxytag: member="IpePainter::SetMarkShape" ref="42689f00801344b78ea00a261e912a57" args="(int shape)" -->
747
 
<div class="memitem">
748
 
<div class="memproto">
749
 
      <table class="memname">
750
 
        <tr>
751
 
          <td class="memname">void IpePainter::SetMarkShape           </td>
752
 
          <td>(</td>
753
 
          <td class="paramtype">int&nbsp;</td>
754
 
          <td class="paramname"> <em>shape</em>          </td>
755
 
          <td>&nbsp;)&nbsp;</td>
756
 
          <td width="100%"></td>
757
 
        </tr>
758
 
      </table>
759
 
</div>
760
 
<div class="memdoc">
761
 
 
762
 
<p>
763
 
Set shape of mark objects. 
764
 
<p>
765
 
 
766
 
</div>
767
 
</div><p>
768
 
<a class="anchor" name="f9dbf422454749ec7fbc342e3b62899d"></a><!-- doxytag: member="IpePainter::StyleSheet" ref="f9dbf422454749ec7fbc342e3b62899d" args="() const" -->
769
 
<div class="memitem">
770
 
<div class="memproto">
771
 
      <table class="memname">
772
 
        <tr>
773
 
          <td class="memname">const <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a>* IpePainter::StyleSheet           </td>
774
 
          <td>(</td>
775
 
          <td class="paramname">          </td>
776
 
          <td>&nbsp;)&nbsp;</td>
777
 
          <td width="100%"> const<code> [inline]</code></td>
778
 
        </tr>
779
 
      </table>
780
 
</div>
781
 
<div class="memdoc">
782
 
 
783
 
<p>
784
 
Return style sheet. 
785
 
<p>
786
 
 
787
 
</div>
788
 
</div><p>
789
 
<a class="anchor" name="a16a77ab52b1da7345b02814142719e2"></a><!-- doxytag: member="IpePainter::Stroke" ref="a16a77ab52b1da7345b02814142719e2" args="() const" -->
790
 
<div class="memitem">
791
 
<div class="memproto">
792
 
      <table class="memname">
793
 
        <tr>
794
 
          <td class="memname"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpePainter::Stroke           </td>
795
 
          <td>(</td>
796
 
          <td class="paramname">          </td>
797
 
          <td>&nbsp;)&nbsp;</td>
798
 
          <td width="100%"> const<code> [inline]</code></td>
799
 
        </tr>
800
 
      </table>
801
 
</div>
802
 
<div class="memdoc">
803
 
 
804
 
<p>
805
 
Return current stroke color (always absolute). 
806
 
<p>
807
 
 
808
 
</div>
809
 
</div><p>
810
 
<a class="anchor" name="7723d2c28be7dd411d11c546bd9ff633"></a><!-- doxytag: member="IpePainter::Fill" ref="7723d2c28be7dd411d11c546bd9ff633" args="() const" -->
811
 
<div class="memitem">
812
 
<div class="memproto">
813
 
      <table class="memname">
814
 
        <tr>
815
 
          <td class="memname"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpePainter::Fill           </td>
816
 
          <td>(</td>
817
 
          <td class="paramname">          </td>
818
 
          <td>&nbsp;)&nbsp;</td>
819
 
          <td width="100%"> const<code> [inline]</code></td>
820
 
        </tr>
821
 
      </table>
822
 
</div>
823
 
<div class="memdoc">
824
 
 
825
 
<p>
826
 
Return current fill color (always absolute). 
827
 
<p>
828
 
 
829
 
</div>
830
 
</div><p>
831
 
<a class="anchor" name="49e2d418104a13fd286a8cad677b1df4"></a><!-- doxytag: member="IpePainter::Matrix" ref="49e2d418104a13fd286a8cad677b1df4" args="() const" -->
832
 
<div class="memitem">
833
 
<div class="memproto">
834
 
      <table class="memname">
835
 
        <tr>
836
 
          <td class="memname">const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a>&amp; IpePainter::Matrix           </td>
837
 
          <td>(</td>
838
 
          <td class="paramname">          </td>
839
 
          <td>&nbsp;)&nbsp;</td>
840
 
          <td width="100%"> const<code> [inline]</code></td>
841
 
        </tr>
842
 
      </table>
843
 
</div>
844
 
<div class="memdoc">
845
 
 
846
 
<p>
847
 
Return current transformation matrix. 
848
 
<p>
849
 
 
850
 
</div>
851
 
</div><p>
852
 
<a class="anchor" name="8a902a965fdb44294b8639537c7665c2"></a><!-- doxytag: member="IpePainter::LineWidth" ref="8a902a965fdb44294b8639537c7665c2" args="() const" -->
853
 
<div class="memitem">
854
 
<div class="memproto">
855
 
      <table class="memname">
856
 
        <tr>
857
 
          <td class="memname"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpePainter::LineWidth           </td>
858
 
          <td>(</td>
859
 
          <td class="paramname">          </td>
860
 
          <td>&nbsp;)&nbsp;</td>
861
 
          <td width="100%"> const<code> [inline]</code></td>
862
 
        </tr>
863
 
      </table>
864
 
</div>
865
 
<div class="memdoc">
866
 
 
867
 
<p>
868
 
Return current line width (always absolute). 
869
 
<p>
870
 
 
871
 
</div>
872
 
</div><p>
873
 
<a class="anchor" name="57066a1eb63160e3a9ba3c6bc62fbee5"></a><!-- doxytag: member="IpePainter::DashStyle" ref="57066a1eb63160e3a9ba3c6bc62fbee5" args="() const" -->
874
 
<div class="memitem">
875
 
<div class="memproto">
876
 
      <table class="memname">
877
 
        <tr>
878
 
          <td class="memname"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpePainter::DashStyle           </td>
879
 
          <td>(</td>
880
 
          <td class="paramname">          </td>
881
 
          <td>&nbsp;)&nbsp;</td>
882
 
          <td width="100%"> const<code> [inline]</code></td>
883
 
        </tr>
884
 
      </table>
885
 
</div>
886
 
<div class="memdoc">
887
 
 
888
 
<p>
889
 
Return current dash style (always absolute). 
890
 
<p>
891
 
 
892
 
</div>
893
 
</div><p>
894
 
<a class="anchor" name="285b1937cd1a5829e71da880a590b119"></a><!-- doxytag: member="IpePainter::LineCap" ref="285b1937cd1a5829e71da880a590b119" args="() const" -->
895
 
<div class="memitem">
896
 
<div class="memproto">
897
 
      <table class="memname">
898
 
        <tr>
899
 
          <td class="memname"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpePainter::LineCap           </td>
900
 
          <td>(</td>
901
 
          <td class="paramname">          </td>
902
 
          <td>&nbsp;)&nbsp;</td>
903
 
          <td width="100%"> const<code> [inline]</code></td>
904
 
        </tr>
905
 
      </table>
906
 
</div>
907
 
<div class="memdoc">
908
 
 
909
 
<p>
910
 
Return current line cap. 
911
 
<p>
912
 
 
913
 
</div>
914
 
</div><p>
915
 
<a class="anchor" name="127e5aa89c738770abd8d7bb839d1318"></a><!-- doxytag: member="IpePainter::LineJoin" ref="127e5aa89c738770abd8d7bb839d1318" args="() const" -->
916
 
<div class="memitem">
917
 
<div class="memproto">
918
 
      <table class="memname">
919
 
        <tr>
920
 
          <td class="memname"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpePainter::LineJoin           </td>
921
 
          <td>(</td>
922
 
          <td class="paramname">          </td>
923
 
          <td>&nbsp;)&nbsp;</td>
924
 
          <td width="100%"> const<code> [inline]</code></td>
925
 
        </tr>
926
 
      </table>
927
 
</div>
928
 
<div class="memdoc">
929
 
 
930
 
<p>
931
 
Return current line join. 
932
 
<p>
933
 
 
934
 
</div>
935
 
</div><p>
936
 
<a class="anchor" name="8bf880fd876a0bb4490567436b849c08"></a><!-- doxytag: member="IpePainter::WindRule" ref="8bf880fd876a0bb4490567436b849c08" args="() const" -->
937
 
<div class="memitem">
938
 
<div class="memproto">
939
 
      <table class="memname">
940
 
        <tr>
941
 
          <td class="memname"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpePainter::WindRule           </td>
942
 
          <td>(</td>
943
 
          <td class="paramname">          </td>
944
 
          <td>&nbsp;)&nbsp;</td>
945
 
          <td width="100%"> const<code> [inline]</code></td>
946
 
        </tr>
947
 
      </table>
948
 
</div>
949
 
<div class="memdoc">
950
 
 
951
 
<p>
952
 
Return current wind rule. 
953
 
<p>
954
 
 
955
 
</div>
956
 
</div><p>
957
 
<a class="anchor" name="a1da6ae8aba94dbdac52db0cbd903968"></a><!-- doxytag: member="IpePainter::TextSize" ref="a1da6ae8aba94dbdac52db0cbd903968" args="() const" -->
958
 
<div class="memitem">
959
 
<div class="memproto">
960
 
      <table class="memname">
961
 
        <tr>
962
 
          <td class="memname"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpePainter::TextSize           </td>
963
 
          <td>(</td>
964
 
          <td class="paramname">          </td>
965
 
          <td>&nbsp;)&nbsp;</td>
966
 
          <td width="100%"> const<code> [inline]</code></td>
967
 
        </tr>
968
 
      </table>
969
 
</div>
970
 
<div class="memdoc">
971
 
 
972
 
<p>
973
 
Return current text font size. 
974
 
<p>
975
 
 
976
 
</div>
977
 
</div><p>
978
 
<a class="anchor" name="ad0546bb83e1fba388758af9c9c37d47"></a><!-- doxytag: member="IpePainter::MarkSize" ref="ad0546bb83e1fba388758af9c9c37d47" args="() const" -->
979
 
<div class="memitem">
980
 
<div class="memproto">
981
 
      <table class="memname">
982
 
        <tr>
983
 
          <td class="memname"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpePainter::MarkSize           </td>
984
 
          <td>(</td>
985
 
          <td class="paramname">          </td>
986
 
          <td>&nbsp;)&nbsp;</td>
987
 
          <td width="100%"> const<code> [inline]</code></td>
988
 
        </tr>
989
 
      </table>
990
 
</div>
991
 
<div class="memdoc">
992
 
 
993
 
<p>
994
 
Return current mark size. 
995
 
<p>
996
 
 
997
 
</div>
998
 
</div><p>
999
 
<a class="anchor" name="27b0be585067c6c4a57888359103ba3e"></a><!-- doxytag: member="IpePainter::MarkShape" ref="27b0be585067c6c4a57888359103ba3e" args="() const" -->
1000
 
<div class="memitem">
1001
 
<div class="memproto">
1002
 
      <table class="memname">
1003
 
        <tr>
1004
 
          <td class="memname">int IpePainter::MarkShape           </td>
1005
 
          <td>(</td>
1006
 
          <td class="paramname">          </td>
1007
 
          <td>&nbsp;)&nbsp;</td>
1008
 
          <td width="100%"> const<code> [inline]</code></td>
1009
 
        </tr>
1010
 
      </table>
1011
 
</div>
1012
 
<div class="memdoc">
1013
 
 
1014
 
<p>
1015
 
Return current mark shape. 
1016
 
<p>
1017
 
 
1018
 
</div>
1019
 
</div><p>
1020
 
<a class="anchor" name="cbd734491f135ef73aed5ee619425abd"></a><!-- doxytag: member="IpePainter::Repository" ref="cbd734491f135ef73aed5ee619425abd" args="() const" -->
1021
 
<div class="memitem">
1022
 
<div class="memproto">
1023
 
      <table class="memname">
1024
 
        <tr>
1025
 
          <td class="memname">const <a class="el" href="class_ipe_repository.html">IpeRepository</a>* IpePainter::Repository           </td>
1026
 
          <td>(</td>
1027
 
          <td class="paramname">          </td>
1028
 
          <td>&nbsp;)&nbsp;</td>
1029
 
          <td width="100%"> const<code> [inline]</code></td>
1030
 
        </tr>
1031
 
      </table>
1032
 
</div>
1033
 
<div class="memdoc">
1034
 
 
1035
 
<p>
1036
 
Return repository. 
1037
 
<p>
1038
 
 
1039
 
</div>
1040
 
</div><p>
1041
 
<a class="anchor" name="0bf81a36d0b1bc422bcab11859472fc5"></a><!-- doxytag: member="IpePainter::DoPush" ref="0bf81a36d0b1bc422bcab11859472fc5" args="()" -->
1042
 
<div class="memitem">
1043
 
<div class="memproto">
1044
 
      <table class="memname">
1045
 
        <tr>
1046
 
          <td class="memname">void IpePainter::DoPush           </td>
1047
 
          <td>(</td>
1048
 
          <td class="paramname">          </td>
1049
 
          <td>&nbsp;)&nbsp;</td>
1050
 
          <td width="100%"><code> [protected, virtual]</code></td>
1051
 
        </tr>
1052
 
      </table>
1053
 
</div>
1054
 
<div class="memdoc">
1055
 
 
1056
 
<p>
1057
 
Perform push on output medium (if necessary). 
1058
 
<p>
1059
 
This is not called when client uses Push during path construction! 
1060
 
</div>
1061
 
</div><p>
1062
 
<a class="anchor" name="896d7e9906077587cf57ae909a805727"></a><!-- doxytag: member="IpePainter::DoPop" ref="896d7e9906077587cf57ae909a805727" args="()" -->
1063
 
<div class="memitem">
1064
 
<div class="memproto">
1065
 
      <table class="memname">
1066
 
        <tr>
1067
 
          <td class="memname">void IpePainter::DoPop           </td>
1068
 
          <td>(</td>
1069
 
          <td class="paramname">          </td>
1070
 
          <td>&nbsp;)&nbsp;</td>
1071
 
          <td width="100%"><code> [protected, virtual]</code></td>
1072
 
        </tr>
1073
 
      </table>
1074
 
</div>
1075
 
<div class="memdoc">
1076
 
 
1077
 
<p>
1078
 
Perform pop on output medium (if necessary). 
1079
 
<p>
1080
 
This is not called when client uses Pop during path construction! 
1081
 
</div>
1082
 
</div><p>
1083
 
<a class="anchor" name="5d234ec0edab0ab40dab027cd73d7715"></a><!-- doxytag: member="IpePainter::DoNewPath" ref="5d234ec0edab0ab40dab027cd73d7715" args="()" -->
1084
 
<div class="memitem">
1085
 
<div class="memproto">
1086
 
      <table class="memname">
1087
 
        <tr>
1088
 
          <td class="memname">void IpePainter::DoNewPath           </td>
1089
 
          <td>(</td>
1090
 
          <td class="paramname">          </td>
1091
 
          <td>&nbsp;)&nbsp;</td>
1092
 
          <td width="100%"><code> [protected, virtual]</code></td>
1093
 
        </tr>
1094
 
      </table>
1095
 
</div>
1096
 
<div class="memdoc">
1097
 
 
1098
 
<p>
1099
 
Perform new path operator. 
1100
 
<p>
1101
 
 
1102
 
</div>
1103
 
</div><p>
1104
 
<a class="anchor" name="9dd7cfe4535a9432629c4f9e6b55b32c"></a><!-- doxytag: member="IpePainter::DoMoveTo" ref="9dd7cfe4535a9432629c4f9e6b55b32c" args="(const IpeVector &amp;v)" -->
1105
 
<div class="memitem">
1106
 
<div class="memproto">
1107
 
      <table class="memname">
1108
 
        <tr>
1109
 
          <td class="memname">void IpePainter::DoMoveTo           </td>
1110
 
          <td>(</td>
1111
 
          <td class="paramtype">const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
1112
 
          <td class="paramname"> <em>v</em>          </td>
1113
 
          <td>&nbsp;)&nbsp;</td>
1114
 
          <td width="100%"><code> [protected, virtual]</code></td>
1115
 
        </tr>
1116
 
      </table>
1117
 
</div>
1118
 
<div class="memdoc">
1119
 
 
1120
 
<p>
1121
 
Perform moveto operator. 
1122
 
<p>
1123
 
 
1124
 
<p>
1125
 
Reimplemented in <a class="el" href="class_ipe_b_box_painter.html#a1ea798c33335ad1ed3de2c8c64848b3">IpeBBoxPainter</a>.
1126
 
</div>
1127
 
</div><p>
1128
 
<a class="anchor" name="e98da435504a0af7b2d43b11f5f833a0"></a><!-- doxytag: member="IpePainter::DoLineTo" ref="e98da435504a0af7b2d43b11f5f833a0" args="(const IpeVector &amp;v)" -->
1129
 
<div class="memitem">
1130
 
<div class="memproto">
1131
 
      <table class="memname">
1132
 
        <tr>
1133
 
          <td class="memname">void IpePainter::DoLineTo           </td>
1134
 
          <td>(</td>
1135
 
          <td class="paramtype">const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
1136
 
          <td class="paramname"> <em>v</em>          </td>
1137
 
          <td>&nbsp;)&nbsp;</td>
1138
 
          <td width="100%"><code> [protected, virtual]</code></td>
1139
 
        </tr>
1140
 
      </table>
1141
 
</div>
1142
 
<div class="memdoc">
1143
 
 
1144
 
<p>
1145
 
Perform lineto operator. 
1146
 
<p>
1147
 
 
1148
 
<p>
1149
 
Reimplemented in <a class="el" href="class_ipe_b_box_painter.html#4298e92a68e13e6ffd76e5f0e9da8fdc">IpeBBoxPainter</a>.
1150
 
</div>
1151
 
</div><p>
1152
 
<a class="anchor" name="236305daf03a444c17b8afc357f96038"></a><!-- doxytag: member="IpePainter::DoCurveTo" ref="236305daf03a444c17b8afc357f96038" args="(const IpeVector &amp;v1, const IpeVector &amp;v2, const IpeVector &amp;v3)" -->
1153
 
<div class="memitem">
1154
 
<div class="memproto">
1155
 
      <table class="memname">
1156
 
        <tr>
1157
 
          <td class="memname">void IpePainter::DoCurveTo           </td>
1158
 
          <td>(</td>
1159
 
          <td class="paramtype">const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
1160
 
          <td class="paramname"> <em>v1</em>, </td>
1161
 
        </tr>
1162
 
        <tr>
1163
 
          <td class="paramkey"></td>
1164
 
          <td></td>
1165
 
          <td class="paramtype">const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
1166
 
          <td class="paramname"> <em>v2</em>, </td>
1167
 
        </tr>
1168
 
        <tr>
1169
 
          <td class="paramkey"></td>
1170
 
          <td></td>
1171
 
          <td class="paramtype">const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
1172
 
          <td class="paramname"> <em>v3</em></td><td>&nbsp;</td>
1173
 
        </tr>
1174
 
        <tr>
1175
 
          <td></td>
1176
 
          <td>)</td>
1177
 
          <td></td><td></td><td width="100%"><code> [protected, virtual]</code></td>
1178
 
        </tr>
1179
 
      </table>
1180
 
</div>
1181
 
<div class="memdoc">
1182
 
 
1183
 
<p>
1184
 
Perform curveto operator. 
1185
 
<p>
1186
 
 
1187
 
<p>
1188
 
Reimplemented in <a class="el" href="class_ipe_b_box_painter.html#35ac16247bbccf32ab113892bda5393e">IpeBBoxPainter</a>.
1189
 
</div>
1190
 
</div><p>
1191
 
<a class="anchor" name="35f44448303aaf635b1b64bd756c0374"></a><!-- doxytag: member="IpePainter::DoClosePath" ref="35f44448303aaf635b1b64bd756c0374" args="()" -->
1192
 
<div class="memitem">
1193
 
<div class="memproto">
1194
 
      <table class="memname">
1195
 
        <tr>
1196
 
          <td class="memname">void IpePainter::DoClosePath           </td>
1197
 
          <td>(</td>
1198
 
          <td class="paramname">          </td>
1199
 
          <td>&nbsp;)&nbsp;</td>
1200
 
          <td width="100%"><code> [protected, virtual]</code></td>
1201
 
        </tr>
1202
 
      </table>
1203
 
</div>
1204
 
<div class="memdoc">
1205
 
 
1206
 
<p>
1207
 
Perform closepath operator. 
1208
 
<p>
1209
 
 
1210
 
</div>
1211
 
</div><p>
1212
 
<a class="anchor" name="6f1e38d86a1fb3f9b44694f24ea876c3"></a><!-- doxytag: member="IpePainter::DoDrawPath" ref="6f1e38d86a1fb3f9b44694f24ea876c3" args="()" -->
1213
 
<div class="memitem">
1214
 
<div class="memproto">
1215
 
      <table class="memname">
1216
 
        <tr>
1217
 
          <td class="memname">void IpePainter::DoDrawPath           </td>
1218
 
          <td>(</td>
1219
 
          <td class="paramname">          </td>
1220
 
          <td>&nbsp;)&nbsp;</td>
1221
 
          <td width="100%"><code> [protected, virtual]</code></td>
1222
 
        </tr>
1223
 
      </table>
1224
 
</div>
1225
 
<div class="memdoc">
1226
 
 
1227
 
<p>
1228
 
Actually draw the path. 
1229
 
<p>
1230
 
 
1231
 
</div>
1232
 
</div><p>
1233
 
<a class="anchor" name="925ff79289ebceb6c640f8fecb3d75bf"></a><!-- doxytag: member="IpePainter::DoDrawBitmap" ref="925ff79289ebceb6c640f8fecb3d75bf" args="(IpeBitmap bitmap)" -->
1234
 
<div class="memitem">
1235
 
<div class="memproto">
1236
 
      <table class="memname">
1237
 
        <tr>
1238
 
          <td class="memname">void IpePainter::DoDrawBitmap           </td>
1239
 
          <td>(</td>
1240
 
          <td class="paramtype"><a class="el" href="class_ipe_bitmap.html">IpeBitmap</a>&nbsp;</td>
1241
 
          <td class="paramname"> <em>bitmap</em>          </td>
1242
 
          <td>&nbsp;)&nbsp;</td>
1243
 
          <td width="100%"><code> [protected, virtual]</code></td>
1244
 
        </tr>
1245
 
      </table>
1246
 
</div>
1247
 
<div class="memdoc">
1248
 
 
1249
 
<p>
1250
 
Draw a bitmap. 
1251
 
<p>
1252
 
 
1253
 
<p>
1254
 
Reimplemented in <a class="el" href="class_ipe_b_box_painter.html#0f7d3db31efda6941a4e4ed012f6f488">IpeBBoxPainter</a>.
1255
 
</div>
1256
 
</div><p>
1257
 
<a class="anchor" name="16cc51ba8861d3ee94b5c61564b0e0d7"></a><!-- doxytag: member="IpePainter::DoDrawText" ref="16cc51ba8861d3ee94b5c61564b0e0d7" args="(const IpeText *text)" -->
1258
 
<div class="memitem">
1259
 
<div class="memproto">
1260
 
      <table class="memname">
1261
 
        <tr>
1262
 
          <td class="memname">void IpePainter::DoDrawText           </td>
1263
 
          <td>(</td>
1264
 
          <td class="paramtype">const <a class="el" href="class_ipe_text.html">IpeText</a> *&nbsp;</td>
1265
 
          <td class="paramname"> <em>text</em>          </td>
1266
 
          <td>&nbsp;)&nbsp;</td>
1267
 
          <td width="100%"><code> [protected, virtual]</code></td>
1268
 
        </tr>
1269
 
      </table>
1270
 
</div>
1271
 
<div class="memdoc">
1272
 
 
1273
 
<p>
1274
 
Draw a text object. 
1275
 
<p>
1276
 
 
1277
 
<p>
1278
 
Reimplemented in <a class="el" href="class_ipe_b_box_painter.html#7fe3137f2d079b0061da0358fc55ea1e">IpeBBoxPainter</a>.
1279
 
</div>
1280
 
</div><p>
1281
 
<hr>The documentation for this class was generated from the following files:<ul>
1282
 
<li>ipepainter.h<li>ipepainter.cpp</ul>
1283
 
<hr>
1284
 
</body></html>