1
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>Ipelib: IpeObject class Reference</title>
3
<title>Ipelib: IpeObject Class Reference</title>
4
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
6
<!-- Generated by Doxygen 1.3.6 -->
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>
6
<!-- Generated by Doxygen 1.4.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="dirs.html">Directories</a> | <a class="qindex" href="functions.html">Class Members</a></div>
8
8
<h1>IpeObject Class Reference<br>
10
10
[<a class="el" href="group__obj.html">Ipe Objects</a>]</small>
11
</h1>Base class for all Ipe objects, composite or leaf.
11
</h1><!-- doxytag: class="IpeObject" -->Base class for all Ipe objects, composite or leaf.
12
12
<a href="#_details">More...</a>
14
Inherited by <a class="el" href="class_ipe_fillable.html">IpeFillable</a>, <a class="el" href="class_ipe_image.html">IpeImage</a>, <a class="el" href="class_ipe_mark.html">IpeMark</a>, <a class="el" href="class_ipe_reference.html">IpeReference</a>, and <a class="el" href="class_ipe_text.html">IpeText</a>.
14
Inherited by <a class="el" href="class_ipe_fillable.html">IpeFillable</a>, <a class="el" href="class_ipe_image.html">IpeImage</a>, <a class="el" href="class_ipe_reference.html">IpeReference</a>, and <a class="el" href="class_ipe_text.html">IpeText</a>.
16
16
<a href="class_ipe_object-members.html">List of all members.</a><h2>Public Member Functions</h2>
18
18
<li>virtual <a class="el" href="class_ipe_object.html#a0">~IpeObject</a> ()=0
19
<li>virtual void <a class="el" href="class_ipe_object.html#a1">Accept</a> (<a class="el" href="class_ipe_visitor.html">IpeVisitor</a> &visitor) const=0
20
<li>virtual <a class="el" href="class_ipe_object.html">IpeObject</a> * <a class="el" href="class_ipe_object.html#a2">Clone</a> () const=0
19
<li>virtual void <a class="el" href="class_ipe_object.html#a1">Accept</a> (<a class="el" href="class_ipe_visitor.html">IpeVisitor</a> &visitor) const =0
20
<li>virtual <a class="el" href="class_ipe_object.html">IpeObject</a> * <a class="el" href="class_ipe_object.html#a2">Clone</a> () const =0
21
21
<li>virtual <a class="el" href="class_ipe_fillable.html">IpeFillable</a> * <a class="el" href="class_ipe_object.html#a3">AsFillable</a> ()
22
22
<li>virtual <a class="el" href="class_ipe_group.html">IpeGroup</a> * <a class="el" href="class_ipe_object.html#a4">AsGroup</a> ()
23
23
<li>virtual <a class="el" href="class_ipe_text.html">IpeText</a> * <a class="el" href="class_ipe_object.html#a5">AsText</a> ()
25
25
<li>virtual <a class="el" href="class_ipe_path.html">IpePath</a> * <a class="el" href="class_ipe_object.html#a7">AsPath</a> ()
26
26
<li>virtual <a class="el" href="class_ipe_image.html">IpeImage</a> * <a class="el" href="class_ipe_object.html#a8">AsImage</a> ()
27
27
<li>virtual <a class="el" href="class_ipe_reference.html">IpeReference</a> * <a class="el" href="class_ipe_object.html#a9">AsReference</a> ()
28
<li>virtual void <a class="el" href="class_ipe_object.html#a10">SaveAsXml</a> (<a class="el" href="class_ipe_painter.html">IpePainter</a> &painter, <a class="el" href="class_ipe_stream.html">IpeStream</a> &stream, <a class="el" href="class_ipe_string.html">IpeString</a> layer) const=0
29
<li>virtual void <a class="el" href="class_ipe_object.html#a11">Draw</a> (<a class="el" href="class_ipe_painter.html">IpePainter</a> &painter) const=0
30
<li>virtual double <a class="el" href="class_ipe_object.html#a12">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=0
31
<li>virtual void <a class="el" href="class_ipe_object.html#a13">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=0
28
<li>virtual void <a class="el" href="class_ipe_object.html#a10">SaveAsXml</a> (<a class="el" href="class_ipe_painter.html">IpePainter</a> &painter, <a class="el" href="class_ipe_stream.html">IpeStream</a> &stream, <a class="el" href="class_ipe_string.html">IpeString</a> layer) const =0
29
<li>virtual void <a class="el" href="class_ipe_object.html#a11">Draw</a> (<a class="el" href="class_ipe_painter.html">IpePainter</a> &painter) const =0
30
<li>virtual double <a class="el" href="class_ipe_object.html#a12">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 =0
31
<li>virtual void <a class="el" href="class_ipe_object.html#a13">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 =0
32
32
<li>virtual void <a class="el" href="class_ipe_object.html#a14">AddToGraphicBBox</a> (<a class="el" href="class_ipe_rect.html">IpeRect</a> &box, <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> *sheet, <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &m) const
33
<li>virtual void <a class="el" href="class_ipe_object.html#a15">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=0
33
<li>virtual void <a class="el" href="class_ipe_object.html#a15">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 =0
34
34
<li>virtual void <a class="el" href="class_ipe_object.html#a16">CheckStyle</a> (const <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> *sheet, <a class="el" href="group__attr.html#ga1">IpeAttributeSeq</a> &seq) const
35
35
<li>virtual void <a class="el" href="class_ipe_object.html#a17">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
36
36
<li>void <a class="el" href="class_ipe_object.html#a18">SetStroke</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> stroke)
41
41
<h2>Static Public Member Functions</h2>
43
<li>bool <a class="el" href="class_ipe_object.html#e0">SnapVertex</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &mouse, const <a class="el" href="class_ipe_vector.html">IpeVector</a> &v, <a class="el" href="class_ipe_vector.html">IpeVector</a> &pos, double &bound)
43
<li>static bool <a class="el" href="class_ipe_object.html#e0">SnapVertex</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &mouse, const <a class="el" href="class_ipe_vector.html">IpeVector</a> &v, <a class="el" href="class_ipe_vector.html">IpeVector</a> &pos, double &bound)
45
45
<h2>Protected Member Functions</h2>
53
53
<h2>Static Protected Member Functions</h2>
55
<li><a class="anchor" name="f0" doxytag="IpeObject::CheckSymbol" ></a>
56
void <b>CheckSymbol</b> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> attr, const <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> *sheet, <a class="el" href="group__attr.html#ga1">IpeAttributeSeq</a> &seq)
55
<li><a class="anchor" name="f0"></a><!-- doxytag: member="IpeObject::CheckSymbol" ref="f0" args="(IpeAttribute attr, const IpeStyleSheet *sheet, IpeAttributeSeq &seq)" -->
56
static void <b>CheckSymbol</b> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> attr, const <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> *sheet, <a class="el" href="group__attr.html#ga1">IpeAttributeSeq</a> &seq)
58
58
<hr><a name="_details"></a><h2>Detailed Description</h2>
59
59
Base class for all Ipe objects, composite or leaf.
61
61
All Ipe objects are derived from this class. It provides functionality common to all objects, and carries the standard attributes.<p>
62
62
All IpeObject's provide a constant time copy constructor (and a virtual <a class="el" href="class_ipe_object.html#a2">IpeObject::Clone()</a> method). Objects of non-constant size realize this by separating the implementation and using reference counting. In particular, copying a composite objects does not create new copies of the components.<p>
63
The common attributes are stroke and fill color, line style and width, and the transformation matrix for coordinates.
63
The common attributes are stroke and fill color, line style and width, and the transformation matrix for coordinates.
65
65
<hr><h2>Constructor & Destructor Documentation</h2>
66
<a class="anchor" name="a0" doxytag="IpeObject::~IpeObject" ></a><p>
67
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
66
<a class="anchor" name="a0"></a><!-- doxytag: member="IpeObject::~IpeObject" ref="a0" args="()=0" --><p>
67
<table class="mdTable" cellpadding="2" cellspacing="0">
70
70
<table cellpadding="0" cellspacing="0" border="0">
72
<td class="md" nowrap valign="top"> IpeObject::~<a class="el" href="class_ipe_object.html">IpeObject</a> </td>
72
<td class="md" nowrap valign="top">IpeObject::~IpeObject </td>
73
73
<td class="md" valign="top">( </td>
74
74
<td class="mdname1" valign="top" nowrap> </td>
75
75
<td class="md" valign="top"> ) </td>
76
76
<td class="md" nowrap><code> [pure virtual]</code></td>
83
<table cellspacing=5 cellpadding=0 border=0>
82
<table cellspacing="5" cellpadding="0" border="0">
96
<a class="anchor" name="b0" doxytag="IpeObject::IpeObject" ></a><p>
97
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
95
<a class="anchor" name="b0"></a><!-- doxytag: member="IpeObject::IpeObject" ref="b0" args="()" --><p>
96
<table class="mdTable" cellpadding="2" cellspacing="0">
100
99
<table cellpadding="0" cellspacing="0" border="0">
102
<td class="md" nowrap valign="top"> IpeObject::IpeObject </td>
101
<td class="md" nowrap valign="top">IpeObject::IpeObject </td>
103
102
<td class="md" valign="top">( </td>
104
103
<td class="mdname1" valign="top" nowrap> </td>
105
104
<td class="md" valign="top"> ) </td>
106
105
<td class="md" nowrap><code> [explicit, protected]</code></td>
113
<table cellspacing=5 cellpadding=0 border=0>
111
<table cellspacing="5" cellpadding="0" border="0">
121
119
Create object with null stroke and identity matrix. </td>
124
<a class="anchor" name="b1" doxytag="IpeObject::IpeObject" ></a><p>
125
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
122
<a class="anchor" name="b1"></a><!-- doxytag: member="IpeObject::IpeObject" ref="b1" args="(const IpeAllAttributes &attr)" --><p>
123
<table class="mdTable" cellpadding="2" cellspacing="0">
127
125
<td class="mdRow">
128
126
<table cellpadding="0" cellspacing="0" border="0">
130
<td class="md" nowrap valign="top"> IpeObject::IpeObject </td>
128
<td class="md" nowrap valign="top">IpeObject::IpeObject </td>
131
129
<td class="md" valign="top">( </td>
132
130
<td class="md" nowrap valign="top">const <a class="el" href="class_ipe_all_attributes.html">IpeAllAttributes</a> & </td>
133
131
<td class="mdname1" valign="top" nowrap> <em>attr</em> </td>
134
132
<td class="md" valign="top"> ) </td>
135
133
<td class="md" nowrap><code> [explicit, protected]</code></td>
142
<table cellspacing=5 cellpadding=0 border=0>
139
<table cellspacing="5" cellpadding="0" border="0">
150
147
Create object by taking stroke color from <em>attr</em> and setting identity matrix. </td>
153
<a class="anchor" name="b2" doxytag="IpeObject::IpeObject" ></a><p>
154
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
150
<a class="anchor" name="b2"></a><!-- doxytag: member="IpeObject::IpeObject" ref="b2" args="(IpeRepository *rep, const IpeXmlAttributes &attr)" --><p>
151
<table class="mdTable" cellpadding="2" cellspacing="0">
156
153
<td class="mdRow">
157
154
<table cellpadding="0" cellspacing="0" border="0">
159
<td class="md" nowrap valign="top"> IpeObject::IpeObject </td>
156
<td class="md" nowrap valign="top">IpeObject::IpeObject </td>
160
157
<td class="md" valign="top">( </td>
161
158
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_repository.html">IpeRepository</a> * </td>
162
159
<td class="mdname" nowrap> <em>rep</em>, </td>
165
162
<td class="md" nowrap align="right"></td>
167
164
<td class="md" nowrap>const <a class="el" href="class_ipe_xml_attributes.html">IpeXmlAttributes</a> & </td>
168
165
<td class="mdname" nowrap> <em>attr</em></td>
172
169
<td class="md">) </td>
173
170
<td class="md" colspan="2"><code> [explicit, protected]</code></td>
180
<table cellspacing=5 cellpadding=0 border=0>
176
<table cellspacing="5" cellpadding="0" border="0">
193
<a class="anchor" name="b3" doxytag="IpeObject::IpeObject" ></a><p>
194
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
189
<a class="anchor" name="b3"></a><!-- doxytag: member="IpeObject::IpeObject" ref="b3" args="(const IpeObject &rhs)" --><p>
190
<table class="mdTable" cellpadding="2" cellspacing="0">
196
192
<td class="mdRow">
197
193
<table cellpadding="0" cellspacing="0" border="0">
199
<td class="md" nowrap valign="top"> IpeObject::IpeObject </td>
195
<td class="md" nowrap valign="top">IpeObject::IpeObject </td>
200
196
<td class="md" valign="top">( </td>
201
197
<td class="md" nowrap valign="top">const <a class="el" href="class_ipe_object.html">IpeObject</a> & </td>
202
198
<td class="mdname1" valign="top" nowrap> <em>rhs</em> </td>
203
199
<td class="md" valign="top"> ) </td>
204
200
<td class="md" nowrap><code> [protected]</code></td>
211
<table cellspacing=5 cellpadding=0 border=0>
206
<table cellspacing="5" cellpadding="0" border="0">
224
219
<hr><h2>Member Function Documentation</h2>
225
<a class="anchor" name="a1" doxytag="IpeObject::Accept" ></a><p>
226
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
220
<a class="anchor" name="a1"></a><!-- doxytag: member="IpeObject::Accept" ref="a1" args="(IpeVisitor &visitor) const =0" --><p>
221
<table class="mdTable" cellpadding="2" cellspacing="0">
228
223
<td class="mdRow">
229
224
<table cellpadding="0" cellspacing="0" border="0">
231
<td class="md" nowrap valign="top"> virtual void IpeObject::Accept </td>
226
<td class="md" nowrap valign="top">virtual void IpeObject::Accept </td>
232
227
<td class="md" valign="top">( </td>
233
228
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_visitor.html">IpeVisitor</a> & </td>
234
229
<td class="mdname1" valign="top" nowrap> <em>visitor</em> </td>
235
230
<td class="md" valign="top"> ) </td>
236
231
<td class="md" nowrap> const<code> [pure virtual]</code></td>
243
<table cellspacing=5 cellpadding=0 border=0>
237
<table cellspacing="5" cellpadding="0" border="0">
255
249
Implemented in <a class="el" href="class_ipe_group.html#a7">IpeGroup</a>, <a class="el" href="class_ipe_image.html#a7">IpeImage</a>, <a class="el" href="class_ipe_mark.html#a5">IpeMark</a>, <a class="el" href="class_ipe_path.html#a13">IpePath</a>, <a class="el" href="class_ipe_reference.html#a5">IpeReference</a>, and <a class="el" href="class_ipe_text.html#a8">IpeText</a>. </td>
258
<a class="anchor" name="a2" doxytag="IpeObject::Clone" ></a><p>
259
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
252
<a class="anchor" name="a2"></a><!-- doxytag: member="IpeObject::Clone" ref="a2" args="() const =0" --><p>
253
<table class="mdTable" cellpadding="2" cellspacing="0">
261
255
<td class="mdRow">
262
256
<table cellpadding="0" cellspacing="0" border="0">
264
<td class="md" nowrap valign="top"> virtual <a class="el" href="class_ipe_object.html">IpeObject</a>* IpeObject::Clone </td>
258
<td class="md" nowrap valign="top">virtual <a class="el" href="class_ipe_object.html">IpeObject</a>* IpeObject::Clone </td>
265
259
<td class="md" valign="top">( </td>
266
260
<td class="mdname1" valign="top" nowrap> </td>
267
261
<td class="md" valign="top"> ) </td>
268
262
<td class="md" nowrap> const<code> [pure virtual]</code></td>
275
<table cellspacing=5 cellpadding=0 border=0>
268
<table cellspacing="5" cellpadding="0" border="0">
287
280
Implemented in <a class="el" href="class_ipe_group.html#a5">IpeGroup</a>, <a class="el" href="class_ipe_image.html#a3">IpeImage</a>, <a class="el" href="class_ipe_mark.html#a3">IpeMark</a>, <a class="el" href="class_ipe_path.html#a9">IpePath</a>, <a class="el" href="class_ipe_reference.html#a3">IpeReference</a>, and <a class="el" href="class_ipe_text.html#a4">IpeText</a>. </td>
290
<a class="anchor" name="a3" doxytag="IpeObject::AsFillable" ></a><p>
291
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
283
<a class="anchor" name="a3"></a><!-- doxytag: member="IpeObject::AsFillable" ref="a3" args="()" --><p>
284
<table class="mdTable" cellpadding="2" cellspacing="0">
293
286
<td class="mdRow">
294
287
<table cellpadding="0" cellspacing="0" border="0">
296
<td class="md" nowrap valign="top"> <a class="el" href="class_ipe_fillable.html">IpeFillable</a> * IpeObject::AsFillable </td>
289
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_fillable.html">IpeFillable</a> * IpeObject::AsFillable </td>
297
290
<td class="md" valign="top">( </td>
298
291
<td class="mdname1" valign="top" nowrap> </td>
299
292
<td class="md" valign="top"> ) </td>
300
293
<td class="md" nowrap><code> [virtual]</code></td>
307
<table cellspacing=5 cellpadding=0 border=0>
299
<table cellspacing="5" cellpadding="0" border="0">
319
311
Reimplemented in <a class="el" href="class_ipe_fillable.html#a0">IpeFillable</a>. </td>
322
<a class="anchor" name="a4" doxytag="IpeObject::AsGroup" ></a><p>
323
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
314
<a class="anchor" name="a4"></a><!-- doxytag: member="IpeObject::AsGroup" ref="a4" args="()" --><p>
315
<table class="mdTable" cellpadding="2" cellspacing="0">
325
317
<td class="mdRow">
326
318
<table cellpadding="0" cellspacing="0" border="0">
328
<td class="md" nowrap valign="top"> <a class="el" href="class_ipe_group.html">IpeGroup</a> * IpeObject::AsGroup </td>
320
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_group.html">IpeGroup</a> * IpeObject::AsGroup </td>
329
321
<td class="md" valign="top">( </td>
330
322
<td class="mdname1" valign="top" nowrap> </td>
331
323
<td class="md" valign="top"> ) </td>
332
324
<td class="md" nowrap><code> [virtual]</code></td>
339
<table cellspacing=5 cellpadding=0 border=0>
330
<table cellspacing="5" cellpadding="0" border="0">
351
342
Reimplemented in <a class="el" href="class_ipe_group.html#a6">IpeGroup</a>. </td>
354
<a class="anchor" name="a5" doxytag="IpeObject::AsText" ></a><p>
355
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
345
<a class="anchor" name="a5"></a><!-- doxytag: member="IpeObject::AsText" ref="a5" args="()" --><p>
346
<table class="mdTable" cellpadding="2" cellspacing="0">
357
348
<td class="mdRow">
358
349
<table cellpadding="0" cellspacing="0" border="0">
360
<td class="md" nowrap valign="top"> <a class="el" href="class_ipe_text.html">IpeText</a> * IpeObject::AsText </td>
351
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_text.html">IpeText</a> * IpeObject::AsText </td>
361
352
<td class="md" valign="top">( </td>
362
353
<td class="mdname1" valign="top" nowrap> </td>
363
354
<td class="md" valign="top"> ) </td>
364
355
<td class="md" nowrap><code> [virtual]</code></td>
371
<table cellspacing=5 cellpadding=0 border=0>
361
<table cellspacing="5" cellpadding="0" border="0">
383
373
Reimplemented in <a class="el" href="class_ipe_text.html#a5">IpeText</a>. </td>
386
<a class="anchor" name="a6" doxytag="IpeObject::AsMark" ></a><p>
387
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
376
<a class="anchor" name="a6"></a><!-- doxytag: member="IpeObject::AsMark" ref="a6" args="()" --><p>
377
<table class="mdTable" cellpadding="2" cellspacing="0">
389
379
<td class="mdRow">
390
380
<table cellpadding="0" cellspacing="0" border="0">
392
<td class="md" nowrap valign="top"> <a class="el" href="class_ipe_mark.html">IpeMark</a> * IpeObject::AsMark </td>
382
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_mark.html">IpeMark</a> * IpeObject::AsMark </td>
393
383
<td class="md" valign="top">( </td>
394
384
<td class="mdname1" valign="top" nowrap> </td>
395
385
<td class="md" valign="top"> ) </td>
396
386
<td class="md" nowrap><code> [virtual]</code></td>
403
<table cellspacing=5 cellpadding=0 border=0>
392
<table cellspacing="5" cellpadding="0" border="0">
415
404
Reimplemented in <a class="el" href="class_ipe_mark.html#a4">IpeMark</a>. </td>
418
<a class="anchor" name="a7" doxytag="IpeObject::AsPath" ></a><p>
419
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
407
<a class="anchor" name="a7"></a><!-- doxytag: member="IpeObject::AsPath" ref="a7" args="()" --><p>
408
<table class="mdTable" cellpadding="2" cellspacing="0">
421
410
<td class="mdRow">
422
411
<table cellpadding="0" cellspacing="0" border="0">
424
<td class="md" nowrap valign="top"> <a class="el" href="class_ipe_path.html">IpePath</a> * IpeObject::AsPath </td>
413
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_path.html">IpePath</a> * IpeObject::AsPath </td>
425
414
<td class="md" valign="top">( </td>
426
415
<td class="mdname1" valign="top" nowrap> </td>
427
416
<td class="md" valign="top"> ) </td>
428
417
<td class="md" nowrap><code> [virtual]</code></td>
435
<table cellspacing=5 cellpadding=0 border=0>
423
<table cellspacing="5" cellpadding="0" border="0">
447
435
Reimplemented in <a class="el" href="class_ipe_path.html#a10">IpePath</a>. </td>
450
<a class="anchor" name="a8" doxytag="IpeObject::AsImage" ></a><p>
451
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
438
<a class="anchor" name="a8"></a><!-- doxytag: member="IpeObject::AsImage" ref="a8" args="()" --><p>
439
<table class="mdTable" cellpadding="2" cellspacing="0">
453
441
<td class="mdRow">
454
442
<table cellpadding="0" cellspacing="0" border="0">
456
<td class="md" nowrap valign="top"> <a class="el" href="class_ipe_image.html">IpeImage</a> * IpeObject::AsImage </td>
444
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_image.html">IpeImage</a> * IpeObject::AsImage </td>
457
445
<td class="md" valign="top">( </td>
458
446
<td class="mdname1" valign="top" nowrap> </td>
459
447
<td class="md" valign="top"> ) </td>
460
448
<td class="md" nowrap><code> [virtual]</code></td>
467
<table cellspacing=5 cellpadding=0 border=0>
454
<table cellspacing="5" cellpadding="0" border="0">
479
466
Reimplemented in <a class="el" href="class_ipe_image.html#a4">IpeImage</a>. </td>
482
<a class="anchor" name="a9" doxytag="IpeObject::AsReference" ></a><p>
483
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
469
<a class="anchor" name="a9"></a><!-- doxytag: member="IpeObject::AsReference" ref="a9" args="()" --><p>
470
<table class="mdTable" cellpadding="2" cellspacing="0">
485
472
<td class="mdRow">
486
473
<table cellpadding="0" cellspacing="0" border="0">
488
<td class="md" nowrap valign="top"> <a class="el" href="class_ipe_reference.html">IpeReference</a> * IpeObject::AsReference </td>
475
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_reference.html">IpeReference</a> * IpeObject::AsReference </td>
489
476
<td class="md" valign="top">( </td>
490
477
<td class="mdname1" valign="top" nowrap> </td>
491
478
<td class="md" valign="top"> ) </td>
492
479
<td class="md" nowrap><code> [virtual]</code></td>
499
<table cellspacing=5 cellpadding=0 border=0>
485
<table cellspacing="5" cellpadding="0" border="0">
511
497
Reimplemented in <a class="el" href="class_ipe_reference.html#a4">IpeReference</a>. </td>
514
<a class="anchor" name="a10" doxytag="IpeObject::SaveAsXml" ></a><p>
515
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
500
<a class="anchor" name="a10"></a><!-- doxytag: member="IpeObject::SaveAsXml" ref="a10" args="(IpePainter &painter, IpeStream &stream, IpeString layer) const =0" --><p>
501
<table class="mdTable" cellpadding="2" cellspacing="0">
517
503
<td class="mdRow">
518
504
<table cellpadding="0" cellspacing="0" border="0">
520
<td class="md" nowrap valign="top"> virtual void IpeObject::SaveAsXml </td>
506
<td class="md" nowrap valign="top">virtual void IpeObject::SaveAsXml </td>
521
507
<td class="md" valign="top">( </td>
522
508
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_painter.html">IpePainter</a> & </td>
523
509
<td class="mdname" nowrap> <em>painter</em>, </td>
526
512
<td class="md" nowrap align="right"></td>
528
514
<td class="md" nowrap><a class="el" href="class_ipe_stream.html">IpeStream</a> & </td>
529
515
<td class="mdname" nowrap> <em>stream</em>, </td>
532
518
<td class="md" nowrap align="right"></td>
534
520
<td class="md" nowrap><a class="el" href="class_ipe_string.html">IpeString</a> </td>
535
521
<td class="mdname" nowrap> <em>layer</em></td>
539
525
<td class="md">) </td>
540
526
<td class="md" colspan="2"> const<code> [pure virtual]</code></td>
547
<table cellspacing=5 cellpadding=0 border=0>
532
<table cellspacing="5" cellpadding="0" border="0">
559
544
Implemented in <a class="el" href="class_ipe_group.html#a8">IpeGroup</a>, <a class="el" href="class_ipe_image.html#a5">IpeImage</a>, <a class="el" href="class_ipe_mark.html#a6">IpeMark</a>, <a class="el" href="class_ipe_path.html#a11">IpePath</a>, <a class="el" href="class_ipe_reference.html#a6">IpeReference</a>, and <a class="el" href="class_ipe_text.html#a6">IpeText</a>. </td>
562
<a class="anchor" name="a11" doxytag="IpeObject::Draw" ></a><p>
563
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
547
<a class="anchor" name="a11"></a><!-- doxytag: member="IpeObject::Draw" ref="a11" args="(IpePainter &painter) const =0" --><p>
548
<table class="mdTable" cellpadding="2" cellspacing="0">
565
550
<td class="mdRow">
566
551
<table cellpadding="0" cellspacing="0" border="0">
568
<td class="md" nowrap valign="top"> virtual void IpeObject::Draw </td>
553
<td class="md" nowrap valign="top">virtual void IpeObject::Draw </td>
569
554
<td class="md" valign="top">( </td>
570
555
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_painter.html">IpePainter</a> & </td>
571
556
<td class="mdname1" valign="top" nowrap> <em>painter</em> </td>
572
557
<td class="md" valign="top"> ) </td>
573
558
<td class="md" nowrap> const<code> [pure virtual]</code></td>
580
<table cellspacing=5 cellpadding=0 border=0>
564
<table cellspacing="5" cellpadding="0" border="0">
592
576
Implemented in <a class="el" href="class_ipe_group.html#a9">IpeGroup</a>, <a class="el" href="class_ipe_image.html#a6">IpeImage</a>, <a class="el" href="class_ipe_mark.html#a7">IpeMark</a>, <a class="el" href="class_ipe_path.html#a12">IpePath</a>, <a class="el" href="class_ipe_reference.html#a7">IpeReference</a>, and <a class="el" href="class_ipe_text.html#a7">IpeText</a>. </td>
595
<a class="anchor" name="a12" doxytag="IpeObject::Distance" ></a><p>
596
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
579
<a class="anchor" name="a12"></a><!-- doxytag: member="IpeObject::Distance" ref="a12" args="(const IpeVector &v, const IpeMatrix &m, double bound) const =0" --><p>
580
<table class="mdTable" cellpadding="2" cellspacing="0">
598
582
<td class="mdRow">
599
583
<table cellpadding="0" cellspacing="0" border="0">
601
<td class="md" nowrap valign="top"> virtual double IpeObject::Distance </td>
585
<td class="md" nowrap valign="top">virtual double IpeObject::Distance </td>
602
586
<td class="md" valign="top">( </td>
603
587
<td class="md" nowrap valign="top">const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
604
588
<td class="mdname" nowrap> <em>v</em>, </td>
607
591
<td class="md" nowrap align="right"></td>
609
593
<td class="md" nowrap>const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> & </td>
610
594
<td class="mdname" nowrap> <em>m</em>, </td>
613
597
<td class="md" nowrap align="right"></td>
615
599
<td class="md" nowrap>double </td>
616
600
<td class="mdname" nowrap> <em>bound</em></td>
620
604
<td class="md">) </td>
621
605
<td class="md" colspan="2"> const<code> [pure virtual]</code></td>
628
<table cellspacing=5 cellpadding=0 border=0>
611
<table cellspacing="5" cellpadding="0" border="0">
638
621
Implemented in <a class="el" href="class_ipe_group.html#a11">IpeGroup</a>, <a class="el" href="class_ipe_image.html#a8">IpeImage</a>, <a class="el" href="class_ipe_mark.html#a9">IpeMark</a>, <a class="el" href="class_ipe_path.html#a15">IpePath</a>, <a class="el" href="class_ipe_reference.html#a9">IpeReference</a>, and <a class="el" href="class_ipe_text.html#a10">IpeText</a>. </td>
641
<a class="anchor" name="a13" doxytag="IpeObject::AddToBBox" ></a><p>
642
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
624
<a class="anchor" name="a13"></a><!-- doxytag: member="IpeObject::AddToBBox" ref="a13" args="(IpeRect &box, const IpeMatrix &m) const =0" --><p>
625
<table class="mdTable" cellpadding="2" cellspacing="0">
644
627
<td class="mdRow">
645
628
<table cellpadding="0" cellspacing="0" border="0">
647
<td class="md" nowrap valign="top"> virtual void IpeObject::AddToBBox </td>
630
<td class="md" nowrap valign="top">virtual void IpeObject::AddToBBox </td>
648
631
<td class="md" valign="top">( </td>
649
632
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_rect.html">IpeRect</a> & </td>
650
633
<td class="mdname" nowrap> <em>box</em>, </td>
653
636
<td class="md" nowrap align="right"></td>
655
638
<td class="md" nowrap>const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> & </td>
656
639
<td class="mdname" nowrap> <em>m</em></td>
660
643
<td class="md">) </td>
661
644
<td class="md" colspan="2"> const<code> [pure virtual]</code></td>
668
<table cellspacing=5 cellpadding=0 border=0>
650
<table cellspacing="5" cellpadding="0" border="0">
681
663
Implemented in <a class="el" href="class_ipe_group.html#a10">IpeGroup</a>, <a class="el" href="class_ipe_image.html#a9">IpeImage</a>, <a class="el" href="class_ipe_mark.html#a8">IpeMark</a>, <a class="el" href="class_ipe_path.html#a14">IpePath</a>, <a class="el" href="class_ipe_reference.html#a8">IpeReference</a>, and <a class="el" href="class_ipe_text.html#a9">IpeText</a>. </td>
684
<a class="anchor" name="a14" doxytag="IpeObject::AddToGraphicBBox" ></a><p>
685
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
666
<a class="anchor" name="a14"></a><!-- doxytag: member="IpeObject::AddToGraphicBBox" ref="a14" args="(IpeRect &box, IpeStyleSheet *sheet, IpeMatrix &m) const " --><p>
667
<table class="mdTable" cellpadding="2" cellspacing="0">
687
669
<td class="mdRow">
688
670
<table cellpadding="0" cellspacing="0" border="0">
690
<td class="md" nowrap valign="top"> void IpeObject::AddToGraphicBBox </td>
672
<td class="md" nowrap valign="top">void IpeObject::AddToGraphicBBox </td>
691
673
<td class="md" valign="top">( </td>
692
674
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_rect.html">IpeRect</a> & </td>
693
675
<td class="mdname" nowrap> <em>box</em>, </td>
696
678
<td class="md" nowrap align="right"></td>
698
680
<td class="md" nowrap><a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> * </td>
699
681
<td class="mdname" nowrap> <em>sheet</em>, </td>
702
684
<td class="md" nowrap align="right"></td>
704
686
<td class="md" nowrap><a class="el" href="class_ipe_matrix.html">IpeMatrix</a> & </td>
705
687
<td class="mdname" nowrap> <em>m</em></td>
709
691
<td class="md">) </td>
710
692
<td class="md" colspan="2"> const<code> [virtual]</code></td>
717
<table cellspacing=5 cellpadding=0 border=0>
698
<table cellspacing="5" cellpadding="0" border="0">
725
706
Extend <em>box</em> to include the graphic representation of the object.
727
Unlike AddToBBox, this function takes into account the graphic representation of the object, that is, its line width, arrow size, mark size, etc. The default implementation calls AddToBBox. </td>
708
Unlike AddToBBox, this function takes into account the graphic representation of the object, that is, its line width, arrow size, mark size, etc. The default implementation calls AddToBBox. </td>
730
<a class="anchor" name="a15" doxytag="IpeObject::SnapVtx" ></a><p>
731
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
711
<a class="anchor" name="a15"></a><!-- doxytag: member="IpeObject::SnapVtx" ref="a15" args="(const IpeVector &mouse, const IpeMatrix &m, IpeVector &pos, double &bound) const =0" --><p>
712
<table class="mdTable" cellpadding="2" cellspacing="0">
733
714
<td class="mdRow">
734
715
<table cellpadding="0" cellspacing="0" border="0">
736
<td class="md" nowrap valign="top"> virtual void IpeObject::SnapVtx </td>
717
<td class="md" nowrap valign="top">virtual void IpeObject::SnapVtx </td>
737
718
<td class="md" valign="top">( </td>
738
719
<td class="md" nowrap valign="top">const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
739
720
<td class="mdname" nowrap> <em>mouse</em>, </td>
742
723
<td class="md" nowrap align="right"></td>
744
725
<td class="md" nowrap>const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> & </td>
745
726
<td class="mdname" nowrap> <em>m</em>, </td>
748
729
<td class="md" nowrap align="right"></td>
750
731
<td class="md" nowrap><a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
751
732
<td class="mdname" nowrap> <em>pos</em>, </td>
754
735
<td class="md" nowrap align="right"></td>
756
737
<td class="md" nowrap>double & </td>
757
738
<td class="mdname" nowrap> <em>bound</em></td>
761
742
<td class="md">) </td>
762
743
<td class="md" colspan="2"> const<code> [pure virtual]</code></td>
769
<table cellspacing=5 cellpadding=0 border=0>
749
<table cellspacing="5" cellpadding="0" border="0">
781
761
Implemented in <a class="el" href="class_ipe_group.html#a12">IpeGroup</a>, <a class="el" href="class_ipe_image.html#a10">IpeImage</a>, <a class="el" href="class_ipe_mark.html#a10">IpeMark</a>, <a class="el" href="class_ipe_path.html#a16">IpePath</a>, <a class="el" href="class_ipe_reference.html#a10">IpeReference</a>, and <a class="el" href="class_ipe_text.html#a11">IpeText</a>. </td>
784
<a class="anchor" name="a16" doxytag="IpeObject::CheckStyle" ></a><p>
785
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
764
<a class="anchor" name="a16"></a><!-- doxytag: member="IpeObject::CheckStyle" ref="a16" args="(const IpeStyleSheet *sheet, IpeAttributeSeq &seq) const " --><p>
765
<table class="mdTable" cellpadding="2" cellspacing="0">
787
767
<td class="mdRow">
788
768
<table cellpadding="0" cellspacing="0" border="0">
790
<td class="md" nowrap valign="top"> void IpeObject::CheckStyle </td>
770
<td class="md" nowrap valign="top">void IpeObject::CheckStyle </td>
791
771
<td class="md" valign="top">( </td>
792
772
<td class="md" nowrap valign="top">const <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> * </td>
793
773
<td class="mdname" nowrap> <em>sheet</em>, </td>
796
776
<td class="md" nowrap align="right"></td>
798
778
<td class="md" nowrap><a class="el" href="group__attr.html#ga1">IpeAttributeSeq</a> & </td>
799
779
<td class="mdname" nowrap> <em>seq</em></td>
803
783
<td class="md">) </td>
804
784
<td class="md" colspan="2"> const<code> [virtual]</code></td>
811
<table cellspacing=5 cellpadding=0 border=0>
790
<table cellspacing="5" cellpadding="0" border="0">
823
802
Reimplemented in <a class="el" href="class_ipe_group.html#a19">IpeGroup</a>, <a class="el" href="class_ipe_mark.html#a11">IpeMark</a>, <a class="el" href="class_ipe_fillable.html#a1">IpeFillable</a>, <a class="el" href="class_ipe_path.html#a18">IpePath</a>, <a class="el" href="class_ipe_reference.html#a12">IpeReference</a>, and <a class="el" href="class_ipe_text.html#a12">IpeText</a>. </td>
826
<a class="anchor" name="a17" doxytag="IpeObject::SnapBnd" ></a><p>
827
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
805
<a class="anchor" name="a17"></a><!-- doxytag: member="IpeObject::SnapBnd" ref="a17" args="(const IpeVector &mouse, const IpeMatrix &m, IpeVector &pos, double &bound) const " --><p>
806
<table class="mdTable" cellpadding="2" cellspacing="0">
829
808
<td class="mdRow">
830
809
<table cellpadding="0" cellspacing="0" border="0">
832
<td class="md" nowrap valign="top"> void IpeObject::SnapBnd </td>
811
<td class="md" nowrap valign="top">void IpeObject::SnapBnd </td>
833
812
<td class="md" valign="top">( </td>
834
813
<td class="md" nowrap valign="top">const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
835
814
<td class="mdname" nowrap> <em>mouse</em>, </td>
838
817
<td class="md" nowrap align="right"></td>
840
819
<td class="md" nowrap>const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> & </td>
841
820
<td class="mdname" nowrap> <em>m</em>, </td>
844
823
<td class="md" nowrap align="right"></td>
846
825
<td class="md" nowrap><a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
847
826
<td class="mdname" nowrap> <em>pos</em>, </td>
850
829
<td class="md" nowrap align="right"></td>
852
831
<td class="md" nowrap>double & </td>
853
832
<td class="mdname" nowrap> <em>bound</em></td>
857
836
<td class="md">) </td>
858
837
<td class="md" colspan="2"> const<code> [virtual]</code></td>
865
<table cellspacing=5 cellpadding=0 border=0>
843
<table cellspacing="5" cellpadding="0" border="0">
873
851
Compute boundary snapping position for transformed object.
875
Looks only for positions closer than <em>bound</em>. If successful, modify <em>pos</em> and <em>bound</em>. The default implementation does nothing.
853
Looks only for positions closer than <em>bound</em>. If successful, modify <em>pos</em> and <em>bound</em>. The default implementation does nothing.
877
855
Reimplemented in <a class="el" href="class_ipe_group.html#a13">IpeGroup</a>, <a class="el" href="class_ipe_path.html#a17">IpePath</a>, and <a class="el" href="class_ipe_reference.html#a11">IpeReference</a>. </td>
880
<a class="anchor" name="a18" doxytag="IpeObject::SetStroke" ></a><p>
881
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
858
<a class="anchor" name="a18"></a><!-- doxytag: member="IpeObject::SetStroke" ref="a18" args="(IpeAttribute stroke)" --><p>
859
<table class="mdTable" cellpadding="2" cellspacing="0">
883
861
<td class="mdRow">
884
862
<table cellpadding="0" cellspacing="0" border="0">
886
<td class="md" nowrap valign="top"> void IpeObject::SetStroke </td>
864
<td class="md" nowrap valign="top">void IpeObject::SetStroke </td>
887
865
<td class="md" valign="top">( </td>
888
866
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> </td>
889
867
<td class="mdname1" valign="top" nowrap> <em>stroke</em> </td>
890
868
<td class="md" valign="top"> ) </td>
891
869
<td class="md" nowrap></td>
898
<table cellspacing=5 cellpadding=0 border=0>
875
<table cellspacing="5" cellpadding="0" border="0">
911
<a class="anchor" name="a19" doxytag="IpeObject::SetMatrix" ></a><p>
912
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
888
<a class="anchor" name="a19"></a><!-- doxytag: member="IpeObject::SetMatrix" ref="a19" args="(const IpeMatrix &matrix)" --><p>
889
<table class="mdTable" cellpadding="2" cellspacing="0">
914
891
<td class="mdRow">
915
892
<table cellpadding="0" cellspacing="0" border="0">
917
<td class="md" nowrap valign="top"> void IpeObject::SetMatrix </td>
894
<td class="md" nowrap valign="top">void IpeObject::SetMatrix </td>
918
895
<td class="md" valign="top">( </td>
919
896
<td class="md" nowrap valign="top">const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> & </td>
920
897
<td class="mdname1" valign="top" nowrap> <em>matrix</em> </td>
921
898
<td class="md" valign="top"> ) </td>
922
899
<td class="md" nowrap></td>
929
<table cellspacing=5 cellpadding=0 border=0>
905
<table cellspacing="5" cellpadding="0" border="0">
939
915
Don't use this on the IpeObject in an <a class="el" href="class_ipe_pg_object.html">IpePgObject</a>, because it wouldn't invalidate its bounding box. Call <a class="el" href="class_ipe_pg_object.html#a12">IpePgObject::Transform</a> instead. </td>
942
<a class="anchor" name="a20" doxytag="IpeObject::Stroke" ></a><p>
943
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
918
<a class="anchor" name="a20"></a><!-- doxytag: member="IpeObject::Stroke" ref="a20" args="() const " --><p>
919
<table class="mdTable" cellpadding="2" cellspacing="0">
945
921
<td class="mdRow">
946
922
<table cellpadding="0" cellspacing="0" border="0">
948
<td class="md" nowrap valign="top"> <a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpeObject::Stroke </td>
924
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpeObject::Stroke </td>
949
925
<td class="md" valign="top">( </td>
950
926
<td class="mdname1" valign="top" nowrap> </td>
951
927
<td class="md" valign="top"> ) </td>
952
928
<td class="md" nowrap> const<code> [inline]</code></td>
959
<table cellspacing=5 cellpadding=0 border=0>
934
<table cellspacing="5" cellpadding="0" border="0">
972
<a class="anchor" name="a21" doxytag="IpeObject::Matrix" ></a><p>
973
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
947
<a class="anchor" name="a21"></a><!-- doxytag: member="IpeObject::Matrix" ref="a21" args="() const " --><p>
948
<table class="mdTable" cellpadding="2" cellspacing="0">
975
950
<td class="mdRow">
976
951
<table cellpadding="0" cellspacing="0" border="0">
978
<td class="md" nowrap valign="top"> const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> & IpeObject::Matrix </td>
953
<td class="md" nowrap valign="top">const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> & IpeObject::Matrix </td>
979
954
<td class="md" valign="top">( </td>
980
955
<td class="mdname1" valign="top" nowrap> </td>
981
956
<td class="md" valign="top"> ) </td>
982
957
<td class="md" nowrap> const<code> [inline]</code></td>
989
<table cellspacing=5 cellpadding=0 border=0>
963
<table cellspacing="5" cellpadding="0" border="0">
1002
<a class="anchor" name="e0" doxytag="IpeObject::SnapVertex" ></a><p>
1003
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
976
<a class="anchor" name="e0"></a><!-- doxytag: member="IpeObject::SnapVertex" ref="e0" args="(const IpeVector &mouse, const IpeVector &v, IpeVector &pos, double &bound)" --><p>
977
<table class="mdTable" cellpadding="2" cellspacing="0">
1005
979
<td class="mdRow">
1006
980
<table cellpadding="0" cellspacing="0" border="0">
1008
<td class="md" nowrap valign="top"> bool IpeObject::SnapVertex </td>
982
<td class="md" nowrap valign="top">bool IpeObject::SnapVertex </td>
1009
983
<td class="md" valign="top">( </td>
1010
984
<td class="md" nowrap valign="top">const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
1011
985
<td class="mdname" nowrap> <em>mouse</em>, </td>
1014
988
<td class="md" nowrap align="right"></td>
1016
990
<td class="md" nowrap>const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
1017
991
<td class="mdname" nowrap> <em>v</em>, </td>
1020
994
<td class="md" nowrap align="right"></td>
1022
996
<td class="md" nowrap><a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
1023
997
<td class="mdname" nowrap> <em>pos</em>, </td>
1026
1000
<td class="md" nowrap align="right"></td>
1001
<td class="md"></td>
1028
1002
<td class="md" nowrap>double & </td>
1029
1003
<td class="mdname" nowrap> <em>bound</em></td>
1006
<td class="md"></td>
1033
1007
<td class="md">) </td>
1034
1008
<td class="md" colspan="2"><code> [static]</code></td>
1041
<table cellspacing=5 cellpadding=0 border=0>
1014
<table cellspacing="5" cellpadding="0" border="0">
1051
1024
If distance between <em>mouse</em> and <em>v</em> is less than <em>bound</em>, set <em>pos</em> to <em>v</em> and <em>bound</em> to the distance, and return <code>true</code>. </td>
1054
<a class="anchor" name="b4" doxytag="IpeObject::SaveAttributesAsXml" ></a><p>
1055
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1027
<a class="anchor" name="b4"></a><!-- doxytag: member="IpeObject::SaveAttributesAsXml" ref="b4" args="(IpePainter &painter, IpeStream &stream, IpeString layer) const " --><p>
1028
<table class="mdTable" cellpadding="2" cellspacing="0">
1057
1030
<td class="mdRow">
1058
1031
<table cellpadding="0" cellspacing="0" border="0">
1060
<td class="md" nowrap valign="top"> void IpeObject::SaveAttributesAsXml </td>
1033
<td class="md" nowrap valign="top">void IpeObject::SaveAttributesAsXml </td>
1061
1034
<td class="md" valign="top">( </td>
1062
1035
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_painter.html">IpePainter</a> & </td>
1063
1036
<td class="mdname" nowrap> <em>painter</em>, </td>
1066
1039
<td class="md" nowrap align="right"></td>
1040
<td class="md"></td>
1068
1041
<td class="md" nowrap><a class="el" href="class_ipe_stream.html">IpeStream</a> & </td>
1069
1042
<td class="mdname" nowrap> <em>stream</em>, </td>
1072
1045
<td class="md" nowrap align="right"></td>
1046
<td class="md"></td>
1074
1047
<td class="md" nowrap><a class="el" href="class_ipe_string.html">IpeString</a> </td>
1075
1048
<td class="mdname" nowrap> <em>layer</em></td>
1051
<td class="md"></td>
1079
1052
<td class="md">) </td>
1080
1053
<td class="md" colspan="2"> const<code> [protected]</code></td>
1087
<table cellspacing=5 cellpadding=0 border=0>
1059
<table cellspacing="5" cellpadding="0" border="0">