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::Curve 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_curve.html">Curve</a>
30
<div class="contents">
31
<h1>ipe::Curve Class Reference<br/>
33
[<a class="el" href="group__geo.html">Ipe Geometry</a>]</small>
34
</h1><!-- doxytag: class="ipe::Curve" --><!-- doxytag: inherits="ipe::SubPath" -->
35
<p>Subpath consisting of a sequence of CurveSegment's.
36
<a href="#_details">More...</a></p>
38
<p><code>#include <ipeshape.h></code></p>
40
<p>Inherits <a class="el" href="classipe_1_1_sub_path.html">ipe::SubPath</a>.</p>
42
<p><a href="classipe_1_1_curve-members.html">List of all members.</a></p>
47
<h2>Public Member Functions</h2>
49
<li><a class="el" href="classipe_1_1_curve.html#acf7a848ad3b0e6a7931bf962941594bc">Curve</a> ()
50
<li>virtual <a class="el" href="classipe_1_1_sub_path.html#ad17bc5b4ed674c253cd81049d7fe1551">Type</a> <a class="el" href="classipe_1_1_curve.html#a005753e2c6ff30c126cc74f77773c2c1">type</a> () const
51
<li>virtual bool <a class="el" href="classipe_1_1_curve.html#a8be05768f0f7c8f39e82c3152c804b40">closed</a> () const
52
<li>virtual const <a class="el" href="classipe_1_1_curve.html">Curve</a> * <a class="el" href="classipe_1_1_curve.html#a0f1f616eb50eee108999b479324438e0">asCurve</a> () const
53
<li>virtual void <a class="el" href="classipe_1_1_curve.html#a3b8d5f90cd4f6a41d3b7c0108180c4b3">save</a> (<a class="el" href="classipe_1_1_stream.html">Stream</a> &stream) const
54
<li>virtual void <a class="el" href="classipe_1_1_curve.html#ad55967b48564f6359f3892664c8d1e85">draw</a> (<a class="el" href="classipe_1_1_painter.html">Painter</a> &painter) const
55
<li>virtual void <a class="el" href="classipe_1_1_curve.html#a4f21270dd069018f5c36c11dc398b218">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
56
<li>virtual double <a class="el" href="classipe_1_1_curve.html#a7ead7c3d4c6162d591be200b6d701be1">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
57
<li>virtual void <a class="el" href="classipe_1_1_curve.html#adf58b6fcd607adcc8dfc56b244804a2e">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
58
<li>virtual void <a class="el" href="classipe_1_1_curve.html#a3f8028ef7420ada1c9e2bdfdce9664fc">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
59
<li>int <a class="el" href="classipe_1_1_curve.html#a00fcca2ac9bc4f12483402d0adf89c7a">countSegments</a> () const
60
<li><a class="el" href="classipe_1_1_curve_segment.html">CurveSegment</a> <a class="el" href="classipe_1_1_curve.html#a16df1dc51f102100684c708677262ae3">segment</a> (int i) const
61
<li><a class="el" href="classipe_1_1_curve_segment.html">CurveSegment</a> <a class="el" href="classipe_1_1_curve.html#a43076f4f28bdc6685ce9cd8f4e805e94">closingSegment</a> (<a class="el" href="classipe_1_1_vector.html">Vector</a> u[2]) const
62
<li>void <a class="el" href="classipe_1_1_curve.html#a176acb526a0608ba486951300e48b2c4">appendSegment</a> (const <a class="el" href="classipe_1_1_vector.html">Vector</a> &v0, const <a class="el" href="classipe_1_1_vector.html">Vector</a> &v1)
63
<li>void <a class="el" href="classipe_1_1_curve.html#a8b6ead7f1adf212eea2578233ced07cb">appendArc</a> (const <a class="el" href="classipe_1_1_matrix.html">Matrix</a> &m, const <a class="el" href="classipe_1_1_vector.html">Vector</a> &v0, const <a class="el" href="classipe_1_1_vector.html">Vector</a> &v1)
64
<li>void <a class="el" href="classipe_1_1_curve.html#a62e0ec7e6fc58f8cc2f0e9bda52693ea">appendQuad</a> (const <a class="el" href="classipe_1_1_vector.html">Vector</a> &v0, const <a class="el" href="classipe_1_1_vector.html">Vector</a> &v1, const <a class="el" href="classipe_1_1_vector.html">Vector</a> &v2)
65
<li>void <a class="el" href="classipe_1_1_curve.html#a6b1bc6ab4107ec11ce39b1f7349cf2db">appendBezier</a> (const <a class="el" href="classipe_1_1_vector.html">Vector</a> &v0, const <a class="el" href="classipe_1_1_vector.html">Vector</a> &v1, const <a class="el" href="classipe_1_1_vector.html">Vector</a> &v2, const <a class="el" href="classipe_1_1_vector.html">Vector</a> &v3)
66
<li>void <a class="el" href="classipe_1_1_curve.html#a53a567aa81814b8a97f6b68a9508a8d2">appendSpline</a> (const std::vector< <a class="el" href="classipe_1_1_vector.html">Vector</a> > &v)
67
<li>void <a class="el" href="classipe_1_1_curve.html#a8faa181d1b28453e7e6d456d36f090bd">setClosed</a> (bool closed)
69
<hr/><a name="_details"></a><h2>Detailed Description</h2>
70
<p>Subpath consisting of a sequence of CurveSegment's. </p>
71
<hr/><h2>Constructor & Destructor Documentation</h2>
72
<a class="anchor" id="acf7a848ad3b0e6a7931bf962941594bc"></a><!-- doxytag: member="ipe::Curve::Curve" ref="acf7a848ad3b0e6a7931bf962941594bc" args="()" -->
74
<div class="memproto">
75
<table class="memname">
77
<td class="memname">Curve::Curve </td>
79
<td class="paramname"></td>
80
<td> ) </td>
87
<p>Create an empty, open subpath. </p>
91
<hr/><h2>Member Function Documentation</h2>
92
<a class="anchor" id="a005753e2c6ff30c126cc74f77773c2c1"></a><!-- doxytag: member="ipe::Curve::type" ref="a005753e2c6ff30c126cc74f77773c2c1" args="() const " -->
94
<div class="memproto">
95
<table class="memname">
97
<td class="memname"><a class="el" href="classipe_1_1_sub_path.html#ad17bc5b4ed674c253cd81049d7fe1551">SubPath::Type</a> Curve::type </td>
99
<td class="paramname"></td>
100
<td> ) </td>
101
<td> const<code> [virtual]</code></td>
107
<p>Return type of this subpath. </p>
109
<p>Implements <a class="el" href="classipe_1_1_sub_path.html#a1cf726cc8bf16151eb8a2f36a733507a">ipe::SubPath</a>.</p>
113
<a class="anchor" id="a8be05768f0f7c8f39e82c3152c804b40"></a><!-- doxytag: member="ipe::Curve::closed" ref="a8be05768f0f7c8f39e82c3152c804b40" args="() const " -->
114
<div class="memitem">
115
<div class="memproto">
116
<table class="memname">
118
<td class="memname">virtual bool ipe::Curve::closed </td>
120
<td class="paramname"></td>
121
<td> ) </td>
122
<td> const<code> [inline, virtual]</code></td>
128
<p>Is this subpath closed? </p>
129
<p>Default implementation returns <code>true</code>. </p>
131
<p>Reimplemented from <a class="el" href="classipe_1_1_sub_path.html#a76f0bcfa6de33d0cd01b6d62d61b0bc9">ipe::SubPath</a>.</p>
135
<a class="anchor" id="a0f1f616eb50eee108999b479324438e0"></a><!-- doxytag: member="ipe::Curve::asCurve" ref="a0f1f616eb50eee108999b479324438e0" args="() const " -->
136
<div class="memitem">
137
<div class="memproto">
138
<table class="memname">
140
<td class="memname">const <a class="el" href="classipe_1_1_curve.html">Curve</a> * Curve::asCurve </td>
142
<td class="paramname"></td>
143
<td> ) </td>
144
<td> const<code> [virtual]</code></td>
150
<p>Return this object as an <a class="el" href="classipe_1_1_curve.html" title="Subpath consisting of a sequence of CurveSegment's.">Curve</a>, or else 0. </p>
152
<p>Reimplemented from <a class="el" href="classipe_1_1_sub_path.html#a52ea0a774eedf20b2e498f88879b696d">ipe::SubPath</a>.</p>
156
<a class="anchor" id="a3b8d5f90cd4f6a41d3b7c0108180c4b3"></a><!-- doxytag: member="ipe::Curve::save" ref="a3b8d5f90cd4f6a41d3b7c0108180c4b3" args="(Stream &stream) const " -->
157
<div class="memitem">
158
<div class="memproto">
159
<table class="memname">
161
<td class="memname">void Curve::save </td>
163
<td class="paramtype"><a class="el" href="classipe_1_1_stream.html">Stream</a> & </td>
164
<td class="paramname"> <em>stream</em></td>
165
<td> ) </td>
166
<td> const<code> [virtual]</code></td>
172
<p>Save subpath to XML stream. </p>
174
<p>Implements <a class="el" href="classipe_1_1_sub_path.html#a3fa5c6e90febc2f0a2094f32b1fdb3d6">ipe::SubPath</a>.</p>
178
<a class="anchor" id="ad55967b48564f6359f3892664c8d1e85"></a><!-- doxytag: member="ipe::Curve::draw" ref="ad55967b48564f6359f3892664c8d1e85" args="(Painter &painter) const " -->
179
<div class="memitem">
180
<div class="memproto">
181
<table class="memname">
183
<td class="memname">void Curve::draw </td>
185
<td class="paramtype"><a class="el" href="classipe_1_1_painter.html">Painter</a> & </td>
186
<td class="paramname"> <em>painter</em></td>
187
<td> ) </td>
188
<td> const<code> [virtual]</code></td>
194
<p>Draw subpath (does not call drawPath()). </p>
196
<p>Implements <a class="el" href="classipe_1_1_sub_path.html#aec23897c9f8d87909af871f9f8c9c804">ipe::SubPath</a>.</p>
200
<a class="anchor" id="a4f21270dd069018f5c36c11dc398b218"></a><!-- doxytag: member="ipe::Curve::addToBBox" ref="a4f21270dd069018f5c36c11dc398b218" args="(Rect &box, const Matrix &m, bool cp) const " -->
201
<div class="memitem">
202
<div class="memproto">
203
<table class="memname">
205
<td class="memname">void Curve::addToBBox </td>
207
<td class="paramtype"><a class="el" href="classipe_1_1_rect.html">Rect</a> & </td>
208
<td class="paramname"> <em>box</em>, </td>
211
<td class="paramkey"></td>
213
<td class="paramtype">const <a class="el" href="classipe_1_1_matrix.html">Matrix</a> & </td>
214
<td class="paramname"> <em>m</em>, </td>
217
<td class="paramkey"></td>
219
<td class="paramtype">bool </td>
220
<td class="paramname"> <em>cp</em></td><td> </td>
225
<td></td><td></td><td> const<code> [virtual]</code></td>
231
<p>Add subpath to box. </p>
233
<p>Implements <a class="el" href="classipe_1_1_sub_path.html#a65ab673650266f8b33d5a57d187f4c4e">ipe::SubPath</a>.</p>
237
<a class="anchor" id="a7ead7c3d4c6162d591be200b6d701be1"></a><!-- doxytag: member="ipe::Curve::distance" ref="a7ead7c3d4c6162d591be200b6d701be1" args="(const Vector &v, const Matrix &m, double bound) const " -->
238
<div class="memitem">
239
<div class="memproto">
240
<table class="memname">
242
<td class="memname">double Curve::distance </td>
244
<td class="paramtype">const <a class="el" href="classipe_1_1_vector.html">Vector</a> & </td>
245
<td class="paramname"> <em>v</em>, </td>
248
<td class="paramkey"></td>
250
<td class="paramtype">const <a class="el" href="classipe_1_1_matrix.html">Matrix</a> & </td>
251
<td class="paramname"> <em>m</em>, </td>
254
<td class="paramkey"></td>
256
<td class="paramtype">double </td>
257
<td class="paramname"> <em>bound</em></td><td> </td>
262
<td></td><td></td><td> const<code> [virtual]</code></td>
268
<p>Return distance from <em>v</em> to subpath transformed by <em>m</em>. </p>
270
<p>Implements <a class="el" href="classipe_1_1_sub_path.html#a830bce7339770adce1beb9d46930a61b">ipe::SubPath</a>.</p>
274
<a class="anchor" id="adf58b6fcd607adcc8dfc56b244804a2e"></a><!-- doxytag: member="ipe::Curve::snapVtx" ref="adf58b6fcd607adcc8dfc56b244804a2e" args="(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const " -->
275
<div class="memitem">
276
<div class="memproto">
277
<table class="memname">
279
<td class="memname">void Curve::snapVtx </td>
281
<td class="paramtype">const <a class="el" href="classipe_1_1_vector.html">Vector</a> & </td>
282
<td class="paramname"> <em>mouse</em>, </td>
285
<td class="paramkey"></td>
287
<td class="paramtype">const <a class="el" href="classipe_1_1_matrix.html">Matrix</a> & </td>
288
<td class="paramname"> <em>m</em>, </td>
291
<td class="paramkey"></td>
293
<td class="paramtype"><a class="el" href="classipe_1_1_vector.html">Vector</a> & </td>
294
<td class="paramname"> <em>pos</em>, </td>
297
<td class="paramkey"></td>
299
<td class="paramtype">double & </td>
300
<td class="paramname"> <em>bound</em></td><td> </td>
305
<td></td><td></td><td> const<code> [virtual]</code></td>
311
<p><a class="el" href="classipe_1_1_snap.html" title="Performs snapping operations, and stores snapping state.">Snap</a> to vertex. </p>
313
<p>Implements <a class="el" href="classipe_1_1_sub_path.html#a9012f567225b77eafdfcf543ae9ab60a">ipe::SubPath</a>.</p>
317
<a class="anchor" id="a3f8028ef7420ada1c9e2bdfdce9664fc"></a><!-- doxytag: member="ipe::Curve::snapBnd" ref="a3f8028ef7420ada1c9e2bdfdce9664fc" args="(const Vector &mouse, const Matrix &m, Vector &pos, double &bound) const " -->
318
<div class="memitem">
319
<div class="memproto">
320
<table class="memname">
322
<td class="memname">void Curve::snapBnd </td>
324
<td class="paramtype">const <a class="el" href="classipe_1_1_vector.html">Vector</a> & </td>
325
<td class="paramname"> <em>mouse</em>, </td>
328
<td class="paramkey"></td>
330
<td class="paramtype">const <a class="el" href="classipe_1_1_matrix.html">Matrix</a> & </td>
331
<td class="paramname"> <em>m</em>, </td>
334
<td class="paramkey"></td>
336
<td class="paramtype"><a class="el" href="classipe_1_1_vector.html">Vector</a> & </td>
337
<td class="paramname"> <em>pos</em>, </td>
340
<td class="paramkey"></td>
342
<td class="paramtype">double & </td>
343
<td class="paramname"> <em>bound</em></td><td> </td>
348
<td></td><td></td><td> const<code> [virtual]</code></td>
354
<p><a class="el" href="classipe_1_1_snap.html" title="Performs snapping operations, and stores snapping state.">Snap</a> to boundary of subpath. </p>
356
<p>Implements <a class="el" href="classipe_1_1_sub_path.html#a19913177fdd50b8fe276e6c6313b569a">ipe::SubPath</a>.</p>
360
<a class="anchor" id="a00fcca2ac9bc4f12483402d0adf89c7a"></a><!-- doxytag: member="ipe::Curve::countSegments" ref="a00fcca2ac9bc4f12483402d0adf89c7a" args="() const " -->
361
<div class="memitem">
362
<div class="memproto">
363
<table class="memname">
365
<td class="memname">int ipe::Curve::countSegments </td>
367
<td class="paramname"></td>
368
<td> ) </td>
369
<td> const<code> [inline]</code></td>
375
<p>Return number of segments. This does not include the closing segment for a closed path. </p>
379
<a class="anchor" id="a16df1dc51f102100684c708677262ae3"></a><!-- doxytag: member="ipe::Curve::segment" ref="a16df1dc51f102100684c708677262ae3" args="(int i) const " -->
380
<div class="memitem">
381
<div class="memproto">
382
<table class="memname">
384
<td class="memname"><a class="el" href="classipe_1_1_curve_segment.html">CurveSegment</a> Curve::segment </td>
386
<td class="paramtype">int </td>
387
<td class="paramname"> <em>i</em></td>
388
<td> ) </td>
395
<p>Return segment. </p>
396
<p>If <em>i</em> is negative, elements from the end are returned. The closing segment of a closed path is not accessible this way (use <a class="el" href="classipe_1_1_curve.html#a43076f4f28bdc6685ce9cd8f4e805e94" title="Returns the closing segment of a closed path.">closingSegment()</a> instead)! </p>
400
<a class="anchor" id="a43076f4f28bdc6685ce9cd8f4e805e94"></a><!-- doxytag: member="ipe::Curve::closingSegment" ref="a43076f4f28bdc6685ce9cd8f4e805e94" args="(Vector u[2]) const " -->
401
<div class="memitem">
402
<div class="memproto">
403
<table class="memname">
405
<td class="memname"><a class="el" href="classipe_1_1_curve_segment.html">CurveSegment</a> Curve::closingSegment </td>
407
<td class="paramtype"><a class="el" href="classipe_1_1_vector.html">Vector</a> </td>
408
<td class="paramname"> <em>u</em>[2]</td>
409
<td> ) </td>
416
<p>Returns the closing segment of a closed path. </p>
417
<p>Since the closing segment isn't actually stored inside this object, you have to provide a length-2 vector for the control points.</p>
418
<p>This method panics if the <a class="el" href="classipe_1_1_curve.html" title="Subpath consisting of a sequence of CurveSegment's.">Curve</a> is not closed. </p>
422
<a class="anchor" id="a176acb526a0608ba486951300e48b2c4"></a><!-- doxytag: member="ipe::Curve::appendSegment" ref="a176acb526a0608ba486951300e48b2c4" args="(const Vector &v0, const Vector &v1)" -->
423
<div class="memitem">
424
<div class="memproto">
425
<table class="memname">
427
<td class="memname">void Curve::appendSegment </td>
429
<td class="paramtype">const <a class="el" href="classipe_1_1_vector.html">Vector</a> & </td>
430
<td class="paramname"> <em>v0</em>, </td>
433
<td class="paramkey"></td>
435
<td class="paramtype">const <a class="el" href="classipe_1_1_vector.html">Vector</a> & </td>
436
<td class="paramname"> <em>v1</em></td><td> </td>
441
<td></td><td></td><td></td>
447
<p>Append a straight segment to the subpath. </p>
451
<a class="anchor" id="a8b6ead7f1adf212eea2578233ced07cb"></a><!-- doxytag: member="ipe::Curve::appendArc" ref="a8b6ead7f1adf212eea2578233ced07cb" args="(const Matrix &m, const Vector &v0, const Vector &v1)" -->
452
<div class="memitem">
453
<div class="memproto">
454
<table class="memname">
456
<td class="memname">void Curve::appendArc </td>
458
<td class="paramtype">const <a class="el" href="classipe_1_1_matrix.html">Matrix</a> & </td>
459
<td class="paramname"> <em>m</em>, </td>
462
<td class="paramkey"></td>
464
<td class="paramtype">const <a class="el" href="classipe_1_1_vector.html">Vector</a> & </td>
465
<td class="paramname"> <em>v0</em>, </td>
468
<td class="paramkey"></td>
470
<td class="paramtype">const <a class="el" href="classipe_1_1_vector.html">Vector</a> & </td>
471
<td class="paramname"> <em>v1</em></td><td> </td>
476
<td></td><td></td><td></td>
482
<p>Append elliptic arc to the subpath. </p>
486
<a class="anchor" id="a62e0ec7e6fc58f8cc2f0e9bda52693ea"></a><!-- doxytag: member="ipe::Curve::appendQuad" ref="a62e0ec7e6fc58f8cc2f0e9bda52693ea" args="(const Vector &v0, const Vector &v1, const Vector &v2)" -->
487
<div class="memitem">
488
<div class="memproto">
489
<table class="memname">
491
<td class="memname">void Curve::appendQuad </td>
493
<td class="paramtype">const <a class="el" href="classipe_1_1_vector.html">Vector</a> & </td>
494
<td class="paramname"> <em>v0</em>, </td>
497
<td class="paramkey"></td>
499
<td class="paramtype">const <a class="el" href="classipe_1_1_vector.html">Vector</a> & </td>
500
<td class="paramname"> <em>v1</em>, </td>
503
<td class="paramkey"></td>
505
<td class="paramtype">const <a class="el" href="classipe_1_1_vector.html">Vector</a> & </td>
506
<td class="paramname"> <em>v2</em></td><td> </td>
511
<td></td><td></td><td></td>
517
<p>Append quadratic <a class="el" href="classipe_1_1_bezier.html" title="A cubic Bezier spline.">Bezier</a> spline. </p>
521
<a class="anchor" id="a6b1bc6ab4107ec11ce39b1f7349cf2db"></a><!-- doxytag: member="ipe::Curve::appendBezier" ref="a6b1bc6ab4107ec11ce39b1f7349cf2db" args="(const Vector &v0, const Vector &v1, const Vector &v2, const Vector &v3)" -->
522
<div class="memitem">
523
<div class="memproto">
524
<table class="memname">
526
<td class="memname">void Curve::appendBezier </td>
528
<td class="paramtype">const <a class="el" href="classipe_1_1_vector.html">Vector</a> & </td>
529
<td class="paramname"> <em>v0</em>, </td>
532
<td class="paramkey"></td>
534
<td class="paramtype">const <a class="el" href="classipe_1_1_vector.html">Vector</a> & </td>
535
<td class="paramname"> <em>v1</em>, </td>
538
<td class="paramkey"></td>
540
<td class="paramtype">const <a class="el" href="classipe_1_1_vector.html">Vector</a> & </td>
541
<td class="paramname"> <em>v2</em>, </td>
544
<td class="paramkey"></td>
546
<td class="paramtype">const <a class="el" href="classipe_1_1_vector.html">Vector</a> & </td>
547
<td class="paramname"> <em>v3</em></td><td> </td>
552
<td></td><td></td><td></td>
558
<p>Append cubic <a class="el" href="classipe_1_1_bezier.html" title="A cubic Bezier spline.">Bezier</a> spline. </p>
562
<a class="anchor" id="a53a567aa81814b8a97f6b68a9508a8d2"></a><!-- doxytag: member="ipe::Curve::appendSpline" ref="a53a567aa81814b8a97f6b68a9508a8d2" args="(const std::vector< Vector > &v)" -->
563
<div class="memitem">
564
<div class="memproto">
565
<table class="memname">
567
<td class="memname">void Curve::appendSpline </td>
569
<td class="paramtype">const std::vector< <a class="el" href="classipe_1_1_vector.html">Vector</a> > & </td>
570
<td class="paramname"> <em>v</em></td>
571
<td> ) </td>
578
<p>Append B-spline curve. </p>
582
<a class="anchor" id="a8faa181d1b28453e7e6d456d36f090bd"></a><!-- doxytag: member="ipe::Curve::setClosed" ref="a8faa181d1b28453e7e6d456d36f090bd" args="(bool closed)" -->
583
<div class="memitem">
584
<div class="memproto">
585
<table class="memname">
587
<td class="memname">void Curve::setClosed </td>
589
<td class="paramtype">bool </td>
590
<td class="paramname"> <em>closed</em></td>
591
<td> ) </td>
598
<p>Set whether subpath is closed or not. </p>
602
<hr/>The documentation for this class was generated from the following files:<ul>
604
<li>ipeshape.cpp</li>