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: IpeFillable Class Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.5.1 -->
10
<li><a href="index.html"><span>Main 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>
16
<li><a href="annotated.html"><span>Class List</span></a></li>
17
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
18
<li><a href="functions.html"><span>Class Members</span></a></li>
20
<h1>IpeFillable Class Reference<br>
22
[<a class="el" href="group__obj.html">Ipe Objects</a>]</small>
23
</h1><!-- doxytag: class="IpeFillable" --><!-- doxytag: inherits="IpeObject" -->Base class for IpeFillable's with fill color and line style.
24
<a href="#_details">More...</a>
26
Inherits <a class="el" href="class_ipe_object.html">IpeObject</a>.
28
Inherited by <a class="el" href="class_ipe_group.html">IpeGroup</a>, <a class="el" href="class_ipe_mark.html">IpeMark</a>, and <a class="el" href="class_ipe_path.html">IpePath</a>.
30
<a href="class_ipe_fillable-members.html">List of all members.</a><h2>Public Member Functions</h2>
32
<li>virtual <a class="el" href="class_ipe_fillable.html">IpeFillable</a> * <a class="el" href="class_ipe_fillable.html#3f6e0043f8427f379418806d3eae9db5">AsFillable</a> ()
33
<li>virtual void <a class="el" href="class_ipe_fillable.html#a54b5e3feff44e4e04aa908507610ba9">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> &seq) const
34
<li>void <a class="el" href="class_ipe_fillable.html#8d894a04682d766f4a3237ab5370abf6">SetFill</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> fill)
35
<li>void <a class="el" href="class_ipe_fillable.html#c19402b4a2832e951169bcc4d0dc8aeb">SetLineWidth</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> lw)
36
<li>void <a class="el" href="class_ipe_fillable.html#a866b5cc0c0c7dfbbf6edadd5635496c">SetDashStyle</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> dash)
37
<li>void <a class="el" href="class_ipe_fillable.html#83a616c333c1401a8da211ba7818e02c">SetStrokeStyle</a> (<a class="el" href="class_ipe_stroke_style.html">IpeStrokeStyle</a> attr)
38
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_fillable.html#c259ae3cf0fa552ccf90d148ca183f81">Fill</a> () const
39
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_fillable.html#2436af0f3b85259a5a81b41493f39a94">LineWidth</a> () const
40
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_fillable.html#af16893313a1888b67676eed3ca6a98e">DashStyle</a> () const
41
<li><a class="el" href="class_ipe_stroke_style.html">IpeStrokeStyle</a> <a class="el" href="class_ipe_fillable.html#56cd105b52e5e0ae4909befa4a8f864b">StrokeStyle</a> () const
43
<h2>Protected Member Functions</h2>
45
<li><a class="el" href="class_ipe_fillable.html#7a63311d806e5eba10c821bb094d8d1b">IpeFillable</a> ()
46
<li><a class="el" href="class_ipe_fillable.html#a03839281ffcbf8ec06d1dd3ef4fecf5">IpeFillable</a> (const <a class="el" href="class_ipe_all_attributes.html">IpeAllAttributes</a> &attr)
47
<li><a class="el" href="class_ipe_fillable.html#cb3c342c558ba30bad756e8a39309164">IpeFillable</a> (<a class="el" href="class_ipe_repository.html">IpeRepository</a> *rep, const <a class="el" href="class_ipe_xml_attributes.html">IpeXmlAttributes</a> &attr)
48
<li><a class="el" href="class_ipe_fillable.html#f633225e8c2c059bb43e49c5fa34b9f0">IpeFillable</a> (const <a class="el" href="class_ipe_fillable.html">IpeFillable</a> &rhs)
49
<li>void <a class="el" href="class_ipe_fillable.html#44628805f013147470674da833523d30">SaveFillAttributesAsXml</a> (<a class="el" href="class_ipe_painter.html">IpePainter</a> &painter, <a class="el" href="class_ipe_stream.html">IpeStream</a> &stream) const
50
<li>void <a class="el" href="class_ipe_fillable.html#566671b1d7956e30c24f2f2beb7e25f0">ApplyAttributes</a> (<a class="el" href="class_ipe_painter.html">IpePainter</a> &painter) const
52
<hr><a name="_details"></a><h2>Detailed Description</h2>
53
Base class for IpeFillable's with fill color and line style.
55
<hr><h2>Constructor & Destructor Documentation</h2>
56
<a class="anchor" name="7a63311d806e5eba10c821bb094d8d1b"></a><!-- doxytag: member="IpeFillable::IpeFillable" ref="7a63311d806e5eba10c821bb094d8d1b" args="()" -->
58
<div class="memproto">
59
<table class="memname">
61
<td class="memname">IpeFillable::IpeFillable </td>
63
<td class="paramname"> </td>
64
<td> ) </td>
65
<td width="100%"><code> [explicit, protected]</code></td>
72
Create object with all null attributes.
77
<a class="anchor" name="a03839281ffcbf8ec06d1dd3ef4fecf5"></a><!-- doxytag: member="IpeFillable::IpeFillable" ref="a03839281ffcbf8ec06d1dd3ef4fecf5" args="(const IpeAllAttributes &attr)" -->
79
<div class="memproto">
80
<table class="memname">
82
<td class="memname">IpeFillable::IpeFillable </td>
84
<td class="paramtype">const <a class="el" href="class_ipe_all_attributes.html">IpeAllAttributes</a> & </td>
85
<td class="paramname"> <em>attr</em> </td>
86
<td> ) </td>
87
<td width="100%"><code> [explicit, protected]</code></td>
94
Create object by taking attributes from <em>attr</em> and setting identity matrix.
97
<a class="anchor" name="cb3c342c558ba30bad756e8a39309164"></a><!-- doxytag: member="IpeFillable::IpeFillable" ref="cb3c342c558ba30bad756e8a39309164" args="(IpeRepository *rep, const IpeXmlAttributes &attr)" -->
99
<div class="memproto">
100
<table class="memname">
102
<td class="memname">IpeFillable::IpeFillable </td>
104
<td class="paramtype"><a class="el" href="class_ipe_repository.html">IpeRepository</a> * </td>
105
<td class="paramname"> <em>rep</em>, </td>
108
<td class="paramkey"></td>
110
<td class="paramtype">const <a class="el" href="class_ipe_xml_attributes.html">IpeXmlAttributes</a> & </td>
111
<td class="paramname"> <em>attr</em></td><td> </td>
116
<td></td><td></td><td width="100%"><code> [explicit, protected]</code></td>
123
Construct from XML stream.
128
<a class="anchor" name="f633225e8c2c059bb43e49c5fa34b9f0"></a><!-- doxytag: member="IpeFillable::IpeFillable" ref="f633225e8c2c059bb43e49c5fa34b9f0" args="(const IpeFillable &rhs)" -->
129
<div class="memitem">
130
<div class="memproto">
131
<table class="memname">
133
<td class="memname">IpeFillable::IpeFillable </td>
135
<td class="paramtype">const <a class="el" href="class_ipe_fillable.html">IpeFillable</a> & </td>
136
<td class="paramname"> <em>rhs</em> </td>
137
<td> ) </td>
138
<td width="100%"><code> [protected]</code></td>
150
<hr><h2>Member Function Documentation</h2>
151
<a class="anchor" name="3f6e0043f8427f379418806d3eae9db5"></a><!-- doxytag: member="IpeFillable::AsFillable" ref="3f6e0043f8427f379418806d3eae9db5" args="()" -->
152
<div class="memitem">
153
<div class="memproto">
154
<table class="memname">
156
<td class="memname"><a class="el" href="class_ipe_fillable.html">IpeFillable</a> * IpeFillable::AsFillable </td>
158
<td class="paramname"> </td>
159
<td> ) </td>
160
<td width="100%"><code> [virtual]</code></td>
167
Return pointer to this object.
171
Reimplemented from <a class="el" href="class_ipe_object.html#e6be8dcd1cc377146fc7ead5954e1afa">IpeObject</a>.
174
<a class="anchor" name="a54b5e3feff44e4e04aa908507610ba9"></a><!-- doxytag: member="IpeFillable::CheckStyle" ref="a54b5e3feff44e4e04aa908507610ba9" args="(const IpeStyleSheet *sheet, IpeAttributeSeq &seq) const" -->
175
<div class="memitem">
176
<div class="memproto">
177
<table class="memname">
179
<td class="memname">void IpeFillable::CheckStyle </td>
181
<td class="paramtype">const <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> * </td>
182
<td class="paramname"> <em>sheet</em>, </td>
185
<td class="paramkey"></td>
187
<td class="paramtype"><a class="el" href="group__attr.html#g8592bdde9e4ad7b2ad81f5dd2638e43c">IpeAttributeSeq</a> & </td>
188
<td class="paramname"> <em>seq</em></td><td> </td>
193
<td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
200
Check all symbolic attributes.
204
Reimplemented from <a class="el" href="class_ipe_object.html#f441daae5d1e1a89a5002d80cf2c5c22">IpeObject</a>.
206
Reimplemented in <a class="el" href="class_ipe_group.html#202ab4d7a4b8f5e2b41d68a909a93200">IpeGroup</a>, <a class="el" href="class_ipe_mark.html#208ce5aff104b1ff28233e3214c5d742">IpeMark</a>, and <a class="el" href="class_ipe_path.html#75d3fe4426df69f4151deaca826fd1b6">IpePath</a>.
209
<a class="anchor" name="8d894a04682d766f4a3237ab5370abf6"></a><!-- doxytag: member="IpeFillable::SetFill" ref="8d894a04682d766f4a3237ab5370abf6" args="(IpeAttribute fill)" -->
210
<div class="memitem">
211
<div class="memproto">
212
<table class="memname">
214
<td class="memname">void IpeFillable::SetFill </td>
216
<td class="paramtype"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> </td>
217
<td class="paramname"> <em>fill</em> </td>
218
<td> ) </td>
219
<td width="100%"></td>
231
<a class="anchor" name="c19402b4a2832e951169bcc4d0dc8aeb"></a><!-- doxytag: member="IpeFillable::SetLineWidth" ref="c19402b4a2832e951169bcc4d0dc8aeb" args="(IpeAttribute lw)" -->
232
<div class="memitem">
233
<div class="memproto">
234
<table class="memname">
236
<td class="memname">void IpeFillable::SetLineWidth </td>
238
<td class="paramtype"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> </td>
239
<td class="paramname"> <em>lw</em> </td>
240
<td> ) </td>
241
<td width="100%"></td>
253
<a class="anchor" name="a866b5cc0c0c7dfbbf6edadd5635496c"></a><!-- doxytag: member="IpeFillable::SetDashStyle" ref="a866b5cc0c0c7dfbbf6edadd5635496c" args="(IpeAttribute dash)" -->
254
<div class="memitem">
255
<div class="memproto">
256
<table class="memname">
258
<td class="memname">void IpeFillable::SetDashStyle </td>
260
<td class="paramtype"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> </td>
261
<td class="paramname"> <em>dash</em> </td>
262
<td> ) </td>
263
<td width="100%"></td>
275
<a class="anchor" name="83a616c333c1401a8da211ba7818e02c"></a><!-- doxytag: member="IpeFillable::SetStrokeStyle" ref="83a616c333c1401a8da211ba7818e02c" args="(IpeStrokeStyle attr)" -->
276
<div class="memitem">
277
<div class="memproto">
278
<table class="memname">
280
<td class="memname">void IpeFillable::SetStrokeStyle </td>
282
<td class="paramtype"><a class="el" href="class_ipe_stroke_style.html">IpeStrokeStyle</a> </td>
283
<td class="paramname"> <em>attr</em> </td>
284
<td> ) </td>
285
<td width="100%"></td>
292
Set line cap and join.
297
<a class="anchor" name="c259ae3cf0fa552ccf90d148ca183f81"></a><!-- doxytag: member="IpeFillable::Fill" ref="c259ae3cf0fa552ccf90d148ca183f81" args="() const" -->
298
<div class="memitem">
299
<div class="memproto">
300
<table class="memname">
302
<td class="memname"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpeFillable::Fill </td>
304
<td class="paramname"> </td>
305
<td> ) </td>
306
<td width="100%"> const<code> [inline]</code></td>
313
Return object fill color.
318
<a class="anchor" name="2436af0f3b85259a5a81b41493f39a94"></a><!-- doxytag: member="IpeFillable::LineWidth" ref="2436af0f3b85259a5a81b41493f39a94" args="() const" -->
319
<div class="memitem">
320
<div class="memproto">
321
<table class="memname">
323
<td class="memname"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpeFillable::LineWidth </td>
325
<td class="paramname"> </td>
326
<td> ) </td>
327
<td width="100%"> const<code> [inline]</code></td>
334
Return object line width.
339
<a class="anchor" name="af16893313a1888b67676eed3ca6a98e"></a><!-- doxytag: member="IpeFillable::DashStyle" ref="af16893313a1888b67676eed3ca6a98e" args="() const" -->
340
<div class="memitem">
341
<div class="memproto">
342
<table class="memname">
344
<td class="memname"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpeFillable::DashStyle </td>
346
<td class="paramname"> </td>
347
<td> ) </td>
348
<td width="100%"> const<code> [inline]</code></td>
355
Return object line style.
360
<a class="anchor" name="56cd105b52e5e0ae4909befa4a8f864b"></a><!-- doxytag: member="IpeFillable::StrokeStyle" ref="56cd105b52e5e0ae4909befa4a8f864b" args="() const" -->
361
<div class="memitem">
362
<div class="memproto">
363
<table class="memname">
365
<td class="memname"><a class="el" href="class_ipe_stroke_style.html">IpeStrokeStyle</a> IpeFillable::StrokeStyle </td>
367
<td class="paramname"> </td>
368
<td> ) </td>
369
<td width="100%"> const<code> [inline]</code></td>
376
Return line cap, join.
381
<a class="anchor" name="44628805f013147470674da833523d30"></a><!-- doxytag: member="IpeFillable::SaveFillAttributesAsXml" ref="44628805f013147470674da833523d30" args="(IpePainter &painter, IpeStream &stream) const" -->
382
<div class="memitem">
383
<div class="memproto">
384
<table class="memname">
386
<td class="memname">void IpeFillable::SaveFillAttributesAsXml </td>
388
<td class="paramtype"><a class="el" href="class_ipe_painter.html">IpePainter</a> & </td>
389
<td class="paramname"> <em>painter</em>, </td>
392
<td class="paramkey"></td>
394
<td class="paramtype"><a class="el" href="class_ipe_stream.html">IpeStream</a> & </td>
395
<td class="paramname"> <em>stream</em></td><td> </td>
400
<td></td><td></td><td width="100%"> const<code> [protected]</code></td>
407
Write common attributes to XML stream.
412
<a class="anchor" name="566671b1d7956e30c24f2f2beb7e25f0"></a><!-- doxytag: member="IpeFillable::ApplyAttributes" ref="566671b1d7956e30c24f2f2beb7e25f0" args="(IpePainter &painter) const " -->
413
<div class="memitem">
414
<div class="memproto">
415
<table class="memname">
417
<td class="memname">void IpeFillable::ApplyAttributes </td>
419
<td class="paramtype"><a class="el" href="class_ipe_painter.html">IpePainter</a> & </td>
420
<td class="paramname"> <em>painter</em> </td>
421
<td> ) </td>
422
<td width="100%"> const<code> [protected]</code></td>
429
Save graphics state, and set new attributes.
431
Color, line width, and dash style are only set if the current value in the graphics state is null.<p>
432
Line cap, line join, and miter limit are only set if the value to be set is not the default. (I.e. a default value means to inherit the parent value.)<p>
433
Don't forget to pop the graphics state after doing your drawing!
436
<hr>The documentation for this class was generated from the following files:<ul>
437
<li>ipeobj.h<li>ipeobj.cpp</ul>