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: IpeSegmentSubPath class Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
6
<!-- Generated by Doxygen 1.3.4 -->
7
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="functions.html">Class Members</a></div>
8
<h1>IpeSegmentSubPath Class Reference<br>
10
[<a class="el" href="group__obj.html">Ipe Objects</a>]</small>
11
</h1>Subpath consisting of a sequence of IpePathSegment's.
12
<a href="#_details">More...</a>
14
Inherits <a class="el" href="class_ipe_sub_path.html">IpeSubPath</a>.
16
<a href="class_ipe_segment_sub_path-members.html">List of all members.</a><h2>Public Member Functions</h2>
18
<li><a class="el" href="class_ipe_segment_sub_path.html#a0">IpeSegmentSubPath</a> ()
19
<li>virtual <a class="el" href="class_ipe_sub_path.html#w3">TType</a> <a class="el" href="class_ipe_segment_sub_path.html#a1">Type</a> () const
20
<li>virtual bool <a class="el" href="class_ipe_segment_sub_path.html#a2">Closed</a> () const
21
<li>virtual const <a class="el" href="class_ipe_segment_sub_path.html">IpeSegmentSubPath</a> * <a class="el" href="class_ipe_segment_sub_path.html#a3">AsSegs</a> () const
22
<li>virtual <a class="el" href="class_ipe_segment_sub_path.html">IpeSegmentSubPath</a> * <a class="el" href="class_ipe_segment_sub_path.html#a4">AsSegs</a> ()
23
<li>virtual <a class="el" href="class_ipe_sub_path.html">IpeSubPath</a> * <a class="el" href="class_ipe_segment_sub_path.html#a5">Clone</a> () const
24
<li>virtual <a class="el" href="class_ipe_sub_path.html">IpeSubPath</a> * <a class="el" href="class_ipe_segment_sub_path.html#a6">Transform</a> (const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &m) const
25
<li>virtual void <a class="el" href="class_ipe_segment_sub_path.html#a7">SaveAsXml</a> (<a class="el" href="class_ipe_stream.html">IpeStream</a> &stream) const
26
<li>virtual void <a class="el" href="class_ipe_segment_sub_path.html#a8">Draw</a> (<a class="el" href="class_ipe_painter.html">IpePainter</a> &painter) const
27
<li>virtual void <a class="el" href="class_ipe_segment_sub_path.html#a9">AddToBBox</a> (<a class="el" href="class_ipe_rect.html">IpeRect</a> &box, const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &m) const
28
<li>virtual double <a class="el" href="class_ipe_segment_sub_path.html#a10">Distance</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &v, const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &m, double bound) const
29
<li>virtual void <a class="el" href="class_ipe_segment_sub_path.html#a11">SnapVtx</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &mouse, const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &m, <a class="el" href="class_ipe_vector.html">IpeVector</a> &pos, double &bound) const
30
<li>virtual void <a class="el" href="class_ipe_segment_sub_path.html#a12">SnapBnd</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &mouse, const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &m, <a class="el" href="class_ipe_vector.html">IpeVector</a> &pos, double &bound) const
31
<li>int <a class="el" href="class_ipe_segment_sub_path.html#a13">NumSegments</a> () const
32
<li><a class="el" href="class_ipe_path_segment.html">IpePathSegment</a> <a class="el" href="class_ipe_segment_sub_path.html#a14">Segment</a> (int i) const
33
<li><a class="anchor" name="a15" doxytag="IpeSegmentSubPath::ClosingSegment" ></a>
34
<a class="el" href="class_ipe_path_segment.html">IpePathSegment</a> <b>ClosingSegment</b> (<a class="el" href="class_ipe_vector.html">IpeVector</a> u[2]) const
35
<li>void <a class="el" href="class_ipe_segment_sub_path.html#a16">Append</a> (const <a class="el" href="class_ipe_path_segment.html">IpePathSegment</a> &seg)
36
<li>void <a class="el" href="class_ipe_segment_sub_path.html#a17">AppendReversed</a> (const <a class="el" href="class_ipe_path_segment.html">IpePathSegment</a> &seg)
37
<li>void <a class="el" href="class_ipe_segment_sub_path.html#a18">AppendSegment</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &v0, const <a class="el" href="class_ipe_vector.html">IpeVector</a> &v1)
38
<li>void <a class="el" href="class_ipe_segment_sub_path.html#a19">AppendArc</a> (const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &m, const <a class="el" href="class_ipe_vector.html">IpeVector</a> &v0, const <a class="el" href="class_ipe_vector.html">IpeVector</a> &v1)
39
<li>void <a class="el" href="class_ipe_segment_sub_path.html#a20">AppendQuad</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &v0, const <a class="el" href="class_ipe_vector.html">IpeVector</a> &v1, const <a class="el" href="class_ipe_vector.html">IpeVector</a> &v2)
40
<li>void <a class="el" href="class_ipe_segment_sub_path.html#a21">AppendBezier</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &v0, const <a class="el" href="class_ipe_vector.html">IpeVector</a> &v1, const <a class="el" href="class_ipe_vector.html">IpeVector</a> &v2, const <a class="el" href="class_ipe_vector.html">IpeVector</a> &v3)
41
<li>void <a class="el" href="class_ipe_segment_sub_path.html#a22">AppendSpline</a> (const std::vector< <a class="el" href="class_ipe_vector.html">IpeVector</a> > &v)
42
<li>void <a class="el" href="class_ipe_segment_sub_path.html#a23">SetClosed</a> (bool closed)
43
<li>void <a class="el" href="class_ipe_segment_sub_path.html#a24">MoveCP</a> (int seg, int cp, const <a class="el" href="class_ipe_vector.html">IpeVector</a> &pos)
44
<li>void <a class="el" href="class_ipe_segment_sub_path.html#a25">InsertCP</a> (int seg, int cp, const <a class="el" href="class_ipe_vector.html">IpeVector</a> &pos)
45
<li>void <a class="el" href="class_ipe_segment_sub_path.html#a26">InsertSegment</a> (int seg)
46
<li>void <a class="el" href="class_ipe_segment_sub_path.html#a27">DeleteSegment</a> (int seg)
47
<li>void <a class="el" href="class_ipe_segment_sub_path.html#a28">DeleteCP</a> (int seg, int cp)
48
<li>void <a class="el" href="class_ipe_segment_sub_path.html#a29">Straighten</a> (int seg)
49
<li>void <a class="el" href="class_ipe_segment_sub_path.html#a30">SetMatrix</a> (int seg, const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &m)
51
<hr><a name="_details"></a><h2>Detailed Description</h2>
52
Subpath consisting of a sequence of IpePathSegment's.
54
<hr><h2>Constructor & Destructor Documentation</h2>
55
<a class="anchor" name="a0" doxytag="IpeSegmentSubPath::IpeSegmentSubPath" ></a><p>
56
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
59
<table cellpadding="0" cellspacing="0" border="0">
61
<td class="md" nowrap valign="top"> IpeSegmentSubPath::IpeSegmentSubPath </td>
62
<td class="md" valign="top">( </td>
63
<td class="mdname1" valign="top" nowrap> </td>
64
<td class="md" valign="top"> ) </td>
65
<td class="md" nowrap></td>
72
<table cellspacing=5 cellpadding=0 border=0>
80
Create an empty, open subpath.
85
<hr><h2>Member Function Documentation</h2>
86
<a class="anchor" name="a1" doxytag="IpeSegmentSubPath::Type" ></a><p>
87
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
90
<table cellpadding="0" cellspacing="0" border="0">
92
<td class="md" nowrap valign="top"> <a class="el" href="class_ipe_sub_path.html#w3">IpeSubPath::TType</a> IpeSegmentSubPath::Type </td>
93
<td class="md" valign="top">( </td>
94
<td class="mdname1" valign="top" nowrap> </td>
95
<td class="md" valign="top"> ) </td>
96
<td class="md" nowrap> const<code> [virtual]</code></td>
103
<table cellspacing=5 cellpadding=0 border=0>
111
Return type of this subpath.
115
Implements <a class="el" href="class_ipe_sub_path.html#a1">IpeSubPath</a>. </td>
118
<a class="anchor" name="a2" doxytag="IpeSegmentSubPath::Closed" ></a><p>
119
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
122
<table cellpadding="0" cellspacing="0" border="0">
124
<td class="md" nowrap valign="top"> virtual bool IpeSegmentSubPath::Closed </td>
125
<td class="md" valign="top">( </td>
126
<td class="mdname1" valign="top" nowrap> </td>
127
<td class="md" valign="top"> ) </td>
128
<td class="md" nowrap> const<code> [inline, virtual]</code></td>
135
<table cellspacing=5 cellpadding=0 border=0>
143
Is this subpath closed?
145
Default implementation returns <code>true</code>.
147
Reimplemented from <a class="el" href="class_ipe_sub_path.html#a2">IpeSubPath</a>. </td>
150
<a class="anchor" name="a3" doxytag="IpeSegmentSubPath::AsSegs" ></a><p>
151
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
154
<table cellpadding="0" cellspacing="0" border="0">
156
<td class="md" nowrap valign="top"> const <a class="el" href="class_ipe_segment_sub_path.html">IpeSegmentSubPath</a> * IpeSegmentSubPath::AsSegs </td>
157
<td class="md" valign="top">( </td>
158
<td class="mdname1" valign="top" nowrap> </td>
159
<td class="md" valign="top"> ) </td>
160
<td class="md" nowrap> const<code> [virtual]</code></td>
167
<table cellspacing=5 cellpadding=0 border=0>
175
Return this object as an IpeSegmentSubPath, or else 0.
179
Reimplemented from <a class="el" href="class_ipe_sub_path.html#a9">IpeSubPath</a>. </td>
182
<a class="anchor" name="a4" doxytag="IpeSegmentSubPath::AsSegs" ></a><p>
183
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
186
<table cellpadding="0" cellspacing="0" border="0">
188
<td class="md" nowrap valign="top"> <a class="el" href="class_ipe_segment_sub_path.html">IpeSegmentSubPath</a> * IpeSegmentSubPath::AsSegs </td>
189
<td class="md" valign="top">( </td>
190
<td class="mdname1" valign="top" nowrap> </td>
191
<td class="md" valign="top"> ) </td>
192
<td class="md" nowrap><code> [virtual]</code></td>
199
<table cellspacing=5 cellpadding=0 border=0>
207
Return this object as an IpeSegmentSubPath, or else 0.
211
Reimplemented from <a class="el" href="class_ipe_sub_path.html#a10">IpeSubPath</a>. </td>
214
<a class="anchor" name="a5" doxytag="IpeSegmentSubPath::Clone" ></a><p>
215
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
218
<table cellpadding="0" cellspacing="0" border="0">
220
<td class="md" nowrap valign="top"> <a class="el" href="class_ipe_sub_path.html">IpeSubPath</a> * IpeSegmentSubPath::Clone </td>
221
<td class="md" valign="top">( </td>
222
<td class="mdname1" valign="top" nowrap> </td>
223
<td class="md" valign="top"> ) </td>
224
<td class="md" nowrap> const<code> [virtual]</code></td>
231
<table cellspacing=5 cellpadding=0 border=0>
239
Return a copy of this subpath.
243
Implements <a class="el" href="class_ipe_sub_path.html#a3">IpeSubPath</a>. </td>
246
<a class="anchor" name="a6" doxytag="IpeSegmentSubPath::Transform" ></a><p>
247
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
250
<table cellpadding="0" cellspacing="0" border="0">
252
<td class="md" nowrap valign="top"> <a class="el" href="class_ipe_sub_path.html">IpeSubPath</a> * IpeSegmentSubPath::Transform </td>
253
<td class="md" valign="top">( </td>
254
<td class="md" nowrap valign="top">const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> & </td>
255
<td class="mdname1" valign="top" nowrap> <em>m</em> </td>
256
<td class="md" valign="top"> ) </td>
257
<td class="md" nowrap> const<code> [virtual]</code></td>
264
<table cellspacing=5 cellpadding=0 border=0>
272
Return a transformed copy of this subpath.
276
Implements <a class="el" href="class_ipe_sub_path.html#a4">IpeSubPath</a>. </td>
279
<a class="anchor" name="a7" doxytag="IpeSegmentSubPath::SaveAsXml" ></a><p>
280
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
283
<table cellpadding="0" cellspacing="0" border="0">
285
<td class="md" nowrap valign="top"> void IpeSegmentSubPath::SaveAsXml </td>
286
<td class="md" valign="top">( </td>
287
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_stream.html">IpeStream</a> & </td>
288
<td class="mdname1" valign="top" nowrap> <em>stream</em> </td>
289
<td class="md" valign="top"> ) </td>
290
<td class="md" nowrap> const<code> [virtual]</code></td>
297
<table cellspacing=5 cellpadding=0 border=0>
305
Save subpath to XML stream.
309
Implements <a class="el" href="class_ipe_sub_path.html#a11">IpeSubPath</a>. </td>
312
<a class="anchor" name="a8" doxytag="IpeSegmentSubPath::Draw" ></a><p>
313
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
316
<table cellpadding="0" cellspacing="0" border="0">
318
<td class="md" nowrap valign="top"> void IpeSegmentSubPath::Draw </td>
319
<td class="md" valign="top">( </td>
320
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_painter.html">IpePainter</a> & </td>
321
<td class="mdname1" valign="top" nowrap> <em>painter</em> </td>
322
<td class="md" valign="top"> ) </td>
323
<td class="md" nowrap> const<code> [virtual]</code></td>
330
<table cellspacing=5 cellpadding=0 border=0>
338
Draw subpath (does not call DrawPath()).
342
Implements <a class="el" href="class_ipe_sub_path.html#a12">IpeSubPath</a>. </td>
345
<a class="anchor" name="a9" doxytag="IpeSegmentSubPath::AddToBBox" ></a><p>
346
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
349
<table cellpadding="0" cellspacing="0" border="0">
351
<td class="md" nowrap valign="top"> void IpeSegmentSubPath::AddToBBox </td>
352
<td class="md" valign="top">( </td>
353
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_rect.html">IpeRect</a> & </td>
354
<td class="mdname" nowrap> <em>box</em>, </td>
359
<td class="md" nowrap>const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> & </td>
360
<td class="mdname" nowrap> <em>m</em></td>
364
<td class="md">) </td>
365
<td class="md" colspan="2"> const<code> [virtual]</code></td>
372
<table cellspacing=5 cellpadding=0 border=0>
384
Implements <a class="el" href="class_ipe_sub_path.html#a13">IpeSubPath</a>. </td>
387
<a class="anchor" name="a10" doxytag="IpeSegmentSubPath::Distance" ></a><p>
388
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
391
<table cellpadding="0" cellspacing="0" border="0">
393
<td class="md" nowrap valign="top"> double IpeSegmentSubPath::Distance </td>
394
<td class="md" valign="top">( </td>
395
<td class="md" nowrap valign="top">const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
396
<td class="mdname" nowrap> <em>v</em>, </td>
401
<td class="md" nowrap>const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> & </td>
402
<td class="mdname" nowrap> <em>m</em>, </td>
407
<td class="md" nowrap>double </td>
408
<td class="mdname" nowrap> <em>bound</em></td>
412
<td class="md">) </td>
413
<td class="md" colspan="2"> const<code> [virtual]</code></td>
420
<table cellspacing=5 cellpadding=0 border=0>
428
Return distance from <em>v</em> to subpath transformed by <em>m</em>.
432
Implements <a class="el" href="class_ipe_sub_path.html#a14">IpeSubPath</a>. </td>
435
<a class="anchor" name="a11" doxytag="IpeSegmentSubPath::SnapVtx" ></a><p>
436
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
439
<table cellpadding="0" cellspacing="0" border="0">
441
<td class="md" nowrap valign="top"> void IpeSegmentSubPath::SnapVtx </td>
442
<td class="md" valign="top">( </td>
443
<td class="md" nowrap valign="top">const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
444
<td class="mdname" nowrap> <em>mouse</em>, </td>
449
<td class="md" nowrap>const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> & </td>
450
<td class="mdname" nowrap> <em>m</em>, </td>
455
<td class="md" nowrap><a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
456
<td class="mdname" nowrap> <em>pos</em>, </td>
461
<td class="md" nowrap>double & </td>
462
<td class="mdname" nowrap> <em>bound</em></td>
466
<td class="md">) </td>
467
<td class="md" colspan="2"> const<code> [virtual]</code></td>
474
<table cellspacing=5 cellpadding=0 border=0>
486
Implements <a class="el" href="class_ipe_sub_path.html#a15">IpeSubPath</a>. </td>
489
<a class="anchor" name="a12" doxytag="IpeSegmentSubPath::SnapBnd" ></a><p>
490
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
493
<table cellpadding="0" cellspacing="0" border="0">
495
<td class="md" nowrap valign="top"> void IpeSegmentSubPath::SnapBnd </td>
496
<td class="md" valign="top">( </td>
497
<td class="md" nowrap valign="top">const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
498
<td class="mdname" nowrap> <em>mouse</em>, </td>
503
<td class="md" nowrap>const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> & </td>
504
<td class="mdname" nowrap> <em>m</em>, </td>
509
<td class="md" nowrap><a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
510
<td class="mdname" nowrap> <em>pos</em>, </td>
515
<td class="md" nowrap>double & </td>
516
<td class="mdname" nowrap> <em>bound</em></td>
520
<td class="md">) </td>
521
<td class="md" colspan="2"> const<code> [virtual]</code></td>
528
<table cellspacing=5 cellpadding=0 border=0>
536
Snap to boundary of subpath.
540
Implements <a class="el" href="class_ipe_sub_path.html#a16">IpeSubPath</a>. </td>
543
<a class="anchor" name="a13" doxytag="IpeSegmentSubPath::NumSegments" ></a><p>
544
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
547
<table cellpadding="0" cellspacing="0" border="0">
549
<td class="md" nowrap valign="top"> int IpeSegmentSubPath::NumSegments </td>
550
<td class="md" valign="top">( </td>
551
<td class="mdname1" valign="top" nowrap> </td>
552
<td class="md" valign="top"> ) </td>
553
<td class="md" nowrap> const<code> [inline]</code></td>
560
<table cellspacing=5 cellpadding=0 border=0>
568
Return number of segments.
573
<a class="anchor" name="a14" doxytag="IpeSegmentSubPath::Segment" ></a><p>
574
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
577
<table cellpadding="0" cellspacing="0" border="0">
579
<td class="md" nowrap valign="top"> <a class="el" href="class_ipe_path_segment.html">IpePathSegment</a> IpeSegmentSubPath::Segment </td>
580
<td class="md" valign="top">( </td>
581
<td class="md" nowrap valign="top">int </td>
582
<td class="mdname1" valign="top" nowrap> <em>i</em> </td>
583
<td class="md" valign="top"> ) </td>
584
<td class="md" nowrap> const</td>
591
<table cellspacing=5 cellpadding=0 border=0>
601
If <em>i</em> is negative, elements from the end are returned. </td>
604
<a class="anchor" name="a16" doxytag="IpeSegmentSubPath::Append" ></a><p>
605
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
608
<table cellpadding="0" cellspacing="0" border="0">
610
<td class="md" nowrap valign="top"> void IpeSegmentSubPath::Append </td>
611
<td class="md" valign="top">( </td>
612
<td class="md" nowrap valign="top">const <a class="el" href="class_ipe_path_segment.html">IpePathSegment</a> & </td>
613
<td class="mdname1" valign="top" nowrap> <em>seg</em> </td>
614
<td class="md" valign="top"> ) </td>
615
<td class="md" nowrap></td>
622
<table cellspacing=5 cellpadding=0 border=0>
630
Append a segment (from a different path) to the subpath.
635
<a class="anchor" name="a17" doxytag="IpeSegmentSubPath::AppendReversed" ></a><p>
636
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
639
<table cellpadding="0" cellspacing="0" border="0">
641
<td class="md" nowrap valign="top"> void IpeSegmentSubPath::AppendReversed </td>
642
<td class="md" valign="top">( </td>
643
<td class="md" nowrap valign="top">const <a class="el" href="class_ipe_path_segment.html">IpePathSegment</a> & </td>
644
<td class="mdname1" valign="top" nowrap> <em>seg</em> </td>
645
<td class="md" valign="top"> ) </td>
646
<td class="md" nowrap></td>
653
<table cellspacing=5 cellpadding=0 border=0>
661
Append a segment to the subpath, reversing its orientation.
666
<a class="anchor" name="a18" doxytag="IpeSegmentSubPath::AppendSegment" ></a><p>
667
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
670
<table cellpadding="0" cellspacing="0" border="0">
672
<td class="md" nowrap valign="top"> void IpeSegmentSubPath::AppendSegment </td>
673
<td class="md" valign="top">( </td>
674
<td class="md" nowrap valign="top">const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
675
<td class="mdname" nowrap> <em>v0</em>, </td>
680
<td class="md" nowrap>const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
681
<td class="mdname" nowrap> <em>v1</em></td>
685
<td class="md">) </td>
686
<td class="md" colspan="2"></td>
693
<table cellspacing=5 cellpadding=0 border=0>
701
Append a straight segment to the subpath.
706
<a class="anchor" name="a19" doxytag="IpeSegmentSubPath::AppendArc" ></a><p>
707
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
710
<table cellpadding="0" cellspacing="0" border="0">
712
<td class="md" nowrap valign="top"> void IpeSegmentSubPath::AppendArc </td>
713
<td class="md" valign="top">( </td>
714
<td class="md" nowrap valign="top">const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> & </td>
715
<td class="mdname" nowrap> <em>m</em>, </td>
720
<td class="md" nowrap>const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
721
<td class="mdname" nowrap> <em>v0</em>, </td>
726
<td class="md" nowrap>const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
727
<td class="mdname" nowrap> <em>v1</em></td>
731
<td class="md">) </td>
732
<td class="md" colspan="2"></td>
739
<table cellspacing=5 cellpadding=0 border=0>
747
Append elliptic arc to the subpath.
752
<a class="anchor" name="a20" doxytag="IpeSegmentSubPath::AppendQuad" ></a><p>
753
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
756
<table cellpadding="0" cellspacing="0" border="0">
758
<td class="md" nowrap valign="top"> void IpeSegmentSubPath::AppendQuad </td>
759
<td class="md" valign="top">( </td>
760
<td class="md" nowrap valign="top">const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
761
<td class="mdname" nowrap> <em>v0</em>, </td>
766
<td class="md" nowrap>const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
767
<td class="mdname" nowrap> <em>v1</em>, </td>
772
<td class="md" nowrap>const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
773
<td class="mdname" nowrap> <em>v2</em></td>
777
<td class="md">) </td>
778
<td class="md" colspan="2"></td>
785
<table cellspacing=5 cellpadding=0 border=0>
793
Append quadratic Bezier spline.
798
<a class="anchor" name="a21" doxytag="IpeSegmentSubPath::AppendBezier" ></a><p>
799
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
802
<table cellpadding="0" cellspacing="0" border="0">
804
<td class="md" nowrap valign="top"> void IpeSegmentSubPath::AppendBezier </td>
805
<td class="md" valign="top">( </td>
806
<td class="md" nowrap valign="top">const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
807
<td class="mdname" nowrap> <em>v0</em>, </td>
812
<td class="md" nowrap>const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
813
<td class="mdname" nowrap> <em>v1</em>, </td>
818
<td class="md" nowrap>const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
819
<td class="mdname" nowrap> <em>v2</em>, </td>
824
<td class="md" nowrap>const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
825
<td class="mdname" nowrap> <em>v3</em></td>
829
<td class="md">) </td>
830
<td class="md" colspan="2"></td>
837
<table cellspacing=5 cellpadding=0 border=0>
845
Append cubic Bezier spline.
850
<a class="anchor" name="a22" doxytag="IpeSegmentSubPath::AppendSpline" ></a><p>
851
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
854
<table cellpadding="0" cellspacing="0" border="0">
856
<td class="md" nowrap valign="top"> void IpeSegmentSubPath::AppendSpline </td>
857
<td class="md" valign="top">( </td>
858
<td class="md" nowrap valign="top">const std::vector< <a class="el" href="class_ipe_vector.html">IpeVector</a> > & </td>
859
<td class="mdname1" valign="top" nowrap> <em>v</em> </td>
860
<td class="md" valign="top"> ) </td>
861
<td class="md" nowrap></td>
868
<table cellspacing=5 cellpadding=0 border=0>
876
Append B-spline curve.
881
<a class="anchor" name="a23" doxytag="IpeSegmentSubPath::SetClosed" ></a><p>
882
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
885
<table cellpadding="0" cellspacing="0" border="0">
887
<td class="md" nowrap valign="top"> void IpeSegmentSubPath::SetClosed </td>
888
<td class="md" valign="top">( </td>
889
<td class="md" nowrap valign="top">bool </td>
890
<td class="mdname1" valign="top" nowrap> <em>closed</em> </td>
891
<td class="md" valign="top"> ) </td>
892
<td class="md" nowrap></td>
899
<table cellspacing=5 cellpadding=0 border=0>
907
Set whether subpath is closed or not.
912
<a class="anchor" name="a24" doxytag="IpeSegmentSubPath::MoveCP" ></a><p>
913
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
916
<table cellpadding="0" cellspacing="0" border="0">
918
<td class="md" nowrap valign="top"> void IpeSegmentSubPath::MoveCP </td>
919
<td class="md" valign="top">( </td>
920
<td class="md" nowrap valign="top">int </td>
921
<td class="mdname" nowrap> <em>seg</em>, </td>
926
<td class="md" nowrap>int </td>
927
<td class="mdname" nowrap> <em>cp</em>, </td>
932
<td class="md" nowrap>const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
933
<td class="mdname" nowrap> <em>pos</em></td>
937
<td class="md">) </td>
938
<td class="md" colspan="2"></td>
945
<table cellspacing=5 cellpadding=0 border=0>
953
Move control point <em>cp</em> of segment <em>cp</em> to position <em>pos</em>.
955
If <em>seg</em> or <em>cp</em> are negative, they count from the end. </td>
958
<a class="anchor" name="a25" doxytag="IpeSegmentSubPath::InsertCP" ></a><p>
959
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
962
<table cellpadding="0" cellspacing="0" border="0">
964
<td class="md" nowrap valign="top"> void IpeSegmentSubPath::InsertCP </td>
965
<td class="md" valign="top">( </td>
966
<td class="md" nowrap valign="top">int </td>
967
<td class="mdname" nowrap> <em>seg</em>, </td>
972
<td class="md" nowrap>int </td>
973
<td class="mdname" nowrap> <em>cp</em>, </td>
978
<td class="md" nowrap>const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
979
<td class="mdname" nowrap> <em>pos</em></td>
983
<td class="md">) </td>
984
<td class="md" colspan="2"></td>
991
<table cellspacing=5 cellpadding=0 border=0>
999
Insert a control point into a spline segment.
1001
If <em>seg</em> is negative, counts from the end. If <em>cp</em> is negative, append to segment. </td>
1004
<a class="anchor" name="a26" doxytag="IpeSegmentSubPath::InsertSegment" ></a><p>
1005
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1008
<table cellpadding="0" cellspacing="0" border="0">
1010
<td class="md" nowrap valign="top"> void IpeSegmentSubPath::InsertSegment </td>
1011
<td class="md" valign="top">( </td>
1012
<td class="md" nowrap valign="top">int </td>
1013
<td class="mdname1" valign="top" nowrap> <em>seg</em> </td>
1014
<td class="md" valign="top"> ) </td>
1015
<td class="md" nowrap></td>
1022
<table cellspacing=5 cellpadding=0 border=0>
1030
Insert a zero-length segment before segment <em>seg</em>.
1032
If <em>seg</em> is negative, it counts from the end. </td>
1035
<a class="anchor" name="a27" doxytag="IpeSegmentSubPath::DeleteSegment" ></a><p>
1036
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1039
<table cellpadding="0" cellspacing="0" border="0">
1041
<td class="md" nowrap valign="top"> void IpeSegmentSubPath::DeleteSegment </td>
1042
<td class="md" valign="top">( </td>
1043
<td class="md" nowrap valign="top">int </td>
1044
<td class="mdname1" valign="top" nowrap> <em>seg</em> </td>
1045
<td class="md" valign="top"> ) </td>
1046
<td class="md" nowrap></td>
1053
<table cellspacing=5 cellpadding=0 border=0>
1061
Delete a segment from the subpath.
1063
If <em>seg</em> is negative, it counts from the end. If a segment in the middle is deleted, the first and last control point must be identical. </td>
1066
<a class="anchor" name="a28" doxytag="IpeSegmentSubPath::DeleteCP" ></a><p>
1067
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1070
<table cellpadding="0" cellspacing="0" border="0">
1072
<td class="md" nowrap valign="top"> void IpeSegmentSubPath::DeleteCP </td>
1073
<td class="md" valign="top">( </td>
1074
<td class="md" nowrap valign="top">int </td>
1075
<td class="mdname" nowrap> <em>seg</em>, </td>
1080
<td class="md" nowrap>int </td>
1081
<td class="mdname" nowrap> <em>cp</em></td>
1085
<td class="md">) </td>
1086
<td class="md" colspan="2"></td>
1093
<table cellspacing=5 cellpadding=0 border=0>
1101
Delete a control point from a spline segment.
1103
If <em>seg</em> or are negative, count from the end. This cannot be used to remove the first or last CP of a spline curve, unless the spline is the first or last segment of the subpath. If the spline has only two vertices, it is simply deleted. </td>
1106
<a class="anchor" name="a29" doxytag="IpeSegmentSubPath::Straighten" ></a><p>
1107
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1110
<table cellpadding="0" cellspacing="0" border="0">
1112
<td class="md" nowrap valign="top"> void IpeSegmentSubPath::Straighten </td>
1113
<td class="md" valign="top">( </td>
1114
<td class="md" nowrap valign="top">int </td>
1115
<td class="mdname1" valign="top" nowrap> <em>seg</em> </td>
1116
<td class="md" valign="top"> ) </td>
1117
<td class="md" nowrap></td>
1124
<table cellspacing=5 cellpadding=0 border=0>
1132
Replace segment by a straight segment.
1134
If <em>seg</em> is negative, counts from the end. </td>
1137
<a class="anchor" name="a30" doxytag="IpeSegmentSubPath::SetMatrix" ></a><p>
1138
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1141
<table cellpadding="0" cellspacing="0" border="0">
1143
<td class="md" nowrap valign="top"> void IpeSegmentSubPath::SetMatrix </td>
1144
<td class="md" valign="top">( </td>
1145
<td class="md" nowrap valign="top">int </td>
1146
<td class="mdname" nowrap> <em>seg</em>, </td>
1151
<td class="md" nowrap>const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> & </td>
1152
<td class="mdname" nowrap> <em>m</em></td>
1156
<td class="md">) </td>
1157
<td class="md" colspan="2"></td>
1164
<table cellspacing=5 cellpadding=0 border=0>
1172
Change the matrix of arc segment.
1174
If <em>seg</em> is negative, counts from the end. </td>
1177
<hr>The documentation for this class was generated from the following files:<ul>
1178
<li>ipepath.h<li>ipepath.cpp</ul>