~ubuntu-branches/ubuntu/precise/ipe/precise

« back to all changes in this revision

Viewing changes to doc/class_ipe_reference.html

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

* rules: Re-write to use dh.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
 
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
 
<title>Ipelib: IpeReference Class Reference</title>
4
 
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
 
<link href="tabs.css" rel="stylesheet" type="text/css">
6
 
</head><body>
7
 
<!-- Generated by Doxygen 1.5.1 -->
8
 
<div class="tabs">
9
 
  <ul>
10
 
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11
 
    <li><a href="modules.html"><span>Modules</span></a></li>
12
 
    <li id="current"><a href="annotated.html"><span>Classes</span></a></li>
13
 
  </ul></div>
14
 
<div class="tabs">
15
 
  <ul>
16
 
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
17
 
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
18
 
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
19
 
  </ul></div>
20
 
<h1>IpeReference Class Reference<br>
21
 
<small>
22
 
[<a class="el" href="group__obj.html">Ipe Objects</a>]</small>
23
 
</h1><!-- doxytag: class="IpeReference" --><!-- doxytag: inherits="IpeObject" -->The reference object.  
24
 
<a href="#_details">More...</a>
25
 
<p>
26
 
Inherits <a class="el" href="class_ipe_object.html">IpeObject</a>.
27
 
<p>
28
 
<a href="class_ipe_reference-members.html">List of all members.</a><h2>Public Member Functions</h2>
29
 
<ul>
30
 
<li><a class="el" href="class_ipe_reference.html#9e15e0e676327774131cf18df60ff515">IpeReference</a> (<a class="el" href="class_ipe_repository.html">IpeRepository</a> *rep, const <a class="el" href="class_ipe_xml_attributes.html">IpeXmlAttributes</a> &amp;attr, <a class="el" href="class_ipe_string.html">IpeString</a> data)
31
 
<li><a class="el" href="class_ipe_reference.html#905cd61a052ec03bdc46a7e940d7fa7a">IpeReference</a> (const <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> *sheet, <a class="el" href="class_ipe_attribute.html">IpeAttribute</a> name)
32
 
<li><a class="el" href="class_ipe_reference.html#e1bc698f627fe315173443544e8b5952">IpeReference</a> (const <a class="el" href="class_ipe_reference.html">IpeReference</a> &amp;rhs)
33
 
<li>virtual <a class="el" href="class_ipe_object.html">IpeObject</a> * <a class="el" href="class_ipe_reference.html#b3b99d65a8750bc84666ad3f75b17d35">Clone</a> () const
34
 
<li>virtual <a class="el" href="class_ipe_reference.html">IpeReference</a> * <a class="el" href="class_ipe_reference.html#98cf5ebcc2a654489023bc55f0d11ded">AsReference</a> ()
35
 
<li>virtual void <a class="el" href="class_ipe_reference.html#8becf819cdedec454c6b6e7cb58fae9e">Accept</a> (<a class="el" href="class_ipe_visitor.html">IpeVisitor</a> &amp;visitor) const 
36
 
<li>virtual void <a class="el" href="class_ipe_reference.html#2df44df7d6f037b80ec9586da9015dc3">SaveAsXml</a> (<a class="el" href="class_ipe_painter.html">IpePainter</a> &amp;painter, <a class="el" href="class_ipe_stream.html">IpeStream</a> &amp;stream, <a class="el" href="class_ipe_string.html">IpeString</a> layer) const
37
 
<li>virtual void <a class="el" href="class_ipe_reference.html#9a19cec8929296b9146f691c0633b439">Draw</a> (<a class="el" href="class_ipe_painter.html">IpePainter</a> &amp;painter) const 
38
 
<li>virtual void <a class="el" href="class_ipe_reference.html#4f5abcd677172a1d596e9486cd6abf20">AddToBBox</a> (<a class="el" href="class_ipe_rect.html">IpeRect</a> &amp;box, const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &amp;m) const
39
 
<li>virtual double <a class="el" href="class_ipe_reference.html#e0dcd67928ced45e1ebad7165df01093">Distance</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;v, const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &amp;m, double bound) const
40
 
<li>virtual void <a class="el" href="class_ipe_reference.html#5b734c2f37c20bd16f03007236c7bd49">SnapVtx</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;mouse, const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &amp;m, <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;pos, double &amp;bound) const
41
 
<li>virtual void <a class="el" href="class_ipe_reference.html#0e9f1f403ddaa853e1b9ded4727c32f5">SnapBnd</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;mouse, const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &amp;m, <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;pos, double &amp;bound) const
42
 
<li>virtual void <a class="el" href="class_ipe_reference.html#b1be572e953189f128ad94077ae1ddcd">CheckStyle</a> (const <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> *sheet, <a class="el" href="group__attr.html#g8592bdde9e4ad7b2ad81f5dd2638e43c">IpeAttributeSeq</a> &amp;seq) const
43
 
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_reference.html#5f3dd23e14040d5f477e5825fc71cb1b">Name</a> () const
44
 
<li>const <a class="el" href="class_ipe_object.html">IpeObject</a> * <a class="el" href="class_ipe_reference.html#ea92229f8866e9007423efa0cb687d1d">Object</a> () const
45
 
</ul>
46
 
<hr><a name="_details"></a><h2>Detailed Description</h2>
47
 
The reference object. 
48
 
<p>
49
 
A reference reuses an object defined in an Ipe style sheet. The object is defined as a named template in the style sheet, and can be reused arbitrarily often in the document. This can, for instance, be used for backgrounds on multi-page documents.<p>
50
 
It is admissible to refer to an undefined object (that is, the current style sheet cascade does not define a template with the given name). 
51
 
<p>
52
 
<hr><h2>Constructor &amp; Destructor Documentation</h2>
53
 
<a class="anchor" name="9e15e0e676327774131cf18df60ff515"></a><!-- doxytag: member="IpeReference::IpeReference" ref="9e15e0e676327774131cf18df60ff515" args="(IpeRepository *rep, const IpeXmlAttributes &amp;attr, IpeString data)" -->
54
 
<div class="memitem">
55
 
<div class="memproto">
56
 
      <table class="memname">
57
 
        <tr>
58
 
          <td class="memname">IpeReference::IpeReference           </td>
59
 
          <td>(</td>
60
 
          <td class="paramtype"><a class="el" href="class_ipe_repository.html">IpeRepository</a> *&nbsp;</td>
61
 
          <td class="paramname"> <em>rep</em>, </td>
62
 
        </tr>
63
 
        <tr>
64
 
          <td class="paramkey"></td>
65
 
          <td></td>
66
 
          <td class="paramtype">const <a class="el" href="class_ipe_xml_attributes.html">IpeXmlAttributes</a> &amp;&nbsp;</td>
67
 
          <td class="paramname"> <em>attr</em>, </td>
68
 
        </tr>
69
 
        <tr>
70
 
          <td class="paramkey"></td>
71
 
          <td></td>
72
 
          <td class="paramtype"><a class="el" href="class_ipe_string.html">IpeString</a>&nbsp;</td>
73
 
          <td class="paramname"> <em>data</em></td><td>&nbsp;</td>
74
 
        </tr>
75
 
        <tr>
76
 
          <td></td>
77
 
          <td>)</td>
78
 
          <td></td><td></td><td width="100%"><code> [explicit]</code></td>
79
 
        </tr>
80
 
      </table>
81
 
</div>
82
 
<div class="memdoc">
83
 
 
84
 
<p>
85
 
Create from XML stream. 
86
 
<p>
87
 
 
88
 
</div>
89
 
</div><p>
90
 
<a class="anchor" name="905cd61a052ec03bdc46a7e940d7fa7a"></a><!-- doxytag: member="IpeReference::IpeReference" ref="905cd61a052ec03bdc46a7e940d7fa7a" args="(const IpeStyleSheet *sheet, IpeAttribute name)" -->
91
 
<div class="memitem">
92
 
<div class="memproto">
93
 
      <table class="memname">
94
 
        <tr>
95
 
          <td class="memname">IpeReference::IpeReference           </td>
96
 
          <td>(</td>
97
 
          <td class="paramtype">const <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> *&nbsp;</td>
98
 
          <td class="paramname"> <em>sheet</em>, </td>
99
 
        </tr>
100
 
        <tr>
101
 
          <td class="paramkey"></td>
102
 
          <td></td>
103
 
          <td class="paramtype"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a>&nbsp;</td>
104
 
          <td class="paramname"> <em>name</em></td><td>&nbsp;</td>
105
 
        </tr>
106
 
        <tr>
107
 
          <td></td>
108
 
          <td>)</td>
109
 
          <td></td><td></td><td width="100%"><code> [explicit]</code></td>
110
 
        </tr>
111
 
      </table>
112
 
</div>
113
 
<div class="memdoc">
114
 
 
115
 
<p>
116
 
Create a reference to the named object in stylesheet. 
117
 
<p>
118
 
 
119
 
</div>
120
 
</div><p>
121
 
<a class="anchor" name="e1bc698f627fe315173443544e8b5952"></a><!-- doxytag: member="IpeReference::IpeReference" ref="e1bc698f627fe315173443544e8b5952" args="(const IpeReference &amp;rhs)" -->
122
 
<div class="memitem">
123
 
<div class="memproto">
124
 
      <table class="memname">
125
 
        <tr>
126
 
          <td class="memname">IpeReference::IpeReference           </td>
127
 
          <td>(</td>
128
 
          <td class="paramtype">const <a class="el" href="class_ipe_reference.html">IpeReference</a> &amp;&nbsp;</td>
129
 
          <td class="paramname"> <em>rhs</em>          </td>
130
 
          <td>&nbsp;)&nbsp;</td>
131
 
          <td width="100%"></td>
132
 
        </tr>
133
 
      </table>
134
 
</div>
135
 
<div class="memdoc">
136
 
 
137
 
<p>
138
 
Copy constructor. 
139
 
<p>
140
 
 
141
 
</div>
142
 
</div><p>
143
 
<hr><h2>Member Function Documentation</h2>
144
 
<a class="anchor" name="b3b99d65a8750bc84666ad3f75b17d35"></a><!-- doxytag: member="IpeReference::Clone" ref="b3b99d65a8750bc84666ad3f75b17d35" args="() const" -->
145
 
<div class="memitem">
146
 
<div class="memproto">
147
 
      <table class="memname">
148
 
        <tr>
149
 
          <td class="memname"><a class="el" href="class_ipe_object.html">IpeObject</a> * IpeReference::Clone           </td>
150
 
          <td>(</td>
151
 
          <td class="paramname">          </td>
152
 
          <td>&nbsp;)&nbsp;</td>
153
 
          <td width="100%"> const<code> [virtual]</code></td>
154
 
        </tr>
155
 
      </table>
156
 
</div>
157
 
<div class="memdoc">
158
 
 
159
 
<p>
160
 
Clone object. 
161
 
<p>
162
 
 
163
 
<p>
164
 
Implements <a class="el" href="class_ipe_object.html#544473557223336afe1b967223f71c8a">IpeObject</a>.
165
 
</div>
166
 
</div><p>
167
 
<a class="anchor" name="98cf5ebcc2a654489023bc55f0d11ded"></a><!-- doxytag: member="IpeReference::AsReference" ref="98cf5ebcc2a654489023bc55f0d11ded" args="()" -->
168
 
<div class="memitem">
169
 
<div class="memproto">
170
 
      <table class="memname">
171
 
        <tr>
172
 
          <td class="memname"><a class="el" href="class_ipe_reference.html">IpeReference</a> * IpeReference::AsReference           </td>
173
 
          <td>(</td>
174
 
          <td class="paramname">          </td>
175
 
          <td>&nbsp;)&nbsp;</td>
176
 
          <td width="100%"><code> [virtual]</code></td>
177
 
        </tr>
178
 
      </table>
179
 
</div>
180
 
<div class="memdoc">
181
 
 
182
 
<p>
183
 
Return pointer to this object. 
184
 
<p>
185
 
 
186
 
<p>
187
 
Reimplemented from <a class="el" href="class_ipe_object.html#f7ff3dbff00af078bbace3f49198a33c">IpeObject</a>.
188
 
</div>
189
 
</div><p>
190
 
<a class="anchor" name="8becf819cdedec454c6b6e7cb58fae9e"></a><!-- doxytag: member="IpeReference::Accept" ref="8becf819cdedec454c6b6e7cb58fae9e" args="(IpeVisitor &amp;visitor) const " -->
191
 
<div class="memitem">
192
 
<div class="memproto">
193
 
      <table class="memname">
194
 
        <tr>
195
 
          <td class="memname">void IpeReference::Accept           </td>
196
 
          <td>(</td>
197
 
          <td class="paramtype"><a class="el" href="class_ipe_visitor.html">IpeVisitor</a> &amp;&nbsp;</td>
198
 
          <td class="paramname"> <em>visitor</em>          </td>
199
 
          <td>&nbsp;)&nbsp;</td>
200
 
          <td width="100%"> const<code> [virtual]</code></td>
201
 
        </tr>
202
 
      </table>
203
 
</div>
204
 
<div class="memdoc">
205
 
 
206
 
<p>
207
 
Calls VisitXXX method of the visitor. 
208
 
<p>
209
 
 
210
 
<p>
211
 
Implements <a class="el" href="class_ipe_object.html#5e1c2d5483175375a3a83aaf61fa4900">IpeObject</a>.
212
 
</div>
213
 
</div><p>
214
 
<a class="anchor" name="2df44df7d6f037b80ec9586da9015dc3"></a><!-- doxytag: member="IpeReference::SaveAsXml" ref="2df44df7d6f037b80ec9586da9015dc3" args="(IpePainter &amp;painter, IpeStream &amp;stream, IpeString layer) const" -->
215
 
<div class="memitem">
216
 
<div class="memproto">
217
 
      <table class="memname">
218
 
        <tr>
219
 
          <td class="memname">void IpeReference::SaveAsXml           </td>
220
 
          <td>(</td>
221
 
          <td class="paramtype"><a class="el" href="class_ipe_painter.html">IpePainter</a> &amp;&nbsp;</td>
222
 
          <td class="paramname"> <em>painter</em>, </td>
223
 
        </tr>
224
 
        <tr>
225
 
          <td class="paramkey"></td>
226
 
          <td></td>
227
 
          <td class="paramtype"><a class="el" href="class_ipe_stream.html">IpeStream</a> &amp;&nbsp;</td>
228
 
          <td class="paramname"> <em>stream</em>, </td>
229
 
        </tr>
230
 
        <tr>
231
 
          <td class="paramkey"></td>
232
 
          <td></td>
233
 
          <td class="paramtype"><a class="el" href="class_ipe_string.html">IpeString</a>&nbsp;</td>
234
 
          <td class="paramname"> <em>layer</em></td><td>&nbsp;</td>
235
 
        </tr>
236
 
        <tr>
237
 
          <td></td>
238
 
          <td>)</td>
239
 
          <td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
240
 
        </tr>
241
 
      </table>
242
 
</div>
243
 
<div class="memdoc">
244
 
 
245
 
<p>
246
 
Save in XML format. 
247
 
<p>
248
 
 
249
 
<p>
250
 
Implements <a class="el" href="class_ipe_object.html#65b22ef539b3c7966f6a68977ed36486">IpeObject</a>.
251
 
</div>
252
 
</div><p>
253
 
<a class="anchor" name="9a19cec8929296b9146f691c0633b439"></a><!-- doxytag: member="IpeReference::Draw" ref="9a19cec8929296b9146f691c0633b439" args="(IpePainter &amp;painter) const " -->
254
 
<div class="memitem">
255
 
<div class="memproto">
256
 
      <table class="memname">
257
 
        <tr>
258
 
          <td class="memname">void IpeReference::Draw           </td>
259
 
          <td>(</td>
260
 
          <td class="paramtype"><a class="el" href="class_ipe_painter.html">IpePainter</a> &amp;&nbsp;</td>
261
 
          <td class="paramname"> <em>painter</em>          </td>
262
 
          <td>&nbsp;)&nbsp;</td>
263
 
          <td width="100%"> const<code> [virtual]</code></td>
264
 
        </tr>
265
 
      </table>
266
 
</div>
267
 
<div class="memdoc">
268
 
 
269
 
<p>
270
 
Draw reference. 
271
 
<p>
272
 
If the symbolic attribute is not defined in the current style sheet, nothing is drawn at all. 
273
 
<p>
274
 
Implements <a class="el" href="class_ipe_object.html#60f71ffee0f934072452b4dbed660de4">IpeObject</a>.
275
 
</div>
276
 
</div><p>
277
 
<a class="anchor" name="4f5abcd677172a1d596e9486cd6abf20"></a><!-- doxytag: member="IpeReference::AddToBBox" ref="4f5abcd677172a1d596e9486cd6abf20" args="(IpeRect &amp;box, const IpeMatrix &amp;m) const" -->
278
 
<div class="memitem">
279
 
<div class="memproto">
280
 
      <table class="memname">
281
 
        <tr>
282
 
          <td class="memname">void IpeReference::AddToBBox           </td>
283
 
          <td>(</td>
284
 
          <td class="paramtype"><a class="el" href="class_ipe_rect.html">IpeRect</a> &amp;&nbsp;</td>
285
 
          <td class="paramname"> <em>box</em>, </td>
286
 
        </tr>
287
 
        <tr>
288
 
          <td class="paramkey"></td>
289
 
          <td></td>
290
 
          <td class="paramtype">const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &amp;&nbsp;</td>
291
 
          <td class="paramname"> <em>m</em></td><td>&nbsp;</td>
292
 
        </tr>
293
 
        <tr>
294
 
          <td></td>
295
 
          <td>)</td>
296
 
          <td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
297
 
        </tr>
298
 
      </table>
299
 
</div>
300
 
<div class="memdoc">
301
 
 
302
 
<p>
303
 
Extend <em>box</em> to include the object transformed by <em>m</em>. 
304
 
<p>
305
 
For Ipe objects in a page, don't call this directly. The <a class="el" href="class_ipe_pg_object.html">IpePgObject</a> caches the bounding box, so it is far more efficient to call <a class="el" href="class_ipe_pg_object.html#24d9716bac48f23ee727db17f94dcfd1">IpePgObject::BBox</a>.<p>
306
 
If called with an empty box, the result of this function is a tight bounding box for the object, with a little leeway in case the boundary is determined by a spline (it has to be approximated to perform this operation). 
307
 
<p>
308
 
Implements <a class="el" href="class_ipe_object.html#86fb97b574a854c49c2b5cd6aee1bb75">IpeObject</a>.
309
 
</div>
310
 
</div><p>
311
 
<a class="anchor" name="e0dcd67928ced45e1ebad7165df01093"></a><!-- doxytag: member="IpeReference::Distance" ref="e0dcd67928ced45e1ebad7165df01093" args="(const IpeVector &amp;v, const IpeMatrix &amp;m, double bound) const" -->
312
 
<div class="memitem">
313
 
<div class="memproto">
314
 
      <table class="memname">
315
 
        <tr>
316
 
          <td class="memname">double IpeReference::Distance           </td>
317
 
          <td>(</td>
318
 
          <td class="paramtype">const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
319
 
          <td class="paramname"> <em>v</em>, </td>
320
 
        </tr>
321
 
        <tr>
322
 
          <td class="paramkey"></td>
323
 
          <td></td>
324
 
          <td class="paramtype">const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &amp;&nbsp;</td>
325
 
          <td class="paramname"> <em>m</em>, </td>
326
 
        </tr>
327
 
        <tr>
328
 
          <td class="paramkey"></td>
329
 
          <td></td>
330
 
          <td class="paramtype">double&nbsp;</td>
331
 
          <td class="paramname"> <em>bound</em></td><td>&nbsp;</td>
332
 
        </tr>
333
 
        <tr>
334
 
          <td></td>
335
 
          <td>)</td>
336
 
          <td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
337
 
        </tr>
338
 
      </table>
339
 
</div>
340
 
<div class="memdoc">
341
 
 
342
 
<p>
343
 
Return distance of transformed object to point <em>v</em>. If larger than <em>bound</em>, can just return <em>bound</em>. 
344
 
<p>
345
 
Implements <a class="el" href="class_ipe_object.html#ccf553420ac0b3435e686bb85adf7b88">IpeObject</a>.
346
 
</div>
347
 
</div><p>
348
 
<a class="anchor" name="5b734c2f37c20bd16f03007236c7bd49"></a><!-- doxytag: member="IpeReference::SnapVtx" ref="5b734c2f37c20bd16f03007236c7bd49" args="(const IpeVector &amp;mouse, const IpeMatrix &amp;m, IpeVector &amp;pos, double &amp;bound) const" -->
349
 
<div class="memitem">
350
 
<div class="memproto">
351
 
      <table class="memname">
352
 
        <tr>
353
 
          <td class="memname">void IpeReference::SnapVtx           </td>
354
 
          <td>(</td>
355
 
          <td class="paramtype">const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
356
 
          <td class="paramname"> <em>mouse</em>, </td>
357
 
        </tr>
358
 
        <tr>
359
 
          <td class="paramkey"></td>
360
 
          <td></td>
361
 
          <td class="paramtype">const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &amp;&nbsp;</td>
362
 
          <td class="paramname"> <em>m</em>, </td>
363
 
        </tr>
364
 
        <tr>
365
 
          <td class="paramkey"></td>
366
 
          <td></td>
367
 
          <td class="paramtype"><a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
368
 
          <td class="paramname"> <em>pos</em>, </td>
369
 
        </tr>
370
 
        <tr>
371
 
          <td class="paramkey"></td>
372
 
          <td></td>
373
 
          <td class="paramtype">double &amp;&nbsp;</td>
374
 
          <td class="paramname"> <em>bound</em></td><td>&nbsp;</td>
375
 
        </tr>
376
 
        <tr>
377
 
          <td></td>
378
 
          <td>)</td>
379
 
          <td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
380
 
        </tr>
381
 
      </table>
382
 
</div>
383
 
<div class="memdoc">
384
 
 
385
 
<p>
386
 
Compute possible vertex snapping position for transformed object. 
387
 
<p>
388
 
Looks only for positions closer than <em>bound</em>. If successful, modify <em>pos</em> and <em>bound</em>. 
389
 
<p>
390
 
Implements <a class="el" href="class_ipe_object.html#2ebde3cb7e75c55a61d2092c82f29146">IpeObject</a>.
391
 
</div>
392
 
</div><p>
393
 
<a class="anchor" name="0e9f1f403ddaa853e1b9ded4727c32f5"></a><!-- doxytag: member="IpeReference::SnapBnd" ref="0e9f1f403ddaa853e1b9ded4727c32f5" args="(const IpeVector &amp;mouse, const IpeMatrix &amp;m, IpeVector &amp;pos, double &amp;bound) const" -->
394
 
<div class="memitem">
395
 
<div class="memproto">
396
 
      <table class="memname">
397
 
        <tr>
398
 
          <td class="memname">void IpeReference::SnapBnd           </td>
399
 
          <td>(</td>
400
 
          <td class="paramtype">const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
401
 
          <td class="paramname"> <em>mouse</em>, </td>
402
 
        </tr>
403
 
        <tr>
404
 
          <td class="paramkey"></td>
405
 
          <td></td>
406
 
          <td class="paramtype">const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &amp;&nbsp;</td>
407
 
          <td class="paramname"> <em>m</em>, </td>
408
 
        </tr>
409
 
        <tr>
410
 
          <td class="paramkey"></td>
411
 
          <td></td>
412
 
          <td class="paramtype"><a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
413
 
          <td class="paramname"> <em>pos</em>, </td>
414
 
        </tr>
415
 
        <tr>
416
 
          <td class="paramkey"></td>
417
 
          <td></td>
418
 
          <td class="paramtype">double &amp;&nbsp;</td>
419
 
          <td class="paramname"> <em>bound</em></td><td>&nbsp;</td>
420
 
        </tr>
421
 
        <tr>
422
 
          <td></td>
423
 
          <td>)</td>
424
 
          <td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
425
 
        </tr>
426
 
      </table>
427
 
</div>
428
 
<div class="memdoc">
429
 
 
430
 
<p>
431
 
Compute boundary snapping position for transformed object. 
432
 
<p>
433
 
Looks only for positions closer than <em>bound</em>. If successful, modify <em>pos</em> and <em>bound</em>. The default implementation does nothing. 
434
 
<p>
435
 
Reimplemented from <a class="el" href="class_ipe_object.html#f72b15786e9028360d2a44fc8c3c9820">IpeObject</a>.
436
 
</div>
437
 
</div><p>
438
 
<a class="anchor" name="b1be572e953189f128ad94077ae1ddcd"></a><!-- doxytag: member="IpeReference::CheckStyle" ref="b1be572e953189f128ad94077ae1ddcd" args="(const IpeStyleSheet *sheet, IpeAttributeSeq &amp;seq) const" -->
439
 
<div class="memitem">
440
 
<div class="memproto">
441
 
      <table class="memname">
442
 
        <tr>
443
 
          <td class="memname">void IpeReference::CheckStyle           </td>
444
 
          <td>(</td>
445
 
          <td class="paramtype">const <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> *&nbsp;</td>
446
 
          <td class="paramname"> <em>sheet</em>, </td>
447
 
        </tr>
448
 
        <tr>
449
 
          <td class="paramkey"></td>
450
 
          <td></td>
451
 
          <td class="paramtype"><a class="el" href="group__attr.html#g8592bdde9e4ad7b2ad81f5dd2638e43c">IpeAttributeSeq</a> &amp;&nbsp;</td>
452
 
          <td class="paramname"> <em>seq</em></td><td>&nbsp;</td>
453
 
        </tr>
454
 
        <tr>
455
 
          <td></td>
456
 
          <td>)</td>
457
 
          <td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
458
 
        </tr>
459
 
      </table>
460
 
</div>
461
 
<div class="memdoc">
462
 
 
463
 
<p>
464
 
Check symbolic attributes of object. 
465
 
<p>
466
 
 
467
 
<p>
468
 
Reimplemented from <a class="el" href="class_ipe_object.html#f441daae5d1e1a89a5002d80cf2c5c22">IpeObject</a>.
469
 
</div>
470
 
</div><p>
471
 
<a class="anchor" name="5f3dd23e14040d5f477e5825fc71cb1b"></a><!-- doxytag: member="IpeReference::Name" ref="5f3dd23e14040d5f477e5825fc71cb1b" args="() const" -->
472
 
<div class="memitem">
473
 
<div class="memproto">
474
 
      <table class="memname">
475
 
        <tr>
476
 
          <td class="memname"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpeReference::Name           </td>
477
 
          <td>(</td>
478
 
          <td class="paramname">          </td>
479
 
          <td>&nbsp;)&nbsp;</td>
480
 
          <td width="100%"> const<code> [inline]</code></td>
481
 
        </tr>
482
 
      </table>
483
 
</div>
484
 
<div class="memdoc">
485
 
 
486
 
<p>
487
 
Return symbolic name. 
488
 
<p>
489
 
 
490
 
</div>
491
 
</div><p>
492
 
<a class="anchor" name="ea92229f8866e9007423efa0cb687d1d"></a><!-- doxytag: member="IpeReference::Object" ref="ea92229f8866e9007423efa0cb687d1d" args="() const" -->
493
 
<div class="memitem">
494
 
<div class="memproto">
495
 
      <table class="memname">
496
 
        <tr>
497
 
          <td class="memname">const <a class="el" href="class_ipe_object.html">IpeObject</a>* IpeReference::Object           </td>
498
 
          <td>(</td>
499
 
          <td class="paramname">          </td>
500
 
          <td>&nbsp;)&nbsp;</td>
501
 
          <td width="100%"> const<code> [inline]</code></td>
502
 
        </tr>
503
 
      </table>
504
 
</div>
505
 
<div class="memdoc">
506
 
 
507
 
<p>
508
 
Return pointer to cached object. 
509
 
<p>
510
 
 
511
 
</div>
512
 
</div><p>
513
 
<hr>The documentation for this class was generated from the following files:<ul>
514
 
<li>iperef.h<li>iperef.cpp</ul>
515
 
<hr>
516
 
</body></html>