1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
<title>Ipelib: ipe::Attribute Class Reference</title>
6
<link href="tabs.css" rel="stylesheet" type="text/css"/>
7
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
10
<!-- Generated by Doxygen 1.6.1 -->
11
<div class="navigation" id="top">
14
<li><a href="index.html"><span>Main Page</span></a></li>
15
<li><a href="modules.html"><span>Modules</span></a></li>
16
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
17
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
22
<li><a href="annotated.html"><span>Class List</span></a></li>
23
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
24
<li><a href="functions.html"><span>Class Members</span></a></li>
27
<div class="navpath"><a class="el" href="namespaceipe.html">ipe</a>::<a class="el" href="classipe_1_1_attribute.html">Attribute</a>
30
<div class="contents">
31
<h1>ipe::Attribute Class Reference<br/>
33
[<a class="el" href="group__attr.html">Ipe Attributes</a>]</small>
34
</h1><!-- doxytag: class="ipe::Attribute" -->
35
<p>An attribute of an Ipe <a class="el" href="classipe_1_1_object.html" title="Base class for all Ipe objects, composite or leaf.">Object</a>.
36
<a href="#_details">More...</a></p>
38
<p><code>#include <ipeattributes.h></code></p>
40
<p><a href="classipe_1_1_attribute-members.html">List of all members.</a></p>
41
<h2>Public Member Functions</h2>
43
<li><a class="el" href="classipe_1_1_attribute.html#a6b36c5d821c82e33379584c9fc69854e">Attribute</a> ()
44
<li><a class="el" href="classipe_1_1_attribute.html#ad51ce45d9ea3d7c7e7af193701068943">Attribute</a> (bool symbolic, <a class="el" href="classipe_1_1_string.html">String</a> name)
45
<li><a class="el" href="classipe_1_1_attribute.html#ad079a2d53c0adc794641839bc2d88125">Attribute</a> (<a class="el" href="classipe_1_1_fixed.html">Fixed</a> value)
46
<li><a class="el" href="classipe_1_1_attribute.html#ad54b1fab2a6199ae55b9350ab54207fe">Attribute</a> (<a class="el" href="classipe_1_1_color.html">Color</a> color)
47
<li><a class="el" href="classipe_1_1_attribute.html#aa0fa149aa9d1929f7e2231b6ca98b5be">Attribute</a> (<a class="el" href="group__attr.html#ga5134c5b92bc4e6806ec02b1f86bc4028">THorizontalAlignment</a> align)
48
<li><a class="el" href="classipe_1_1_attribute.html#acfcbca4e7eadb42c1ebaf26c648e5df3">Attribute</a> (<a class="el" href="group__attr.html#ga96d6416f5b4f9086ba67ded7c21fdf08">TVerticalAlignment</a> align)
49
<li><a class="el" href="classipe_1_1_attribute.html#ac194cc336bcaee1d0fa07e0d5df9bab0">Attribute</a> (<a class="el" href="group__attr.html#gae5ab4b7143ab5ed05efcdbe4bbb9dd93">TLineJoin</a> join)
50
<li><a class="el" href="classipe_1_1_attribute.html#a66c1adc83d043b75a854e254448ca4e5">Attribute</a> (<a class="el" href="group__attr.html#ga2a173ffa6945f9033fffd786ada441b5">TLineCap</a> cap)
51
<li><a class="el" href="classipe_1_1_attribute.html#a6f8fda7843bc809c780d950e84c3991a">Attribute</a> (<a class="el" href="group__attr.html#ga4defbee452ac9648e94eee7878214647">TFillRule</a> rule)
52
<li><a class="el" href="classipe_1_1_attribute.html#a3404b97a7a74bcca1370b0e144bb5c96">Attribute</a> (<a class="el" href="group__attr.html#gac026b82e69974d9eb0f6e83470183eb2">TPinned</a> pin)
53
<li><a class="el" href="classipe_1_1_attribute.html#a9856a3decdc71cf261abf3a71548aa04">Attribute</a> (<a class="el" href="group__attr.html#ga5a80a01d23ba5b6e4f258faead3364c5">TTransformations</a> trans)
54
<li><a class="el" href="classipe_1_1_attribute.html#a8e6161dae993119a3a763f664b2399fd">Attribute</a> (<a class="el" href="group__attr.html#ga40b15a8cc8f66dc518621289ed4f1cd6">TPathMode</a> pm)
55
<li>bool <a class="el" href="classipe_1_1_attribute.html#a80355449df3995b2d4a1b87c54abb1a3">isSymbolic</a> () const
56
<li>bool <a class="el" href="classipe_1_1_attribute.html#a4a3b685a5b042c1e03bfa4b33b08302d">isString</a> () const
57
<li>bool <a class="el" href="classipe_1_1_attribute.html#a37a3bc0cf2ddba087752a476c7d07eff">isColor</a> () const
58
<li>bool <a class="el" href="classipe_1_1_attribute.html#aefe6243adfcc783f54ee8163f69cd016">isNumber</a> () const
59
<li>bool <a class="el" href="classipe_1_1_attribute.html#a2f1c282c640a077e8c4f33a474877742">isEnum</a> () const
60
<li>bool <a class="el" href="classipe_1_1_attribute.html#a7127ae52eea385f668e05e2a5e1467aa">isBoolean</a> () const
61
<li>bool <a class="el" href="classipe_1_1_attribute.html#abe225a60676b1da5e9282067df93e1a6">isNormal</a> () const
62
<li>int <a class="el" href="classipe_1_1_attribute.html#a70566322d9e073600020924ef9618c31">index</a> () const
63
<li>int <a class="el" href="classipe_1_1_attribute.html#a0b49fe8c32e2e9ef5a8895144d13215e">internal</a> () const
64
<li><a class="el" href="classipe_1_1_string.html">String</a> <a class="el" href="classipe_1_1_attribute.html#a0ec2c91fbac3f326c7bf88ba112954e4">string</a> () const
65
<li><a class="el" href="classipe_1_1_fixed.html">Fixed</a> <a class="el" href="classipe_1_1_attribute.html#aabf1af360e03a70725b30aeb80b33b54">number</a> () const
66
<li><a class="el" href="classipe_1_1_color.html">Color</a> <a class="el" href="classipe_1_1_attribute.html#a585441870cee664ba79decaf454f3a3b">color</a> () const
67
<li>bool <a class="el" href="classipe_1_1_attribute.html#a04811fe1a683e727ecf195aa6e01fa32">boolean</a> () const
68
<li><a class="el" href="group__attr.html#ga5134c5b92bc4e6806ec02b1f86bc4028">THorizontalAlignment</a> <a class="el" href="classipe_1_1_attribute.html#ad8f79690923f4bda93f56c50664be269">horizontalAlignment</a> () const
69
<li><a class="el" href="group__attr.html#ga96d6416f5b4f9086ba67ded7c21fdf08">TVerticalAlignment</a> <a class="el" href="classipe_1_1_attribute.html#aa29edb745a2c8d13fe1c7b7d6d3dd7f2">verticalAlignment</a> () const
70
<li><a class="el" href="group__attr.html#gae5ab4b7143ab5ed05efcdbe4bbb9dd93">TLineJoin</a> <a class="el" href="classipe_1_1_attribute.html#a6bf1f14b0fc0cf6d9dd0db085071a67c">lineJoin</a> () const
71
<li><a class="el" href="group__attr.html#ga2a173ffa6945f9033fffd786ada441b5">TLineCap</a> <a class="el" href="classipe_1_1_attribute.html#a7a7f612d02b7f5ec6c68671509f42d39">lineCap</a> () const
72
<li><a class="el" href="group__attr.html#ga4defbee452ac9648e94eee7878214647">TFillRule</a> <a class="el" href="classipe_1_1_attribute.html#aa59cc5a547dcc4052a862c0d63b7aa4f">fillRule</a> () const
73
<li><a class="el" href="group__attr.html#gac026b82e69974d9eb0f6e83470183eb2">TPinned</a> <a class="el" href="classipe_1_1_attribute.html#a67be3c606710a7a3558fd295d98dfbd7">pinned</a> () const
74
<li><a class="el" href="group__attr.html#ga5a80a01d23ba5b6e4f258faead3364c5">TTransformations</a> <a class="el" href="classipe_1_1_attribute.html#ac9ec21fe2fb9b490ff6eb1b9e400652b">transformations</a> () const
75
<li><a class="el" href="group__attr.html#ga40b15a8cc8f66dc518621289ed4f1cd6">TPathMode</a> <a class="el" href="classipe_1_1_attribute.html#a2bb4de5060a6146a5d04e34ef0e8db03">pathMode</a> () const
76
<li>bool <a class="el" href="classipe_1_1_attribute.html#a3d57dc53efe5409d8abad939079963fd">operator==</a> (const <a class="el" href="classipe_1_1_attribute.html">Attribute</a> &rhs) const
77
<li>bool <a class="el" href="classipe_1_1_attribute.html#a48bf78a316dbac5114d52766f8b44fcb">operator!=</a> (const <a class="el" href="classipe_1_1_attribute.html">Attribute</a> &rhs) const
79
<h2>Static Public Member Functions</h2>
81
<li>static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_attribute.html#a3bc607f20413446b21a3d54016db02fe">Boolean</a> (bool flag)
82
<li>static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_attribute.html#a8c1bbc2f91ad1773f70c1065a98f98b1">BLACK</a> ()
83
<li>static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_attribute.html#a83626c34a811143c6f7415a040fdd1d8">WHITE</a> ()
84
<li>static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_attribute.html#ac72d58f8ded5ba68040890d137cb4460">ONE</a> ()
85
<li>static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_attribute.html#a71bb701d014c2c45062867027d9492c1">NORMAL</a> ()
86
<li>static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_attribute.html#a2143d4e0ed1545614b278f7e8150d6ac">UNDEFINED</a> ()
87
<li>static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_attribute.html#a596563c47560de0cfc920b9e7a8ae33e">BACKGROUND</a> ()
88
<li>static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_attribute.html#a50a8d7f455ecba85846da8077835642c">SYM_STROKE</a> ()
89
<li>static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_attribute.html#aa5fe71911312bb621b94d2fb4b81ec6b">SYM_FILL</a> ()
90
<li>static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_attribute.html#abe8089445d6f9b3cfb8330b6f7c5402b">SYM_PEN</a> ()
91
<li>static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_attribute.html#a65b681f2186882c035d3d5979cde677b">ARROW_NORMAL</a> ()
92
<li>static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_attribute.html#a2232b59ecef20667a1af6b707808719b">OPAQUE</a> ()
93
<li>static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_attribute.html#a790e2ffa62d3b8e66929f351812c85b6">ARROW_ARC</a> ()
94
<li>static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_attribute.html#a55b981ed60c163c61373c238971adbd9">ARROW_FARC</a> ()
95
<li>static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_attribute.html#a3fe2d6e8882b795495ce99859453e448">makeColor</a> (<a class="el" href="classipe_1_1_string.html">String</a> str, <a class="el" href="classipe_1_1_attribute.html">Attribute</a> deflt)
96
<li>static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_attribute.html#a1f26b25b54114b1303f991be5e5a82dc">makeScalar</a> (<a class="el" href="classipe_1_1_string.html">String</a> str, <a class="el" href="classipe_1_1_attribute.html">Attribute</a> deflt)
97
<li>static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_attribute.html#a414d6dacb48175baf0da905b6c170797">makeDashStyle</a> (<a class="el" href="classipe_1_1_string.html">String</a> str)
98
<li>static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_attribute.html#a21a82439083a4d05111a75c361336197">makeTextSize</a> (<a class="el" href="classipe_1_1_string.html">String</a> str)
99
<li>static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> <a class="el" href="classipe_1_1_attribute.html#a4a6e58b5f73eec649c141d553b1e4ac5">normal</a> (<a class="el" href="group__attr.html#ga4687dc25ac49588fa3b339079972944a">Kind</a> kind)
103
<li>class <a class="el" href="classipe_1_1_attribute.html#a99c4575bea5979a86289d068bbbe614c">StyleSheet</a>
105
<hr/><a name="_details"></a><h2>Detailed Description</h2>
106
<p>An attribute of an Ipe <a class="el" href="classipe_1_1_object.html" title="Base class for all Ipe objects, composite or leaf.">Object</a>. </p>
107
<p>An attribute is either an absolute value or a symbolic name that has to be looked up in a <a class="el" href="classipe_1_1_style_sheet.html" title="A style sheet maps symbolic names to absolute values.">StyleSheet</a>.</p>
108
<p>All string values are replaced by indices into a <a class="el" href="classipe_1_1_repository.html" title="Repository of strings.">Repository</a> (that applies both to symbolic names and to absolute values that are strings). All other values are stored directly inside the attribute, either as a <a class="el" href="classipe_1_1_fixed.html" title="Fixed point number with three (decimal) fractional digits.">Fixed</a> or a <a class="el" href="classipe_1_1_color.html" title="An absolute RGB color.">Color</a>.</p>
109
<p>There are five different kinds of <a class="el" href="classipe_1_1_attribute.html" title="An attribute of an Ipe Object.">Attribute</a> objects:</p>
111
<li>if <a class="el" href="classipe_1_1_attribute.html#a80355449df3995b2d4a1b87c54abb1a3" title="Is it symbolic?">isSymbolic()</a> is true, <a class="el" href="classipe_1_1_attribute.html#a70566322d9e073600020924ef9618c31" title="Return index into Repository.">index()</a> returns the index into the repository, and <a class="el" href="classipe_1_1_attribute.html#a0ec2c91fbac3f326c7bf88ba112954e4" title="Return string representing the attribute.">string()</a> returns the symbolic name.</li>
112
<li>if <a class="el" href="classipe_1_1_attribute.html#a37a3bc0cf2ddba087752a476c7d07eff" title="Is it a color?">isColor()</a> is true, <a class="el" href="classipe_1_1_attribute.html#a585441870cee664ba79decaf454f3a3b" title="Return absolute color.">color()</a> returns an absolute RGB color.</li>
113
<li>if isNumeric() is true, <a class="el" href="classipe_1_1_attribute.html#aabf1af360e03a70725b30aeb80b33b54" title="Return value of absolute numeric attribute.">number()</a> returns an absolute scalar value.</li>
114
<li>if <a class="el" href="classipe_1_1_attribute.html#a2f1c282c640a077e8c4f33a474877742" title="Is it an enumeration?">isEnum()</a> is true, the attribute represents an enumeration value.</li>
115
<li>otherwise, <a class="el" href="classipe_1_1_attribute.html#a4a3b685a5b042c1e03bfa4b33b08302d" title="Is it an absolute string value?">isString()</a> is true, and <a class="el" href="classipe_1_1_attribute.html#a70566322d9e073600020924ef9618c31" title="Return index into Repository.">index()</a> returns the index into the repository (for a string expressing the absolute value of the attribute), and <a class="el" href="classipe_1_1_attribute.html#a0ec2c91fbac3f326c7bf88ba112954e4" title="Return string representing the attribute.">string()</a> returns the string itself. </li>
117
<hr/><h2>Constructor & Destructor Documentation</h2>
118
<a class="anchor" id="a6b36c5d821c82e33379584c9fc69854e"></a><!-- doxytag: member="ipe::Attribute::Attribute" ref="a6b36c5d821c82e33379584c9fc69854e" args="()" -->
119
<div class="memitem">
120
<div class="memproto">
121
<table class="memname">
123
<td class="memname">ipe::Attribute::Attribute </td>
125
<td class="paramname"></td>
126
<td> ) </td>
127
<td><code> [inline, explicit]</code></td>
133
<p>Default constructor. </p>
137
<a class="anchor" id="ad51ce45d9ea3d7c7e7af193701068943"></a><!-- doxytag: member="ipe::Attribute::Attribute" ref="ad51ce45d9ea3d7c7e7af193701068943" args="(bool symbolic, String name)" -->
138
<div class="memitem">
139
<div class="memproto">
140
<table class="memname">
142
<td class="memname">Attribute::Attribute </td>
144
<td class="paramtype">bool </td>
145
<td class="paramname"> <em>symbolic</em>, </td>
148
<td class="paramkey"></td>
150
<td class="paramtype"><a class="el" href="classipe_1_1_string.html">String</a> </td>
151
<td class="paramname"> <em>name</em></td><td> </td>
156
<td></td><td></td><td><code> [explicit]</code></td>
162
<p>Create an attribute with string value. </p>
166
<a class="anchor" id="ad079a2d53c0adc794641839bc2d88125"></a><!-- doxytag: member="ipe::Attribute::Attribute" ref="ad079a2d53c0adc794641839bc2d88125" args="(Fixed value)" -->
167
<div class="memitem">
168
<div class="memproto">
169
<table class="memname">
171
<td class="memname">Attribute::Attribute </td>
173
<td class="paramtype"><a class="el" href="classipe_1_1_fixed.html">Fixed</a> </td>
174
<td class="paramname"> <em>value</em></td>
175
<td> ) </td>
176
<td><code> [explicit]</code></td>
182
<p>Create an absolute numeric attribute. </p>
186
<a class="anchor" id="ad54b1fab2a6199ae55b9350ab54207fe"></a><!-- doxytag: member="ipe::Attribute::Attribute" ref="ad54b1fab2a6199ae55b9350ab54207fe" args="(Color color)" -->
187
<div class="memitem">
188
<div class="memproto">
189
<table class="memname">
191
<td class="memname">Attribute::Attribute </td>
193
<td class="paramtype"><a class="el" href="classipe_1_1_color.html">Color</a> </td>
194
<td class="paramname"> <em>color</em></td>
195
<td> ) </td>
196
<td><code> [explicit]</code></td>
202
<p>Create an attribute with absolute color. </p>
206
<a class="anchor" id="aa0fa149aa9d1929f7e2231b6ca98b5be"></a><!-- doxytag: member="ipe::Attribute::Attribute" ref="aa0fa149aa9d1929f7e2231b6ca98b5be" args="(THorizontalAlignment align)" -->
207
<div class="memitem">
208
<div class="memproto">
209
<table class="memname">
211
<td class="memname">ipe::Attribute::Attribute </td>
213
<td class="paramtype"><a class="el" href="group__attr.html#ga5134c5b92bc4e6806ec02b1f86bc4028">THorizontalAlignment</a> </td>
214
<td class="paramname"> <em>align</em></td>
215
<td> ) </td>
216
<td><code> [inline, explicit]</code></td>
224
<a class="anchor" id="acfcbca4e7eadb42c1ebaf26c648e5df3"></a><!-- doxytag: member="ipe::Attribute::Attribute" ref="acfcbca4e7eadb42c1ebaf26c648e5df3" args="(TVerticalAlignment align)" -->
225
<div class="memitem">
226
<div class="memproto">
227
<table class="memname">
229
<td class="memname">ipe::Attribute::Attribute </td>
231
<td class="paramtype"><a class="el" href="group__attr.html#ga96d6416f5b4f9086ba67ded7c21fdf08">TVerticalAlignment</a> </td>
232
<td class="paramname"> <em>align</em></td>
233
<td> ) </td>
234
<td><code> [inline, explicit]</code></td>
242
<a class="anchor" id="ac194cc336bcaee1d0fa07e0d5df9bab0"></a><!-- doxytag: member="ipe::Attribute::Attribute" ref="ac194cc336bcaee1d0fa07e0d5df9bab0" args="(TLineJoin join)" -->
243
<div class="memitem">
244
<div class="memproto">
245
<table class="memname">
247
<td class="memname">ipe::Attribute::Attribute </td>
249
<td class="paramtype"><a class="el" href="group__attr.html#gae5ab4b7143ab5ed05efcdbe4bbb9dd93">TLineJoin</a> </td>
250
<td class="paramname"> <em>join</em></td>
251
<td> ) </td>
252
<td><code> [inline, explicit]</code></td>
260
<a class="anchor" id="a66c1adc83d043b75a854e254448ca4e5"></a><!-- doxytag: member="ipe::Attribute::Attribute" ref="a66c1adc83d043b75a854e254448ca4e5" args="(TLineCap cap)" -->
261
<div class="memitem">
262
<div class="memproto">
263
<table class="memname">
265
<td class="memname">ipe::Attribute::Attribute </td>
267
<td class="paramtype"><a class="el" href="group__attr.html#ga2a173ffa6945f9033fffd786ada441b5">TLineCap</a> </td>
268
<td class="paramname"> <em>cap</em></td>
269
<td> ) </td>
270
<td><code> [inline, explicit]</code></td>
278
<a class="anchor" id="a6f8fda7843bc809c780d950e84c3991a"></a><!-- doxytag: member="ipe::Attribute::Attribute" ref="a6f8fda7843bc809c780d950e84c3991a" args="(TFillRule rule)" -->
279
<div class="memitem">
280
<div class="memproto">
281
<table class="memname">
283
<td class="memname">ipe::Attribute::Attribute </td>
285
<td class="paramtype"><a class="el" href="group__attr.html#ga4defbee452ac9648e94eee7878214647">TFillRule</a> </td>
286
<td class="paramname"> <em>rule</em></td>
287
<td> ) </td>
288
<td><code> [inline, explicit]</code></td>
296
<a class="anchor" id="a3404b97a7a74bcca1370b0e144bb5c96"></a><!-- doxytag: member="ipe::Attribute::Attribute" ref="a3404b97a7a74bcca1370b0e144bb5c96" args="(TPinned pin)" -->
297
<div class="memitem">
298
<div class="memproto">
299
<table class="memname">
301
<td class="memname">ipe::Attribute::Attribute </td>
303
<td class="paramtype"><a class="el" href="group__attr.html#gac026b82e69974d9eb0f6e83470183eb2">TPinned</a> </td>
304
<td class="paramname"> <em>pin</em></td>
305
<td> ) </td>
306
<td><code> [inline, explicit]</code></td>
314
<a class="anchor" id="a9856a3decdc71cf261abf3a71548aa04"></a><!-- doxytag: member="ipe::Attribute::Attribute" ref="a9856a3decdc71cf261abf3a71548aa04" args="(TTransformations trans)" -->
315
<div class="memitem">
316
<div class="memproto">
317
<table class="memname">
319
<td class="memname">ipe::Attribute::Attribute </td>
321
<td class="paramtype"><a class="el" href="group__attr.html#ga5a80a01d23ba5b6e4f258faead3364c5">TTransformations</a> </td>
322
<td class="paramname"> <em>trans</em></td>
323
<td> ) </td>
324
<td><code> [inline, explicit]</code></td>
332
<a class="anchor" id="a8e6161dae993119a3a763f664b2399fd"></a><!-- doxytag: member="ipe::Attribute::Attribute" ref="a8e6161dae993119a3a763f664b2399fd" args="(TPathMode pm)" -->
333
<div class="memitem">
334
<div class="memproto">
335
<table class="memname">
337
<td class="memname">ipe::Attribute::Attribute </td>
339
<td class="paramtype"><a class="el" href="group__attr.html#ga40b15a8cc8f66dc518621289ed4f1cd6">TPathMode</a> </td>
340
<td class="paramname"> <em>pm</em></td>
341
<td> ) </td>
342
<td><code> [inline, explicit]</code></td>
350
<hr/><h2>Member Function Documentation</h2>
351
<a class="anchor" id="a3bc607f20413446b21a3d54016db02fe"></a><!-- doxytag: member="ipe::Attribute::Boolean" ref="a3bc607f20413446b21a3d54016db02fe" args="(bool flag)" -->
352
<div class="memitem">
353
<div class="memproto">
354
<table class="memname">
356
<td class="memname">static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Attribute::Boolean </td>
358
<td class="paramtype">bool </td>
359
<td class="paramname"> <em>flag</em></td>
360
<td> ) </td>
361
<td><code> [inline, static]</code></td>
369
<a class="anchor" id="a80355449df3995b2d4a1b87c54abb1a3"></a><!-- doxytag: member="ipe::Attribute::isSymbolic" ref="a80355449df3995b2d4a1b87c54abb1a3" args="() const " -->
370
<div class="memitem">
371
<div class="memproto">
372
<table class="memname">
374
<td class="memname">bool ipe::Attribute::isSymbolic </td>
376
<td class="paramname"></td>
377
<td> ) </td>
378
<td> const<code> [inline]</code></td>
384
<p>Is it symbolic? </p>
388
<a class="anchor" id="a4a3b685a5b042c1e03bfa4b33b08302d"></a><!-- doxytag: member="ipe::Attribute::isString" ref="a4a3b685a5b042c1e03bfa4b33b08302d" args="() const " -->
389
<div class="memitem">
390
<div class="memproto">
391
<table class="memname">
393
<td class="memname">bool ipe::Attribute::isString </td>
395
<td class="paramname"></td>
396
<td> ) </td>
397
<td> const<code> [inline]</code></td>
403
<p>Is it an absolute string value? </p>
407
<a class="anchor" id="a37a3bc0cf2ddba087752a476c7d07eff"></a><!-- doxytag: member="ipe::Attribute::isColor" ref="a37a3bc0cf2ddba087752a476c7d07eff" args="() const " -->
408
<div class="memitem">
409
<div class="memproto">
410
<table class="memname">
412
<td class="memname">bool ipe::Attribute::isColor </td>
414
<td class="paramname"></td>
415
<td> ) </td>
416
<td> const<code> [inline]</code></td>
422
<p>Is it a color? </p>
426
<a class="anchor" id="aefe6243adfcc783f54ee8163f69cd016"></a><!-- doxytag: member="ipe::Attribute::isNumber" ref="aefe6243adfcc783f54ee8163f69cd016" args="() const " -->
427
<div class="memitem">
428
<div class="memproto">
429
<table class="memname">
431
<td class="memname">bool ipe::Attribute::isNumber </td>
433
<td class="paramname"></td>
434
<td> ) </td>
435
<td> const<code> [inline]</code></td>
441
<p>Is it a number? </p>
445
<a class="anchor" id="a2f1c282c640a077e8c4f33a474877742"></a><!-- doxytag: member="ipe::Attribute::isEnum" ref="a2f1c282c640a077e8c4f33a474877742" args="() const " -->
446
<div class="memitem">
447
<div class="memproto">
448
<table class="memname">
450
<td class="memname">bool ipe::Attribute::isEnum </td>
452
<td class="paramname"></td>
453
<td> ) </td>
454
<td> const<code> [inline]</code></td>
460
<p>Is it an enumeration? </p>
464
<a class="anchor" id="a7127ae52eea385f668e05e2a5e1467aa"></a><!-- doxytag: member="ipe::Attribute::isBoolean" ref="a7127ae52eea385f668e05e2a5e1467aa" args="() const " -->
465
<div class="memitem">
466
<div class="memproto">
467
<table class="memname">
469
<td class="memname">bool ipe::Attribute::isBoolean </td>
471
<td class="paramname"></td>
472
<td> ) </td>
473
<td> const<code> [inline]</code></td>
479
<p>Is it a boolean? </p>
483
<a class="anchor" id="abe225a60676b1da5e9282067df93e1a6"></a><!-- doxytag: member="ipe::Attribute::isNormal" ref="abe225a60676b1da5e9282067df93e1a6" args="() const " -->
484
<div class="memitem">
485
<div class="memproto">
486
<table class="memname">
488
<td class="memname">bool ipe::Attribute::isNormal </td>
490
<td class="paramname"></td>
491
<td> ) </td>
492
<td> const<code> [inline]</code></td>
498
<p>Is it the symbolic name "normal"? </p>
502
<a class="anchor" id="a70566322d9e073600020924ef9618c31"></a><!-- doxytag: member="ipe::Attribute::index" ref="a70566322d9e073600020924ef9618c31" args="() const " -->
503
<div class="memitem">
504
<div class="memproto">
505
<table class="memname">
507
<td class="memname">int ipe::Attribute::index </td>
509
<td class="paramname"></td>
510
<td> ) </td>
511
<td> const<code> [inline]</code></td>
517
<p>Return index into <a class="el" href="classipe_1_1_repository.html" title="Repository of strings.">Repository</a>. </p>
521
<a class="anchor" id="a0b49fe8c32e2e9ef5a8895144d13215e"></a><!-- doxytag: member="ipe::Attribute::internal" ref="a0b49fe8c32e2e9ef5a8895144d13215e" args="() const " -->
522
<div class="memitem">
523
<div class="memproto">
524
<table class="memname">
526
<td class="memname">int ipe::Attribute::internal </td>
528
<td class="paramname"></td>
529
<td> ) </td>
530
<td> const<code> [inline]</code></td>
538
<a class="anchor" id="a0ec2c91fbac3f326c7bf88ba112954e4"></a><!-- doxytag: member="ipe::Attribute::string" ref="a0ec2c91fbac3f326c7bf88ba112954e4" args="() const " -->
539
<div class="memitem">
540
<div class="memproto">
541
<table class="memname">
543
<td class="memname"><a class="el" href="classipe_1_1_string.html">String</a> Attribute::string </td>
545
<td class="paramname"></td>
546
<td> ) </td>
553
<p>Return string representing the attribute. </p>
557
<a class="anchor" id="aabf1af360e03a70725b30aeb80b33b54"></a><!-- doxytag: member="ipe::Attribute::number" ref="aabf1af360e03a70725b30aeb80b33b54" args="() const " -->
558
<div class="memitem">
559
<div class="memproto">
560
<table class="memname">
562
<td class="memname"><a class="el" href="classipe_1_1_fixed.html">Fixed</a> Attribute::number </td>
564
<td class="paramname"></td>
565
<td> ) </td>
572
<p>Return value of absolute numeric attribute. </p>
576
<a class="anchor" id="a585441870cee664ba79decaf454f3a3b"></a><!-- doxytag: member="ipe::Attribute::color" ref="a585441870cee664ba79decaf454f3a3b" args="() const " -->
577
<div class="memitem">
578
<div class="memproto">
579
<table class="memname">
581
<td class="memname"><a class="el" href="classipe_1_1_color.html">Color</a> Attribute::color </td>
583
<td class="paramname"></td>
584
<td> ) </td>
591
<p>Return absolute color. </p>
595
<a class="anchor" id="a04811fe1a683e727ecf195aa6e01fa32"></a><!-- doxytag: member="ipe::Attribute::boolean" ref="a04811fe1a683e727ecf195aa6e01fa32" args="() const " -->
596
<div class="memitem">
597
<div class="memproto">
598
<table class="memname">
600
<td class="memname">bool ipe::Attribute::boolean </td>
602
<td class="paramname"></td>
603
<td> ) </td>
604
<td> const<code> [inline]</code></td>
612
<a class="anchor" id="ad8f79690923f4bda93f56c50664be269"></a><!-- doxytag: member="ipe::Attribute::horizontalAlignment" ref="ad8f79690923f4bda93f56c50664be269" args="() const " -->
613
<div class="memitem">
614
<div class="memproto">
615
<table class="memname">
617
<td class="memname"><a class="el" href="group__attr.html#ga5134c5b92bc4e6806ec02b1f86bc4028">THorizontalAlignment</a> ipe::Attribute::horizontalAlignment </td>
619
<td class="paramname"></td>
620
<td> ) </td>
621
<td> const<code> [inline]</code></td>
629
<a class="anchor" id="aa29edb745a2c8d13fe1c7b7d6d3dd7f2"></a><!-- doxytag: member="ipe::Attribute::verticalAlignment" ref="aa29edb745a2c8d13fe1c7b7d6d3dd7f2" args="() const " -->
630
<div class="memitem">
631
<div class="memproto">
632
<table class="memname">
634
<td class="memname"><a class="el" href="group__attr.html#ga96d6416f5b4f9086ba67ded7c21fdf08">TVerticalAlignment</a> ipe::Attribute::verticalAlignment </td>
636
<td class="paramname"></td>
637
<td> ) </td>
638
<td> const<code> [inline]</code></td>
646
<a class="anchor" id="a6bf1f14b0fc0cf6d9dd0db085071a67c"></a><!-- doxytag: member="ipe::Attribute::lineJoin" ref="a6bf1f14b0fc0cf6d9dd0db085071a67c" args="() const " -->
647
<div class="memitem">
648
<div class="memproto">
649
<table class="memname">
651
<td class="memname"><a class="el" href="group__attr.html#gae5ab4b7143ab5ed05efcdbe4bbb9dd93">TLineJoin</a> ipe::Attribute::lineJoin </td>
653
<td class="paramname"></td>
654
<td> ) </td>
655
<td> const<code> [inline]</code></td>
663
<a class="anchor" id="a7a7f612d02b7f5ec6c68671509f42d39"></a><!-- doxytag: member="ipe::Attribute::lineCap" ref="a7a7f612d02b7f5ec6c68671509f42d39" args="() const " -->
664
<div class="memitem">
665
<div class="memproto">
666
<table class="memname">
668
<td class="memname"><a class="el" href="group__attr.html#ga2a173ffa6945f9033fffd786ada441b5">TLineCap</a> ipe::Attribute::lineCap </td>
670
<td class="paramname"></td>
671
<td> ) </td>
672
<td> const<code> [inline]</code></td>
680
<a class="anchor" id="aa59cc5a547dcc4052a862c0d63b7aa4f"></a><!-- doxytag: member="ipe::Attribute::fillRule" ref="aa59cc5a547dcc4052a862c0d63b7aa4f" args="() const " -->
681
<div class="memitem">
682
<div class="memproto">
683
<table class="memname">
685
<td class="memname"><a class="el" href="group__attr.html#ga4defbee452ac9648e94eee7878214647">TFillRule</a> ipe::Attribute::fillRule </td>
687
<td class="paramname"></td>
688
<td> ) </td>
689
<td> const<code> [inline]</code></td>
697
<a class="anchor" id="a67be3c606710a7a3558fd295d98dfbd7"></a><!-- doxytag: member="ipe::Attribute::pinned" ref="a67be3c606710a7a3558fd295d98dfbd7" args="() const " -->
698
<div class="memitem">
699
<div class="memproto">
700
<table class="memname">
702
<td class="memname"><a class="el" href="group__attr.html#gac026b82e69974d9eb0f6e83470183eb2">TPinned</a> ipe::Attribute::pinned </td>
704
<td class="paramname"></td>
705
<td> ) </td>
706
<td> const<code> [inline]</code></td>
714
<a class="anchor" id="ac9ec21fe2fb9b490ff6eb1b9e400652b"></a><!-- doxytag: member="ipe::Attribute::transformations" ref="ac9ec21fe2fb9b490ff6eb1b9e400652b" args="() const " -->
715
<div class="memitem">
716
<div class="memproto">
717
<table class="memname">
719
<td class="memname"><a class="el" href="group__attr.html#ga5a80a01d23ba5b6e4f258faead3364c5">TTransformations</a> ipe::Attribute::transformations </td>
721
<td class="paramname"></td>
722
<td> ) </td>
723
<td> const<code> [inline]</code></td>
731
<a class="anchor" id="a2bb4de5060a6146a5d04e34ef0e8db03"></a><!-- doxytag: member="ipe::Attribute::pathMode" ref="a2bb4de5060a6146a5d04e34ef0e8db03" args="() const " -->
732
<div class="memitem">
733
<div class="memproto">
734
<table class="memname">
736
<td class="memname"><a class="el" href="group__attr.html#ga40b15a8cc8f66dc518621289ed4f1cd6">TPathMode</a> ipe::Attribute::pathMode </td>
738
<td class="paramname"></td>
739
<td> ) </td>
740
<td> const<code> [inline]</code></td>
748
<a class="anchor" id="a3d57dc53efe5409d8abad939079963fd"></a><!-- doxytag: member="ipe::Attribute::operator==" ref="a3d57dc53efe5409d8abad939079963fd" args="(const Attribute &rhs) const " -->
749
<div class="memitem">
750
<div class="memproto">
751
<table class="memname">
753
<td class="memname">bool ipe::Attribute::operator== </td>
755
<td class="paramtype">const <a class="el" href="classipe_1_1_attribute.html">Attribute</a> & </td>
756
<td class="paramname"> <em>rhs</em></td>
757
<td> ) </td>
758
<td> const<code> [inline]</code></td>
764
<p>Are two values equal (only compares index!). </p>
768
<a class="anchor" id="a48bf78a316dbac5114d52766f8b44fcb"></a><!-- doxytag: member="ipe::Attribute::operator!=" ref="a48bf78a316dbac5114d52766f8b44fcb" args="(const Attribute &rhs) const " -->
769
<div class="memitem">
770
<div class="memproto">
771
<table class="memname">
773
<td class="memname">bool ipe::Attribute::operator!= </td>
775
<td class="paramtype">const <a class="el" href="classipe_1_1_attribute.html">Attribute</a> & </td>
776
<td class="paramname"> <em>rhs</em></td>
777
<td> ) </td>
778
<td> const<code> [inline]</code></td>
784
<p>Are two values different (only compares index!). </p>
788
<a class="anchor" id="a8c1bbc2f91ad1773f70c1065a98f98b1"></a><!-- doxytag: member="ipe::Attribute::BLACK" ref="a8c1bbc2f91ad1773f70c1065a98f98b1" args="()" -->
789
<div class="memitem">
790
<div class="memproto">
791
<table class="memname">
793
<td class="memname">static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Attribute::BLACK </td>
795
<td class="paramname"></td>
796
<td> ) </td>
797
<td><code> [inline, static]</code></td>
803
<p>Create absolute black color. </p>
807
<a class="anchor" id="a83626c34a811143c6f7415a040fdd1d8"></a><!-- doxytag: member="ipe::Attribute::WHITE" ref="a83626c34a811143c6f7415a040fdd1d8" args="()" -->
808
<div class="memitem">
809
<div class="memproto">
810
<table class="memname">
812
<td class="memname">static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Attribute::WHITE </td>
814
<td class="paramname"></td>
815
<td> ) </td>
816
<td><code> [inline, static]</code></td>
822
<p>Create absolute white color. </p>
826
<a class="anchor" id="ac72d58f8ded5ba68040890d137cb4460"></a><!-- doxytag: member="ipe::Attribute::ONE" ref="ac72d58f8ded5ba68040890d137cb4460" args="()" -->
827
<div class="memitem">
828
<div class="memproto">
829
<table class="memname">
831
<td class="memname">static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Attribute::ONE </td>
833
<td class="paramname"></td>
834
<td> ) </td>
835
<td><code> [inline, static]</code></td>
841
<p>Create absolute number one. </p>
845
<a class="anchor" id="a71bb701d014c2c45062867027d9492c1"></a><!-- doxytag: member="ipe::Attribute::NORMAL" ref="a71bb701d014c2c45062867027d9492c1" args="()" -->
846
<div class="memitem">
847
<div class="memproto">
848
<table class="memname">
850
<td class="memname">static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Attribute::NORMAL </td>
852
<td class="paramname"></td>
853
<td> ) </td>
854
<td><code> [inline, static]</code></td>
860
<p>Create symbolic attribute "normal". </p>
864
<a class="anchor" id="a2143d4e0ed1545614b278f7e8150d6ac"></a><!-- doxytag: member="ipe::Attribute::UNDEFINED" ref="a2143d4e0ed1545614b278f7e8150d6ac" args="()" -->
865
<div class="memitem">
866
<div class="memproto">
867
<table class="memname">
869
<td class="memname">static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Attribute::UNDEFINED </td>
871
<td class="paramname"></td>
872
<td> ) </td>
873
<td><code> [inline, static]</code></td>
879
<p>Create symbolic attribute "undefined". </p>
883
<a class="anchor" id="a596563c47560de0cfc920b9e7a8ae33e"></a><!-- doxytag: member="ipe::Attribute::BACKGROUND" ref="a596563c47560de0cfc920b9e7a8ae33e" args="()" -->
884
<div class="memitem">
885
<div class="memproto">
886
<table class="memname">
888
<td class="memname">static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Attribute::BACKGROUND </td>
890
<td class="paramname"></td>
891
<td> ) </td>
892
<td><code> [inline, static]</code></td>
898
<p>Create symbolic attribute "Background". </p>
902
<a class="anchor" id="a50a8d7f455ecba85846da8077835642c"></a><!-- doxytag: member="ipe::Attribute::SYM_STROKE" ref="a50a8d7f455ecba85846da8077835642c" args="()" -->
903
<div class="memitem">
904
<div class="memproto">
905
<table class="memname">
907
<td class="memname">static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Attribute::SYM_STROKE </td>
909
<td class="paramname"></td>
910
<td> ) </td>
911
<td><code> [inline, static]</code></td>
917
<p>Create symbolic attribute "sym-stroke". </p>
921
<a class="anchor" id="aa5fe71911312bb621b94d2fb4b81ec6b"></a><!-- doxytag: member="ipe::Attribute::SYM_FILL" ref="aa5fe71911312bb621b94d2fb4b81ec6b" args="()" -->
922
<div class="memitem">
923
<div class="memproto">
924
<table class="memname">
926
<td class="memname">static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Attribute::SYM_FILL </td>
928
<td class="paramname"></td>
929
<td> ) </td>
930
<td><code> [inline, static]</code></td>
936
<p>Create symbolic attribute "sym-fill". </p>
940
<a class="anchor" id="abe8089445d6f9b3cfb8330b6f7c5402b"></a><!-- doxytag: member="ipe::Attribute::SYM_PEN" ref="abe8089445d6f9b3cfb8330b6f7c5402b" args="()" -->
941
<div class="memitem">
942
<div class="memproto">
943
<table class="memname">
945
<td class="memname">static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Attribute::SYM_PEN </td>
947
<td class="paramname"></td>
948
<td> ) </td>
949
<td><code> [inline, static]</code></td>
955
<p>Create symbolic attribute "sym-pen". </p>
959
<a class="anchor" id="a65b681f2186882c035d3d5979cde677b"></a><!-- doxytag: member="ipe::Attribute::ARROW_NORMAL" ref="a65b681f2186882c035d3d5979cde677b" args="()" -->
960
<div class="memitem">
961
<div class="memproto">
962
<table class="memname">
964
<td class="memname">static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Attribute::ARROW_NORMAL </td>
966
<td class="paramname"></td>
967
<td> ) </td>
968
<td><code> [inline, static]</code></td>
974
<p>Create symbolic attribute "arrow/normal(spx)". </p>
978
<a class="anchor" id="a2232b59ecef20667a1af6b707808719b"></a><!-- doxytag: member="ipe::Attribute::OPAQUE" ref="a2232b59ecef20667a1af6b707808719b" args="()" -->
979
<div class="memitem">
980
<div class="memproto">
981
<table class="memname">
983
<td class="memname">static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Attribute::OPAQUE </td>
985
<td class="paramname"></td>
986
<td> ) </td>
987
<td><code> [inline, static]</code></td>
993
<p>Create symbolic attribute "opaque". </p>
997
<a class="anchor" id="a790e2ffa62d3b8e66929f351812c85b6"></a><!-- doxytag: member="ipe::Attribute::ARROW_ARC" ref="a790e2ffa62d3b8e66929f351812c85b6" args="()" -->
998
<div class="memitem">
999
<div class="memproto">
1000
<table class="memname">
1002
<td class="memname">static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Attribute::ARROW_ARC </td>
1004
<td class="paramname"></td>
1005
<td> ) </td>
1006
<td><code> [inline, static]</code></td>
1010
<div class="memdoc">
1012
<p>Create symbolic attribute "arrow/arc(spx)". </p>
1016
<a class="anchor" id="a55b981ed60c163c61373c238971adbd9"></a><!-- doxytag: member="ipe::Attribute::ARROW_FARC" ref="a55b981ed60c163c61373c238971adbd9" args="()" -->
1017
<div class="memitem">
1018
<div class="memproto">
1019
<table class="memname">
1021
<td class="memname">static <a class="el" href="classipe_1_1_attribute.html">Attribute</a> ipe::Attribute::ARROW_FARC </td>
1023
<td class="paramname"></td>
1024
<td> ) </td>
1025
<td><code> [inline, static]</code></td>
1029
<div class="memdoc">
1031
<p>Create symbolic attribute "arrow/farc(spx)". </p>
1035
<a class="anchor" id="a3fe2d6e8882b795495ce99859453e448"></a><!-- doxytag: member="ipe::Attribute::makeColor" ref="a3fe2d6e8882b795495ce99859453e448" args="(String str, Attribute deflt)" -->
1036
<div class="memitem">
1037
<div class="memproto">
1038
<table class="memname">
1040
<td class="memname"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> Attribute::makeColor </td>
1042
<td class="paramtype"><a class="el" href="classipe_1_1_string.html">String</a> </td>
1043
<td class="paramname"> <em>str</em>, </td>
1046
<td class="paramkey"></td>
1048
<td class="paramtype"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> </td>
1049
<td class="paramname"> <em>deflt</em></td><td> </td>
1054
<td></td><td></td><td><code> [static]</code></td>
1058
<div class="memdoc">
1060
<p>Make a color attribute. </p>
1061
<p>If the string starts with a letter, make a symbolic attribute. Otherwise, it's either a single gray value (0.0 to 1.0), or the three red, green, and blue components, separated by spaces. If it's an empty string, return <em>deflt</em>. </p>
1065
<a class="anchor" id="a1f26b25b54114b1303f991be5e5a82dc"></a><!-- doxytag: member="ipe::Attribute::makeScalar" ref="a1f26b25b54114b1303f991be5e5a82dc" args="(String str, Attribute deflt)" -->
1066
<div class="memitem">
1067
<div class="memproto">
1068
<table class="memname">
1070
<td class="memname"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> Attribute::makeScalar </td>
1072
<td class="paramtype"><a class="el" href="classipe_1_1_string.html">String</a> </td>
1073
<td class="paramname"> <em>str</em>, </td>
1076
<td class="paramkey"></td>
1078
<td class="paramtype"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> </td>
1079
<td class="paramname"> <em>deflt</em></td><td> </td>
1084
<td></td><td></td><td><code> [static]</code></td>
1088
<div class="memdoc">
1090
<p>Make a scalar attribute. </p>
1091
<p>If <em>str</em> is empty, simply return <em>deflt</em>. If <em>str</em> starts with a letter, make a symbolic attribute. Otherwise, must be a number. </p>
1095
<a class="anchor" id="a414d6dacb48175baf0da905b6c170797"></a><!-- doxytag: member="ipe::Attribute::makeDashStyle" ref="a414d6dacb48175baf0da905b6c170797" args="(String str)" -->
1096
<div class="memitem">
1097
<div class="memproto">
1098
<table class="memname">
1100
<td class="memname"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> Attribute::makeDashStyle </td>
1102
<td class="paramtype"><a class="el" href="classipe_1_1_string.html">String</a> </td>
1103
<td class="paramname"> <em>str</em></td>
1104
<td> ) </td>
1105
<td><code> [static]</code></td>
1109
<div class="memdoc">
1111
<p>Construct dash style attribute from string. </p>
1112
<p>Strings starting with '[' create an absolute dash style. The empty string is equivalent to 'normal'. Any other string creates a symbolic dash style. </p>
1116
<a class="anchor" id="a21a82439083a4d05111a75c361336197"></a><!-- doxytag: member="ipe::Attribute::makeTextSize" ref="a21a82439083a4d05111a75c361336197" args="(String str)" -->
1117
<div class="memitem">
1118
<div class="memproto">
1119
<table class="memname">
1121
<td class="memname"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> Attribute::makeTextSize </td>
1123
<td class="paramtype"><a class="el" href="classipe_1_1_string.html">String</a> </td>
1124
<td class="paramname"> <em>str</em></td>
1125
<td> ) </td>
1126
<td><code> [static]</code></td>
1130
<div class="memdoc">
1132
<p>Construct text size attribute from string. </p>
1133
<p><a class="el" href="classipe_1_1_string.html" title="Strings and buffers.">String</a> starting with digit creates a numeric absolute value, string starting with letter creates symbolic text size, anything else creates absolute (string) text size. The empty string is treated like "normal". </p>
1137
<a class="anchor" id="a4a6e58b5f73eec649c141d553b1e4ac5"></a><!-- doxytag: member="ipe::Attribute::normal" ref="a4a6e58b5f73eec649c141d553b1e4ac5" args="(Kind kind)" -->
1138
<div class="memitem">
1139
<div class="memproto">
1140
<table class="memname">
1142
<td class="memname"><a class="el" href="classipe_1_1_attribute.html">Attribute</a> Attribute::normal </td>
1144
<td class="paramtype"><a class="el" href="group__attr.html#ga4687dc25ac49588fa3b339079972944a">Kind</a> </td>
1145
<td class="paramname"> <em>kind</em></td>
1146
<td> ) </td>
1147
<td><code> [static]</code></td>
1151
<div class="memdoc">
1153
<p>Return a standard value for attribute of <em>kind</em>. </p>
1154
<p>The value is used if the stylesheet doesn't define a symbolic attribute used in the document. </p>
1158
<hr/><h2>Friends And Related Function Documentation</h2>
1159
<a class="anchor" id="a99c4575bea5979a86289d068bbbe614c"></a><!-- doxytag: member="ipe::Attribute::StyleSheet" ref="a99c4575bea5979a86289d068bbbe614c" args="" -->
1160
<div class="memitem">
1161
<div class="memproto">
1162
<table class="memname">
1164
<td class="memname">friend class <a class="el" href="classipe_1_1_style_sheet.html">StyleSheet</a><code> [friend]</code></td>
1168
<div class="memdoc">
1172
<hr/>The documentation for this class was generated from the following files:<ul>
1173
<li>ipeattributes.h</li>
1174
<li>ipeattributes.cpp</li>