1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
<title>Ipelib: ipe::Path Class Reference</title>
6
<link href="tabs.css" rel="stylesheet" type="text/css"/>
7
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
10
<!-- Generated by Doxygen 1.6.1 -->
11
<div class="navigation" id="top">
14
<li><a href="index.html"><span>Main Page</span></a></li>
15
<li><a href="modules.html"><span>Modules</span></a></li>
16
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
17
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
22
<li><a href="annotated.html"><span>Class List</span></a></li>
23
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
24
<li><a href="functions.html"><span>Class Members</span></a></li>
27
<div class="navpath"><a class="el" href="namespaceipe.html">ipe</a>::<a class="el" href="classipe_1_1_path.html">Path</a>
30
<div class="contents">
31
<h1>ipe::Path Class Reference<br/>
33
[<a class="el" href="group__obj.html">Ipe Objects</a>]</small>
34
</h1><!-- doxytag: class="ipe::Path" --><!-- doxytag: inherits="ipe::Object" -->
35
<p>The path object (polylines, polygons, and generalizations).
36
<a href="#_details">More...</a></p>
38
<p><code>#include <ipepath.h></code></p>
40
<p>Inherits <a class="el" href="classipe_1_1_object.html">ipe::Object</a>.</p>
42
<p><a href="classipe_1_1_path-members.html">List of all members.</a></p>
43
<h2>Public Member Functions</h2>
45
<li><a class="el" href="classipe_1_1_path.html#a84c0e9f0e7be7d8faceda7a427f563cc">Path</a> (const <a class="el" href="classipe_1_1_all_attributes.html">AllAttributes</a> &attr, const <a class="el" href="classipe_1_1_shape.html">Shape</a> &shape, bool withArrows=false)
46
<li>virtual <a class="el" href="classipe_1_1_object.html">Object</a> * <a class="el" href="classipe_1_1_path.html#adf3bd9a6f977ad5b6e78564820303372">clone</a> () const
47
<li>virtual <a class="el" href="classipe_1_1_path.html">Path</a> * <a class="el" href="classipe_1_1_path.html#aebf144e887c6e05e5ea90f86ae3805d9">asPath</a> ()
48
<li>virtual <a class="el" href="classipe_1_1_object.html#a037ce2be9769f2ab8f20509ab18c67d6">Type</a> <a class="el" href="classipe_1_1_path.html#a49233442aae6e0b2298d68e22027cf43">type</a> () const
49
<li>void <a class="el" href="classipe_1_1_path.html#aa3013444262dfe27f8db0ad5689dfc7c">setPathMode</a> (<a class="el" href="group__attr.html#ga40b15a8cc8f66dc518621289ed4f1cd6">TPathMode</a> pm)
50
<li>void <a class="el" href="classipe_1_1_path.html#ad1b4fa879ecaa47ecfae5320a362fbe7">setStroke</a> (<a class="el" href="classipe_1_1_attribute.html">Attribute</a> stroke)
51
<li>void <a class="el" href="classipe_1_1_path.html#ae249ea8277e89955d8c7460218e25d68">setFill</a> (<a class="el" href="classipe_1_1_attribute.html">Attribute</a> fill)
52
<li>void <a class="el" href="classipe_1_1_path.html#ac86c3ccb9fe06d61b4213ed7d55b0011">setPen</a> (<a class="el" href="classipe_1_1_attribute.html">Attribute</a> pen)
53
<li>void <a class="el" href="classipe_1_1_path.html#a0697147928ac962e7ca71f3faea37b7e">setDashStyle</a> (<a class="el" href="classipe_1_1_attribute.html">Attribute</a> dash)
54
<li>void <a class="el" href="classipe_1_1_path.html#a08ebf0d5ee538fa2409372c9da2ed1cc">setLineCap</a> (<a class="el" href="group__attr.html#ga2a173ffa6945f9033fffd786ada441b5">TLineCap</a> s)
55
<li>void <a class="el" href="classipe_1_1_path.html#a91b7c30892f83b0ee4297f2af94693f1">setLineJoin</a> (<a class="el" href="group__attr.html#gae5ab4b7143ab5ed05efcdbe4bbb9dd93">TLineJoin</a> s)
56
<li>void <a class="el" href="classipe_1_1_path.html#a0982ee9bfab209f5918e0af81e9889b7">setFillRule</a> (<a class="el" href="group__attr.html#ga4defbee452ac9648e94eee7878214647">TFillRule</a> s)
57
<li>void <a class="el" href="classipe_1_1_path.html#af780da685088674aba1593639ae5b225">setOpacity</a> (<a class="el" href="classipe_1_1_attribute.html">Attribute</a> opaq)
58
<li>void <a class="el" href="classipe_1_1_path.html#afe0a30295a75dee77cafa25015e580fe">setTiling</a> (<a class="el" href="classipe_1_1_attribute.html">Attribute</a> a)
59
<li>void <a class="el" href="classipe_1_1_path.html#a91dc9b7c86529a70a4a20d9efe3e71a7">setGradient</a> (<a class="el" href="classipe_1_1_attribute.html">Attribute</a> a)
60
<li><a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_path.html#adc707fcc11e1bbb6fb997ed6055ad02b">opacity</a> () const
61
<li><a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_path.html#ada19b9c0e69bda4b4577211251db1697">tiling</a> () const
62
<li><a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_path.html#a4c745d7cc5b2a6caee690b9c2d8ea9f6">gradient</a> () const
63
<li><a class="el" href="group__attr.html#ga40b15a8cc8f66dc518621289ed4f1cd6">TPathMode</a> <a class="el" href="classipe_1_1_path.html#ac8c9509c5184d2e0d6350585549fbc17">pathMode</a> () const
64
<li><a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_path.html#a601b8bc15316e359fc6e598430149cb0">stroke</a> () const
65
<li><a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_path.html#aef9db36793d75802a62f0541f13774a3">fill</a> () const
66
<li><a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_path.html#aa58c4d73032847b9aa64b46c9dfde340">pen</a> () const
67
<li><a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_path.html#a3e4d7b3569e60d688b4c829f7187f93f">dashStyle</a> () const
68
<li><a class="el" href="group__attr.html#ga2a173ffa6945f9033fffd786ada441b5">TLineCap</a> <a class="el" href="classipe_1_1_path.html#a04834903484817bd93cdf5618858301f">lineCap</a> () const
69
<li><a class="el" href="group__attr.html#gae5ab4b7143ab5ed05efcdbe4bbb9dd93">TLineJoin</a> <a class="el" href="classipe_1_1_path.html#a699c5754614ce044bf1a31a89d1bf246">lineJoin</a> () const
70
<li><a class="el" href="group__attr.html#ga4defbee452ac9648e94eee7878214647">TFillRule</a> <a class="el" href="classipe_1_1_path.html#ac1ab6e6e58ef6ce5e8c81ba15abcf914">fillRule</a> () const
71
<li>virtual void <a class="el" href="classipe_1_1_path.html#a5bd2ff7d9b5c2f3c22203f97e318e299">saveAsXml</a> (<a class="el" href="classipe_1_1_stream.html">Stream</a> &stream, <a class="el" href="classipe_1_1_string.html">String</a> layer) const
72
<li>virtual void <a class="el" href="classipe_1_1_path.html#a2b47a6f8de5c400821032d37bc652c1d">draw</a> (<a class="el" href="classipe_1_1_painter.html">Painter</a> &painter) const
73
<li>virtual void <a class="el" href="classipe_1_1_path.html#a853c4634c4144607f4c27c72e8d719e3">drawSimple</a> (<a class="el" href="classipe_1_1_painter.html">Painter</a> &painter) const
74
<li>virtual void <a class="el" href="classipe_1_1_path.html#a6e43f929f0cec8c7912fc95a7643e8bc">accept</a> (<a class="el" href="classipe_1_1_visitor.html">Visitor</a> &visitor) const
75
<li>virtual void <a class="el" href="classipe_1_1_path.html#a5dc03ed6dd35e8ab9bcf75aed6b6d9df">addToBBox</a> (<a class="el" href="classipe_1_1_rect.html">Rect</a> &box, const <a class="el" href="classipe_1_1_matrix.html">Matrix</a> &m, bool cp) const
76
<li>virtual double <a class="el" href="classipe_1_1_path.html#a346882ca252e24317a0dd9e6bed700b4">distance</a> (const <a class="el" href="classipe_1_1_vector.html">Vector</a> &v, const <a class="el" href="classipe_1_1_matrix.html">Matrix</a> &m, double bound) const
77
<li>virtual void <a class="el" href="classipe_1_1_path.html#addc7bdf796ddc49456ab6e8626cc30ab">snapVtx</a> (const <a class="el" href="classipe_1_1_vector.html">Vector</a> &mouse, const <a class="el" href="classipe_1_1_matrix.html">Matrix</a> &m, <a class="el" href="classipe_1_1_vector.html">Vector</a> &pos, double &bound) const
78
<li>virtual void <a class="el" href="classipe_1_1_path.html#a56de14d8b2a3ada8101d2c630b6f59e5">snapBnd</a> (const <a class="el" href="classipe_1_1_vector.html">Vector</a> &mouse, const <a class="el" href="classipe_1_1_matrix.html">Matrix</a> &m, <a class="el" href="classipe_1_1_vector.html">Vector</a> &pos, double &bound) const
79
<li>virtual void <a class="el" href="classipe_1_1_path.html#a9eabfc43680c2059fac88f3d715da53c">checkStyle</a> (const <a class="el" href="classipe_1_1_cascade.html">Cascade</a> *sheet, <a class="el" href="group__attr.html#ga724109aa4dbab072ea067cc5ed471e02">AttributeSeq</a> &seq) const
80
<li>virtual bool <a class="el" href="classipe_1_1_path.html#a81166665a45d05a219324754f0cf0e62">setAttribute</a> (<a class="el" href="group__attr.html#gac50c1b1c913f9551a97e37ef29eb462f">Property</a> prop, <a class="el" href="classipe_1_1_attribute.html">Attribute</a> value, <a class="el" href="classipe_1_1_attribute.html">Attribute</a> stroke, <a class="el" href="classipe_1_1_attribute.html">Attribute</a> fill)
81
<li>virtual <a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_path.html#ac0b24cf2aa0badea5fd7073d37e64435">getAttribute</a> (<a class="el" href="group__attr.html#gac50c1b1c913f9551a97e37ef29eb462f">Property</a> prop)
82
<li>bool <a class="el" href="classipe_1_1_path.html#ae4424f1b2ff2b6534924ea5c5e52ebc8">arrow</a> () const
83
<li>bool <a class="el" href="classipe_1_1_path.html#a2d4470e2d1be1bc90b3c3a4084c5dfd7">rArrow</a> () const
84
<li><a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_path.html#ab2eb23018ffa5f621aae5ff34350fda9">arrowShape</a> () const
85
<li><a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_path.html#a6dc4f8283de7e0cff9a57ddda227d162">rArrowShape</a> () const
86
<li><a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_path.html#a1167a8662140e5d744dfe3c0868da0ed">arrowSize</a> () const
87
<li><a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_path.html#ab8296bfa56b0156206d43667ab620a72">rArrowSize</a> () const
88
<li>void <a class="el" href="classipe_1_1_path.html#a67bcd47d6e5c5f4ad12df2114a7732ee">setArrow</a> (bool arrow, <a class="el" href="classipe_1_1_attribute.html">Attribute</a> shape, <a class="el" href="classipe_1_1_attribute.html">Attribute</a> size)
89
<li>void <a class="el" href="classipe_1_1_path.html#a03e234a4ca96e75160e0c855d493e178">setRarrow</a> (bool arrow, <a class="el" href="classipe_1_1_attribute.html">Attribute</a> shape, <a class="el" href="classipe_1_1_attribute.html">Attribute</a> size)
90
<li>const <a class="el" href="classipe_1_1_shape.html">Shape</a> & <a class="el" href="classipe_1_1_path.html#a574acee6d796ed4f45970cb190a1121e">shape</a> () const
91
<li>void <a class="el" href="classipe_1_1_path.html#ae7014f62d96b8688d91c8d2ad39fca9d">setShape</a> (const <a class="el" href="classipe_1_1_shape.html">Shape</a> &shape)
93
<h2>Static Public Member Functions</h2>
95
<li>static <a class="el" href="classipe_1_1_path.html">Path</a> * <a class="el" href="classipe_1_1_path.html#a9afc013a3a45fc31484e4f121b0a1c91">create</a> (const <a class="el" href="classipe_1_1_xml_attributes.html">XmlAttributes</a> &attr, <a class="el" href="classipe_1_1_string.html">String</a> data)
96
<li>static void <a class="el" href="classipe_1_1_path.html#a6000b9ab135128f960b40418c764e2e9">drawArrow</a> (<a class="el" href="classipe_1_1_painter.html">Painter</a> &painter, <a class="el" href="classipe_1_1_vector.html">Vector</a> pos, <a class="el" href="classipe_1_1_angle.html">Angle</a> alpha, <a class="el" href="classipe_1_1_attribute.html">Attribute</a> shape, <a class="el" href="classipe_1_1_attribute.html">Attribute</a> size, double radius)
98
<hr/><a name="_details"></a><h2>Detailed Description</h2>
99
<p>The path object (polylines, polygons, and generalizations). </p>
100
<p>This object represents any vector graphics. The geometry is contained in a <a class="el" href="classipe_1_1_shape.html" title="A geometric shape, consisting of several (open or closed) subpaths.">Shape</a>.</p>
101
<p>The filling algorithm is the <b>even-odd rule</b> of PDF: To determine whether a point lies inside the filled shape, draw a ray from that point in any direction, and count the number of path segments that cross the ray. If this number is odd, the point is inside; if even, the point is outside. (<a class="el" href="classipe_1_1_path.html" title="The path object (polylines, polygons, and generalizations).">Path</a> objects can also render using the <b>winding fill rule</b> by setting the fillRule attribute. This isn't really supported by the Ipe user interface, which doesn't show the orientation of paths.) </p>
102
<hr/><h2>Constructor & Destructor Documentation</h2>
103
<a class="anchor" id="a84c0e9f0e7be7d8faceda7a427f563cc"></a><!-- doxytag: member="ipe::Path::Path" ref="a84c0e9f0e7be7d8faceda7a427f563cc" args="(const AllAttributes &attr, const Shape &shape, bool withArrows=false)" -->
104
<div class="memitem">
105
<div class="memproto">
106
<table class="memname">
108
<td class="memname">Path::Path </td>
110
<td class="paramtype">const <a class="el" href="classipe_1_1_all_attributes.html">AllAttributes</a> & </td>
111
<td class="paramname"> <em>attr</em>, </td>
114
<td class="paramkey"></td>
116
<td class="paramtype">const <a class="el" href="classipe_1_1_shape.html">Shape</a> & </td>
117
<td class="paramname"> <em>shape</em>, </td>
120
<td class="paramkey"></td>
122
<td class="paramtype">bool </td>
123
<td class="paramname"> <em>withArrows</em> = <code>false</code></td><td> </td>
128
<td></td><td></td><td><code> [explicit]</code></td>
134
<p>Create for given shape. </p>
138
<hr/><h2>Member Function Documentation</h2>
139
<a class="anchor" id="a9afc013a3a45fc31484e4f121b0a1c91"></a><!-- doxytag: member="ipe::Path::create" ref="a9afc013a3a45fc31484e4f121b0a1c91" args="(const XmlAttributes &attr, String data)" -->
140
<div class="memitem">
141
<div class="memproto">
142
<table class="memname">
144
<td class="memname"><a class="el" href="classipe_1_1_path.html">Path</a> * Path::create </td>
146
<td class="paramtype">const <a class="el" href="classipe_1_1_xml_attributes.html">XmlAttributes</a> & </td>
147
<td class="paramname"> <em>attr</em>, </td>
150
<td class="paramkey"></td>
152
<td class="paramtype"><a class="el" href="classipe_1_1_string.html">String</a> </td>
153
<td class="paramname"> <em>data</em></td><td> </td>
158
<td></td><td></td><td><code> [static]</code></td>
164
<p>Construct from XML data. </p>
168
<a class="anchor" id="adf3bd9a6f977ad5b6e78564820303372"></a><!-- doxytag: member="ipe::Path::clone" ref="adf3bd9a6f977ad5b6e78564820303372" args="() const " -->
169
<div class="memitem">
170
<div class="memproto">
171
<table class="memname">
173
<td class="memname"><a class="el" href="classipe_1_1_object.html">Object</a> * Path::clone </td>
175
<td class="paramname"></td>
176
<td> ) </td>
177
<td> const<code> [virtual]</code></td>
183
<p>Return a clone (constant-time). </p>
185
<p>Implements <a class="el" href="classipe_1_1_object.html#ac6289d8762c8cfad2526d7e299ee4829">ipe::Object</a>.</p>
189
<a class="anchor" id="aebf144e887c6e05e5ea90f86ae3805d9"></a><!-- doxytag: member="ipe::Path::asPath" ref="aebf144e887c6e05e5ea90f86ae3805d9" args="()" -->
190
<div class="memitem">
191
<div class="memproto">
192
<table class="memname">
194
<td class="memname"><a class="el" href="classipe_1_1_path.html">Path</a> * Path::asPath </td>
196
<td class="paramname"></td>
197
<td> ) </td>
198
<td><code> [virtual]</code></td>
204
<p>Return pointer to this object. </p>
206
<p>Reimplemented from <a class="el" href="classipe_1_1_object.html#ac589cb8ae9e6aeb6489580fab7a1f373">ipe::Object</a>.</p>
210
<a class="anchor" id="a49233442aae6e0b2298d68e22027cf43"></a><!-- doxytag: member="ipe::Path::type" ref="a49233442aae6e0b2298d68e22027cf43" args="() const " -->
211
<div class="memitem">
212
<div class="memproto">
213
<table class="memname">
215
<td class="memname"><a class="el" href="classipe_1_1_object.html#a037ce2be9769f2ab8f20509ab18c67d6">Object::Type</a> Path::type </td>
217
<td class="paramname"></td>
218
<td> ) </td>
219
<td> const<code> [virtual]</code></td>
225
<p>Implements <a class="el" href="classipe_1_1_object.html#a7e619fb9163e86ffd9d764d442c7a724">ipe::Object</a>.</p>
229
<a class="anchor" id="aa3013444262dfe27f8db0ad5689dfc7c"></a><!-- doxytag: member="ipe::Path::setPathMode" ref="aa3013444262dfe27f8db0ad5689dfc7c" args="(TPathMode pm)" -->
230
<div class="memitem">
231
<div class="memproto">
232
<table class="memname">
234
<td class="memname">void Path::setPathMode </td>
236
<td class="paramtype"><a class="el" href="group__attr.html#ga40b15a8cc8f66dc518621289ed4f1cd6">TPathMode</a> </td>
237
<td class="paramname"> <em>pm</em></td>
238
<td> ) </td>
245
<p>Set whether object will be stroked and filled. </p>
249
<a class="anchor" id="ad1b4fa879ecaa47ecfae5320a362fbe7"></a><!-- doxytag: member="ipe::Path::setStroke" ref="ad1b4fa879ecaa47ecfae5320a362fbe7" args="(Attribute stroke)" -->
250
<div class="memitem">
251
<div class="memproto">
252
<table class="memname">
254
<td class="memname">void Path::setStroke </td>
256
<td class="paramtype"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> </td>
257
<td class="paramname"> <em>stroke</em></td>
258
<td> ) </td>
265
<p>Set stroke color. </p>
269
<a class="anchor" id="ae249ea8277e89955d8c7460218e25d68"></a><!-- doxytag: member="ipe::Path::setFill" ref="ae249ea8277e89955d8c7460218e25d68" args="(Attribute fill)" -->
270
<div class="memitem">
271
<div class="memproto">
272
<table class="memname">
274
<td class="memname">void Path::setFill </td>
276
<td class="paramtype"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> </td>
277
<td class="paramname"> <em>fill</em></td>
278
<td> ) </td>
285
<p>Set fill color. </p>
289
<a class="anchor" id="ac86c3ccb9fe06d61b4213ed7d55b0011"></a><!-- doxytag: member="ipe::Path::setPen" ref="ac86c3ccb9fe06d61b4213ed7d55b0011" args="(Attribute pen)" -->
290
<div class="memitem">
291
<div class="memproto">
292
<table class="memname">
294
<td class="memname">void Path::setPen </td>
296
<td class="paramtype"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> </td>
297
<td class="paramname"> <em>pen</em></td>
298
<td> ) </td>
309
<a class="anchor" id="a0697147928ac962e7ca71f3faea37b7e"></a><!-- doxytag: member="ipe::Path::setDashStyle" ref="a0697147928ac962e7ca71f3faea37b7e" args="(Attribute dash)" -->
310
<div class="memitem">
311
<div class="memproto">
312
<table class="memname">
314
<td class="memname">void Path::setDashStyle </td>
316
<td class="paramtype"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> </td>
317
<td class="paramname"> <em>dash</em></td>
318
<td> ) </td>
325
<p>Set dash style. </p>
329
<a class="anchor" id="a08ebf0d5ee538fa2409372c9da2ed1cc"></a><!-- doxytag: member="ipe::Path::setLineCap" ref="a08ebf0d5ee538fa2409372c9da2ed1cc" args="(TLineCap s)" -->
330
<div class="memitem">
331
<div class="memproto">
332
<table class="memname">
334
<td class="memname">void Path::setLineCap </td>
336
<td class="paramtype"><a class="el" href="group__attr.html#ga2a173ffa6945f9033fffd786ada441b5">TLineCap</a> </td>
337
<td class="paramname"> <em>s</em></td>
338
<td> ) </td>
345
<p>Set line cap style. </p>
349
<a class="anchor" id="a91b7c30892f83b0ee4297f2af94693f1"></a><!-- doxytag: member="ipe::Path::setLineJoin" ref="a91b7c30892f83b0ee4297f2af94693f1" args="(TLineJoin s)" -->
350
<div class="memitem">
351
<div class="memproto">
352
<table class="memname">
354
<td class="memname">void Path::setLineJoin </td>
356
<td class="paramtype"><a class="el" href="group__attr.html#gae5ab4b7143ab5ed05efcdbe4bbb9dd93">TLineJoin</a> </td>
357
<td class="paramname"> <em>s</em></td>
358
<td> ) </td>
365
<p>Set line join style. </p>
369
<a class="anchor" id="a0982ee9bfab209f5918e0af81e9889b7"></a><!-- doxytag: member="ipe::Path::setFillRule" ref="a0982ee9bfab209f5918e0af81e9889b7" args="(TFillRule s)" -->
370
<div class="memitem">
371
<div class="memproto">
372
<table class="memname">
374
<td class="memname">void Path::setFillRule </td>
376
<td class="paramtype"><a class="el" href="group__attr.html#ga4defbee452ac9648e94eee7878214647">TFillRule</a> </td>
377
<td class="paramname"> <em>s</em></td>
378
<td> ) </td>
385
<p>Set fill rule. </p>
389
<a class="anchor" id="af780da685088674aba1593639ae5b225"></a><!-- doxytag: member="ipe::Path::setOpacity" ref="af780da685088674aba1593639ae5b225" args="(Attribute opaq)" -->
390
<div class="memitem">
391
<div class="memproto">
392
<table class="memname">
394
<td class="memname">void Path::setOpacity </td>
396
<td class="paramtype"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> </td>
397
<td class="paramname"> <em>opaq</em></td>
398
<td> ) </td>
405
<p>Set opacity of the object. </p>
409
<a class="anchor" id="afe0a30295a75dee77cafa25015e580fe"></a><!-- doxytag: member="ipe::Path::setTiling" ref="afe0a30295a75dee77cafa25015e580fe" args="(Attribute a)" -->
410
<div class="memitem">
411
<div class="memproto">
412
<table class="memname">
414
<td class="memname">void Path::setTiling </td>
416
<td class="paramtype"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> </td>
417
<td class="paramname"> <em>til</em></td>
418
<td> ) </td>
425
<p>Set tiling pattern of the object. </p>
426
<p>Resets gradient fill. </p>
430
<a class="anchor" id="a91dc9b7c86529a70a4a20d9efe3e71a7"></a><!-- doxytag: member="ipe::Path::setGradient" ref="a91dc9b7c86529a70a4a20d9efe3e71a7" args="(Attribute a)" -->
431
<div class="memitem">
432
<div class="memproto">
433
<table class="memname">
435
<td class="memname">void Path::setGradient </td>
437
<td class="paramtype"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> </td>
438
<td class="paramname"> <em>grad</em></td>
439
<td> ) </td>
446
<p>Set gradient fill of the object. </p>
447
<p>Resets tiling pattern. </p>
451
<a class="anchor" id="adc707fcc11e1bbb6fb997ed6055ad02b"></a><!-- doxytag: member="ipe::Path::opacity" ref="adc707fcc11e1bbb6fb997ed6055ad02b" args="() const " -->
452
<div class="memitem">
453
<div class="memproto">
454
<table class="memname">
456
<td class="memname"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Path::opacity </td>
458
<td class="paramname"></td>
459
<td> ) </td>
460
<td> const<code> [inline]</code></td>
466
<p>Return opacity of the opject. </p>
470
<a class="anchor" id="ada19b9c0e69bda4b4577211251db1697"></a><!-- doxytag: member="ipe::Path::tiling" ref="ada19b9c0e69bda4b4577211251db1697" args="() const " -->
471
<div class="memitem">
472
<div class="memproto">
473
<table class="memname">
475
<td class="memname"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Path::tiling </td>
477
<td class="paramname"></td>
478
<td> ) </td>
479
<td> const<code> [inline]</code></td>
485
<p>Return tiling pattern. </p>
489
<a class="anchor" id="a4c745d7cc5b2a6caee690b9c2d8ea9f6"></a><!-- doxytag: member="ipe::Path::gradient" ref="a4c745d7cc5b2a6caee690b9c2d8ea9f6" args="() const " -->
490
<div class="memitem">
491
<div class="memproto">
492
<table class="memname">
494
<td class="memname"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Path::gradient </td>
496
<td class="paramname"></td>
497
<td> ) </td>
498
<td> const<code> [inline]</code></td>
504
<p>Return gradient fill. </p>
508
<a class="anchor" id="ac8c9509c5184d2e0d6350585549fbc17"></a><!-- doxytag: member="ipe::Path::pathMode" ref="ac8c9509c5184d2e0d6350585549fbc17" args="() const " -->
509
<div class="memitem">
510
<div class="memproto">
511
<table class="memname">
513
<td class="memname"><a class="el" href="group__attr.html#ga40b15a8cc8f66dc518621289ed4f1cd6">TPathMode</a> ipe::Path::pathMode </td>
515
<td class="paramname"></td>
516
<td> ) </td>
517
<td> const<code> [inline]</code></td>
523
<p>Is the object stroked and filled? </p>
527
<a class="anchor" id="a601b8bc15316e359fc6e598430149cb0"></a><!-- doxytag: member="ipe::Path::stroke" ref="a601b8bc15316e359fc6e598430149cb0" args="() const " -->
528
<div class="memitem">
529
<div class="memproto">
530
<table class="memname">
532
<td class="memname"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Path::stroke </td>
534
<td class="paramname"></td>
535
<td> ) </td>
536
<td> const<code> [inline]</code></td>
542
<p>Return stroke color. </p>
546
<a class="anchor" id="aef9db36793d75802a62f0541f13774a3"></a><!-- doxytag: member="ipe::Path::fill" ref="aef9db36793d75802a62f0541f13774a3" args="() const " -->
547
<div class="memitem">
548
<div class="memproto">
549
<table class="memname">
551
<td class="memname"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Path::fill </td>
553
<td class="paramname"></td>
554
<td> ) </td>
555
<td> const<code> [inline]</code></td>
561
<p>Return object fill color. </p>
565
<a class="anchor" id="aa58c4d73032847b9aa64b46c9dfde340"></a><!-- doxytag: member="ipe::Path::pen" ref="aa58c4d73032847b9aa64b46c9dfde340" args="() const " -->
566
<div class="memitem">
567
<div class="memproto">
568
<table class="memname">
570
<td class="memname"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Path::pen </td>
572
<td class="paramname"></td>
573
<td> ) </td>
574
<td> const<code> [inline]</code></td>
580
<p>Return object pen. </p>
584
<a class="anchor" id="a3e4d7b3569e60d688b4c829f7187f93f"></a><!-- doxytag: member="ipe::Path::dashStyle" ref="a3e4d7b3569e60d688b4c829f7187f93f" args="() const " -->
585
<div class="memitem">
586
<div class="memproto">
587
<table class="memname">
589
<td class="memname"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Path::dashStyle </td>
591
<td class="paramname"></td>
592
<td> ) </td>
593
<td> const<code> [inline]</code></td>
599
<p>Return object line style. </p>
603
<a class="anchor" id="a04834903484817bd93cdf5618858301f"></a><!-- doxytag: member="ipe::Path::lineCap" ref="a04834903484817bd93cdf5618858301f" args="() const " -->
604
<div class="memitem">
605
<div class="memproto">
606
<table class="memname">
608
<td class="memname"><a class="el" href="group__attr.html#ga2a173ffa6945f9033fffd786ada441b5">TLineCap</a> ipe::Path::lineCap </td>
610
<td class="paramname"></td>
611
<td> ) </td>
612
<td> const<code> [inline]</code></td>
618
<p>Return line cap style. </p>
622
<a class="anchor" id="a699c5754614ce044bf1a31a89d1bf246"></a><!-- doxytag: member="ipe::Path::lineJoin" ref="a699c5754614ce044bf1a31a89d1bf246" args="() const " -->
623
<div class="memitem">
624
<div class="memproto">
625
<table class="memname">
627
<td class="memname"><a class="el" href="group__attr.html#gae5ab4b7143ab5ed05efcdbe4bbb9dd93">TLineJoin</a> ipe::Path::lineJoin </td>
629
<td class="paramname"></td>
630
<td> ) </td>
631
<td> const<code> [inline]</code></td>
637
<p>Return line join style. </p>
641
<a class="anchor" id="ac1ab6e6e58ef6ce5e8c81ba15abcf914"></a><!-- doxytag: member="ipe::Path::fillRule" ref="ac1ab6e6e58ef6ce5e8c81ba15abcf914" args="() const " -->
642
<div class="memitem">
643
<div class="memproto">
644
<table class="memname">
646
<td class="memname"><a class="el" href="group__attr.html#ga4defbee452ac9648e94eee7878214647">TFillRule</a> ipe::Path::fillRule </td>
648
<td class="paramname"></td>
649
<td> ) </td>
650
<td> const<code> [inline]</code></td>
656
<p>Return fill rule. </p>
660
<a class="anchor" id="a5bd2ff7d9b5c2f3c22203f97e318e299"></a><!-- doxytag: member="ipe::Path::saveAsXml" ref="a5bd2ff7d9b5c2f3c22203f97e318e299" args="(Stream &stream, String layer) const " -->
661
<div class="memitem">
662
<div class="memproto">
663
<table class="memname">
665
<td class="memname">void Path::saveAsXml </td>
667
<td class="paramtype"><a class="el" href="classipe_1_1_stream.html">Stream</a> & </td>
668
<td class="paramname"> <em>stream</em>, </td>
671
<td class="paramkey"></td>
673
<td class="paramtype"><a class="el" href="classipe_1_1_string.html">String</a> </td>
674
<td class="paramname"> <em>layer</em></td><td> </td>
679
<td></td><td></td><td> const<code> [virtual]</code></td>
685
<p>Save the object in XML format. </p>
687
<p>Implements <a class="el" href="classipe_1_1_object.html#ae0ff925816acb7f88791c8c828c1ae6d">ipe::Object</a>.</p>
691
<a class="anchor" id="a2b47a6f8de5c400821032d37bc652c1d"></a><!-- doxytag: member="ipe::Path::draw" ref="a2b47a6f8de5c400821032d37bc652c1d" args="(Painter &painter) const " -->
692
<div class="memitem">
693
<div class="memproto">
694
<table class="memname">
696
<td class="memname">void Path::draw </td>
698
<td class="paramtype"><a class="el" href="classipe_1_1_painter.html">Painter</a> & </td>
699
<td class="paramname"> <em>painter</em></td>
700
<td> ) </td>
701
<td> const<code> [virtual]</code></td>
707
<p>Draw the object. </p>
709
<p>Implements <a class="el" href="classipe_1_1_object.html#a3638c929c74354b20be0fcbbddd58c78">ipe::Object</a>.</p>
713
<a class="anchor" id="a853c4634c4144607f4c27c72e8d719e3"></a><!-- doxytag: member="ipe::Path::drawSimple" ref="a853c4634c4144607f4c27c72e8d719e3" args="(Painter &painter) const " -->
714
<div class="memitem">
715
<div class="memproto">
716
<table class="memname">
718
<td class="memname">void Path::drawSimple </td>
720
<td class="paramtype"><a class="el" href="classipe_1_1_painter.html">Painter</a> & </td>
721
<td class="paramname"> <em>painter</em></td>
722
<td> ) </td>
723
<td> const<code> [virtual]</code></td>
729
<p>Draw simple version for selecting and transforming. </p>
731
<p>Implements <a class="el" href="classipe_1_1_object.html#a866b9683feb280cefb0b163ecb9f4bdd">ipe::Object</a>.</p>
735
<a class="anchor" id="a6e43f929f0cec8c7912fc95a7643e8bc"></a><!-- doxytag: member="ipe::Path::accept" ref="a6e43f929f0cec8c7912fc95a7643e8bc" args="(Visitor &visitor) const " -->
736
<div class="memitem">
737
<div class="memproto">
738
<table class="memname">
740
<td class="memname">void Path::accept </td>
742
<td class="paramtype"><a class="el" href="classipe_1_1_visitor.html">Visitor</a> & </td>
743
<td class="paramname"> <em>visitor</em></td>
744
<td> ) </td>
745
<td> const<code> [virtual]</code></td>
751
<p>Call visitPath of visitor. </p>
753
<p>Implements <a class="el" href="classipe_1_1_object.html#aa69d47bc571b7f7ef78f041d8bc994fd">ipe::Object</a>.</p>
757
<a class="anchor" id="a5dc03ed6dd35e8ab9bcf75aed6b6d9df"></a><!-- doxytag: member="ipe::Path::addToBBox" ref="a5dc03ed6dd35e8ab9bcf75aed6b6d9df" args="(Rect &box, const Matrix &m, bool cp) const " -->
758
<div class="memitem">
759
<div class="memproto">
760
<table class="memname">
762
<td class="memname">void Path::addToBBox </td>
764
<td class="paramtype"><a class="el" href="classipe_1_1_rect.html">Rect</a> & </td>
765
<td class="paramname"> <em>box</em>, </td>
768
<td class="paramkey"></td>
770
<td class="paramtype">const <a class="el" href="classipe_1_1_matrix.html">Matrix</a> & </td>
771
<td class="paramname"> <em>m</em>, </td>
774
<td class="paramkey"></td>
776
<td class="paramtype">bool </td>
777
<td class="paramname"> <em>cp</em></td><td> </td>
782
<td></td><td></td><td> const<code> [virtual]</code></td>
788
<p>Extend <em>box</em> to include the object transformed by <em>m</em>. </p>
789
<p>For objects in a page, don't call this directly. The <a class="el" href="classipe_1_1_page.html" title="An Ipe document page.">Page</a> caches the bounding box of each object, so it is far more efficient to call <a class="el" href="classipe_1_1_page.html#afd3572a1f0bd7d55cc2ceb54804bbfa5" title="Return a bounding box for the object at index i.">Page::bbox</a>.</p>
790
<p>Control points that lie outside the visual object are included if <em>cp</em> is true.</p>
791
<p>If called with an empty box and <em>cp</em> == <code>false</code>, the result of this function is a tight bounding box for the object, with a little leeway in case the boundary is determined by a spline (it has to be approximated to perform this operation). </p>
793
<p>Implements <a class="el" href="classipe_1_1_object.html#abf86969debbc7a737b0c689ae37d6595">ipe::Object</a>.</p>
797
<a class="anchor" id="a346882ca252e24317a0dd9e6bed700b4"></a><!-- doxytag: member="ipe::Path::distance" ref="a346882ca252e24317a0dd9e6bed700b4" args="(const Vector &v, const Matrix &m, double bound) const " -->
798
<div class="memitem">
799
<div class="memproto">
800
<table class="memname">
802
<td class="memname">double Path::distance </td>
804
<td class="paramtype">const <a class="el" href="classipe_1_1_vector.html">Vector</a> & </td>
805
<td class="paramname"> <em>v</em>, </td>
808
<td class="paramkey"></td>
810
<td class="paramtype">const <a class="el" href="classipe_1_1_matrix.html">Matrix</a> & </td>
811
<td class="paramname"> <em>m</em>, </td>
814
<td class="paramkey"></td>
816
<td class="paramtype">double </td>
817
<td class="paramname"> <em>bound</em></td><td> </td>
822
<td></td><td></td><td> const<code> [virtual]</code></td>
827
<p>Return distance of transformed object to point <em>v</em>. If larger than <em>bound</em>, can just return <em>bound</em>. </p>
829
<p>Implements <a class="el" href="classipe_1_1_object.html#ab1839318060c6b051256f6e189f1f967">ipe::Object</a>.</p>
833
<a class="anchor" id="addc7bdf796ddc49456ab6e8626cc30ab"></a><!-- doxytag: member="ipe::Path::snapVtx" ref="addc7bdf796ddc49456ab6e8626cc30ab" args="(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const " -->
834
<div class="memitem">
835
<div class="memproto">
836
<table class="memname">
838
<td class="memname">void Path::snapVtx </td>
840
<td class="paramtype">const <a class="el" href="classipe_1_1_vector.html">Vector</a> & </td>
841
<td class="paramname"> <em>mouse</em>, </td>
844
<td class="paramkey"></td>
846
<td class="paramtype">const <a class="el" href="classipe_1_1_matrix.html">Matrix</a> & </td>
847
<td class="paramname"> <em>m</em>, </td>
850
<td class="paramkey"></td>
852
<td class="paramtype"><a class="el" href="classipe_1_1_vector.html">Vector</a> & </td>
853
<td class="paramname"> <em>pos</em>, </td>
856
<td class="paramkey"></td>
858
<td class="paramtype">double & </td>
859
<td class="paramname"> <em>bound</em></td><td> </td>
864
<td></td><td></td><td> const<code> [virtual]</code></td>
870
<p>Compute possible vertex snapping position for transformed object. </p>
871
<p>Looks only for positions closer than <em>bound</em>. If successful, modify <em>pos</em> and <em>bound</em>. </p>
873
<p>Implements <a class="el" href="classipe_1_1_object.html#a69d9cb72fcffab2eda5650e31f030c42">ipe::Object</a>.</p>
877
<a class="anchor" id="a56de14d8b2a3ada8101d2c630b6f59e5"></a><!-- doxytag: member="ipe::Path::snapBnd" ref="a56de14d8b2a3ada8101d2c630b6f59e5" args="(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const " -->
878
<div class="memitem">
879
<div class="memproto">
880
<table class="memname">
882
<td class="memname">void Path::snapBnd </td>
884
<td class="paramtype">const <a class="el" href="classipe_1_1_vector.html">Vector</a> & </td>
885
<td class="paramname"> <em>mouse</em>, </td>
888
<td class="paramkey"></td>
890
<td class="paramtype">const <a class="el" href="classipe_1_1_matrix.html">Matrix</a> & </td>
891
<td class="paramname"> <em>m</em>, </td>
894
<td class="paramkey"></td>
896
<td class="paramtype"><a class="el" href="classipe_1_1_vector.html">Vector</a> & </td>
897
<td class="paramname"> <em>pos</em>, </td>
900
<td class="paramkey"></td>
902
<td class="paramtype">double & </td>
903
<td class="paramname"> <em>bound</em></td><td> </td>
908
<td></td><td></td><td> const<code> [virtual]</code></td>
914
<p>Compute boundary snapping position for transformed object. </p>
915
<p>Looks only for positions closer than <em>bound</em>. If successful, modify <em>pos</em> and <em>bound</em>. The default implementation does nothing. </p>
917
<p>Reimplemented from <a class="el" href="classipe_1_1_object.html#aa620ebe63576035b0a65edfe38a356b2">ipe::Object</a>.</p>
921
<a class="anchor" id="a9eabfc43680c2059fac88f3d715da53c"></a><!-- doxytag: member="ipe::Path::checkStyle" ref="a9eabfc43680c2059fac88f3d715da53c" args="(const Cascade *sheet, AttributeSeq &seq) const " -->
922
<div class="memitem">
923
<div class="memproto">
924
<table class="memname">
926
<td class="memname">void Path::checkStyle </td>
928
<td class="paramtype">const <a class="el" href="classipe_1_1_cascade.html">Cascade</a> * </td>
929
<td class="paramname"> <em>sheet</em>, </td>
932
<td class="paramkey"></td>
934
<td class="paramtype"><a class="el" href="group__attr.html#ga724109aa4dbab072ea067cc5ed471e02">AttributeSeq</a> & </td>
935
<td class="paramname"> <em>seq</em></td><td> </td>
940
<td></td><td></td><td> const<code> [virtual]</code></td>
946
<p>Check all symbolic attributes. </p>
948
<p>Reimplemented from <a class="el" href="classipe_1_1_object.html#a0949920a49f82e1a8df6af5d2a7d71e4">ipe::Object</a>.</p>
952
<a class="anchor" id="a81166665a45d05a219324754f0cf0e62"></a><!-- doxytag: member="ipe::Path::setAttribute" ref="a81166665a45d05a219324754f0cf0e62" args="(Property prop, Attribute value, Attribute stroke, Attribute fill)" -->
953
<div class="memitem">
954
<div class="memproto">
955
<table class="memname">
957
<td class="memname">bool Path::setAttribute </td>
959
<td class="paramtype"><a class="el" href="group__attr.html#gac50c1b1c913f9551a97e37ef29eb462f">Property</a> </td>
960
<td class="paramname"> <em>prop</em>, </td>
963
<td class="paramkey"></td>
965
<td class="paramtype"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> </td>
966
<td class="paramname"> <em>value</em>, </td>
969
<td class="paramkey"></td>
971
<td class="paramtype"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> </td>
972
<td class="paramname"> <em>stroke</em>, </td>
975
<td class="paramkey"></td>
977
<td class="paramtype"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> </td>
978
<td class="paramname"> <em>fill</em></td><td> </td>
983
<td></td><td></td><td><code> [virtual]</code></td>
989
<p>Set an attribute on this object. </p>
990
<p>Returns true if an attribute was actually changed. The arguments <em>stroke</em> and <em>fill</em> are only used then <em>prop</em> is <em>EPropPathMode</em>, and stroking or filling is added to an object that didn't have it before. </p>
992
<p>Reimplemented from <a class="el" href="classipe_1_1_object.html#adbcb419378b3301121e10793dc344ea2">ipe::Object</a>.</p>
996
<a class="anchor" id="ac0b24cf2aa0badea5fd7073d37e64435"></a><!-- doxytag: member="ipe::Path::getAttribute" ref="ac0b24cf2aa0badea5fd7073d37e64435" args="(Property prop)" -->
997
<div class="memitem">
998
<div class="memproto">
999
<table class="memname">
1001
<td class="memname"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> Path::getAttribute </td>
1003
<td class="paramtype"><a class="el" href="group__attr.html#gac50c1b1c913f9551a97e37ef29eb462f">Property</a> </td>
1004
<td class="paramname"> <em>prop</em></td>
1005
<td> ) </td>
1006
<td><code> [virtual]</code></td>
1010
<div class="memdoc">
1012
<p>Get setting of an attribute of this object. </p>
1013
<p>If object does not have this attribute, returnes "undefined" attribute. </p>
1015
<p>Reimplemented from <a class="el" href="classipe_1_1_object.html#af60ffe98d9699dc9463d33f64b7ef98e">ipe::Object</a>.</p>
1019
<a class="anchor" id="ae4424f1b2ff2b6534924ea5c5e52ebc8"></a><!-- doxytag: member="ipe::Path::arrow" ref="ae4424f1b2ff2b6534924ea5c5e52ebc8" args="() const " -->
1020
<div class="memitem">
1021
<div class="memproto">
1022
<table class="memname">
1024
<td class="memname">bool ipe::Path::arrow </td>
1026
<td class="paramname"></td>
1027
<td> ) </td>
1028
<td> const<code> [inline]</code></td>
1032
<div class="memdoc">
1034
<p>Does object have an arrow? </p>
1038
<a class="anchor" id="a2d4470e2d1be1bc90b3c3a4084c5dfd7"></a><!-- doxytag: member="ipe::Path::rArrow" ref="a2d4470e2d1be1bc90b3c3a4084c5dfd7" args="() const " -->
1039
<div class="memitem">
1040
<div class="memproto">
1041
<table class="memname">
1043
<td class="memname">bool ipe::Path::rArrow </td>
1045
<td class="paramname"></td>
1046
<td> ) </td>
1047
<td> const<code> [inline]</code></td>
1051
<div class="memdoc">
1053
<p>Does object have a reverse arrow? </p>
1057
<a class="anchor" id="ab2eb23018ffa5f621aae5ff34350fda9"></a><!-- doxytag: member="ipe::Path::arrowShape" ref="ab2eb23018ffa5f621aae5ff34350fda9" args="() const " -->
1058
<div class="memitem">
1059
<div class="memproto">
1060
<table class="memname">
1062
<td class="memname"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Path::arrowShape </td>
1064
<td class="paramname"></td>
1065
<td> ) </td>
1066
<td> const<code> [inline]</code></td>
1070
<div class="memdoc">
1072
<p>Return shape of arrow. </p>
1076
<a class="anchor" id="a6dc4f8283de7e0cff9a57ddda227d162"></a><!-- doxytag: member="ipe::Path::rArrowShape" ref="a6dc4f8283de7e0cff9a57ddda227d162" args="() const " -->
1077
<div class="memitem">
1078
<div class="memproto">
1079
<table class="memname">
1081
<td class="memname"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Path::rArrowShape </td>
1083
<td class="paramname"></td>
1084
<td> ) </td>
1085
<td> const<code> [inline]</code></td>
1089
<div class="memdoc">
1091
<p>Return shape of reverse arrow. </p>
1095
<a class="anchor" id="a1167a8662140e5d744dfe3c0868da0ed"></a><!-- doxytag: member="ipe::Path::arrowSize" ref="a1167a8662140e5d744dfe3c0868da0ed" args="() const " -->
1096
<div class="memitem">
1097
<div class="memproto">
1098
<table class="memname">
1100
<td class="memname"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Path::arrowSize </td>
1102
<td class="paramname"></td>
1103
<td> ) </td>
1104
<td> const<code> [inline]</code></td>
1108
<div class="memdoc">
1110
<p>Return size of arrow. </p>
1114
<a class="anchor" id="ab8296bfa56b0156206d43667ab620a72"></a><!-- doxytag: member="ipe::Path::rArrowSize" ref="ab8296bfa56b0156206d43667ab620a72" args="() const " -->
1115
<div class="memitem">
1116
<div class="memproto">
1117
<table class="memname">
1119
<td class="memname"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Path::rArrowSize </td>
1121
<td class="paramname"></td>
1122
<td> ) </td>
1123
<td> const<code> [inline]</code></td>
1127
<div class="memdoc">
1129
<p>Return size of reverse arrow. </p>
1133
<a class="anchor" id="a67bcd47d6e5c5f4ad12df2114a7732ee"></a><!-- doxytag: member="ipe::Path::setArrow" ref="a67bcd47d6e5c5f4ad12df2114a7732ee" args="(bool arrow, Attribute shape, Attribute size)" -->
1134
<div class="memitem">
1135
<div class="memproto">
1136
<table class="memname">
1138
<td class="memname">void Path::setArrow </td>
1140
<td class="paramtype">bool </td>
1141
<td class="paramname"> <em>arrow</em>, </td>
1144
<td class="paramkey"></td>
1146
<td class="paramtype"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> </td>
1147
<td class="paramname"> <em>shape</em>, </td>
1150
<td class="paramkey"></td>
1152
<td class="paramtype"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> </td>
1153
<td class="paramname"> <em>size</em></td><td> </td>
1158
<td></td><td></td><td></td>
1162
<div class="memdoc">
1164
<p>Set forward arrow. </p>
1168
<a class="anchor" id="a03e234a4ca96e75160e0c855d493e178"></a><!-- doxytag: member="ipe::Path::setRarrow" ref="a03e234a4ca96e75160e0c855d493e178" args="(bool arrow, Attribute shape, Attribute size)" -->
1169
<div class="memitem">
1170
<div class="memproto">
1171
<table class="memname">
1173
<td class="memname">void Path::setRarrow </td>
1175
<td class="paramtype">bool </td>
1176
<td class="paramname"> <em>arrow</em>, </td>
1179
<td class="paramkey"></td>
1181
<td class="paramtype"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> </td>
1182
<td class="paramname"> <em>shape</em>, </td>
1185
<td class="paramkey"></td>
1187
<td class="paramtype"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> </td>
1188
<td class="paramname"> <em>size</em></td><td> </td>
1193
<td></td><td></td><td></td>
1197
<div class="memdoc">
1199
<p>Set backward arrow (if the object can take it). </p>
1203
<a class="anchor" id="a6000b9ab135128f960b40418c764e2e9"></a><!-- doxytag: member="ipe::Path::drawArrow" ref="a6000b9ab135128f960b40418c764e2e9" args="(Painter &painter, Vector pos, Angle alpha, Attribute shape, Attribute size, double radius)" -->
1204
<div class="memitem">
1205
<div class="memproto">
1206
<table class="memname">
1208
<td class="memname">void Path::drawArrow </td>
1210
<td class="paramtype"><a class="el" href="classipe_1_1_painter.html">Painter</a> & </td>
1211
<td class="paramname"> <em>painter</em>, </td>
1214
<td class="paramkey"></td>
1216
<td class="paramtype"><a class="el" href="classipe_1_1_vector.html">Vector</a> </td>
1217
<td class="paramname"> <em>pos</em>, </td>
1220
<td class="paramkey"></td>
1222
<td class="paramtype"><a class="el" href="classipe_1_1_angle.html">Angle</a> </td>
1223
<td class="paramname"> <em>alpha</em>, </td>
1226
<td class="paramkey"></td>
1228
<td class="paramtype"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> </td>
1229
<td class="paramname"> <em>shape</em>, </td>
1232
<td class="paramkey"></td>
1234
<td class="paramtype"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> </td>
1235
<td class="paramname"> <em>size</em>, </td>
1238
<td class="paramkey"></td>
1240
<td class="paramtype">double </td>
1241
<td class="paramname"> <em>radius</em></td><td> </td>
1246
<td></td><td></td><td><code> [static]</code></td>
1250
<div class="memdoc">
1252
<p>Draw an arrow of <em>size</em> with tip at <em>v1</em> directed from <em>v0</em> to <em>v1</em>. </p>
1256
<a class="anchor" id="a574acee6d796ed4f45970cb190a1121e"></a><!-- doxytag: member="ipe::Path::shape" ref="a574acee6d796ed4f45970cb190a1121e" args="() const " -->
1257
<div class="memitem">
1258
<div class="memproto">
1259
<table class="memname">
1261
<td class="memname">const <a class="el" href="classipe_1_1_shape.html">Shape</a>& ipe::Path::shape </td>
1263
<td class="paramname"></td>
1264
<td> ) </td>
1265
<td> const<code> [inline]</code></td>
1269
<div class="memdoc">
1271
<p>Return shape of the path object. </p>
1275
<a class="anchor" id="ae7014f62d96b8688d91c8d2ad39fca9d"></a><!-- doxytag: member="ipe::Path::setShape" ref="ae7014f62d96b8688d91c8d2ad39fca9d" args="(const Shape &shape)" -->
1276
<div class="memitem">
1277
<div class="memproto">
1278
<table class="memname">
1280
<td class="memname">void Path::setShape </td>
1282
<td class="paramtype">const <a class="el" href="classipe_1_1_shape.html">Shape</a> & </td>
1283
<td class="paramname"> <em>shape</em></td>
1284
<td> ) </td>
1289
<div class="memdoc">
1293
<hr/>The documentation for this class was generated from the following files:<ul>
1295
<li>ipepath.cpp</li>