3
3
<title>Ipelib: IpeLayer class Reference</title>
4
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
6
<!-- Generated by Doxygen 1.3.4 -->
6
<!-- Generated by Doxygen 1.3.6 -->
7
7
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="functions.html">Class Members</a></div>
8
8
<h1>IpeLayer Class Reference<br>
14
14
<a href="class_ipe_layer-members.html">List of all members.</a><h2>Public Types</h2>
16
<li>enum { <b>EHidden</b> = 0x01,
18
<b>ELocked</b> = 0x04,
19
<b>ENoSnapping</b> = 0x08
16
<li>enum { <b>EDim</b> = 0x01,
17
<b>ELocked</b> = 0x02,
18
<b>ENoSnapping</b> = 0x04
22
21
<h2>Public Member Functions</h2>
24
23
<li><a class="el" href="class_ipe_layer.html#a0">IpeLayer</a> (<a class="el" href="class_ipe_string.html">IpeString</a> name)
25
<li><a class="el" href="class_ipe_layer.html#a1">IpeLayer</a> (const <a class="el" href="class_ipe_xml_attributes.html">IpeXmlAttributes</a> &attr)
24
<li><a class="el" href="class_ipe_layer.html#a1">IpeLayer</a> (const <a class="el" href="class_ipe_xml_attributes.html">IpeXmlAttributes</a> &attr)
26
25
<li>void <a class="el" href="class_ipe_layer.html#a2">SaveAsXml</a> (<a class="el" href="class_ipe_stream.html">IpeStream</a> &stream) const
27
26
<li><a class="el" href="class_ipe_string.html">IpeString</a> <a class="el" href="class_ipe_layer.html#a3">Name</a> () const
28
<li>void <a class="el" href="class_ipe_layer.html#a4">SetName</a> (const <a class="el" href="class_ipe_string.html">IpeString</a> &name)
29
<li>bool <a class="el" href="class_ipe_layer.html#a5">IsVisible</a> () const
30
<li>bool <a class="el" href="class_ipe_layer.html#a6">IsDimmed</a> () const
31
<li>bool <a class="el" href="class_ipe_layer.html#a7">IsLocked</a> () const
32
<li>bool <a class="el" href="class_ipe_layer.html#a8">IsSnapping</a> () const
33
<li>void <a class="el" href="class_ipe_layer.html#a9">SetVisible</a> (bool flag)
34
<li>void <a class="el" href="class_ipe_layer.html#a10">SetDimmed</a> (bool flag)
35
<li>void <a class="el" href="class_ipe_layer.html#a11">SetLocked</a> (bool flag)
36
<li>void <a class="el" href="class_ipe_layer.html#a12">SetSnapping</a> (bool flag)
27
<li>void <a class="el" href="class_ipe_layer.html#a4">SetName</a> (const <a class="el" href="class_ipe_string.html">IpeString</a> &name)
28
<li>bool <a class="el" href="class_ipe_layer.html#a5">IsDimmed</a> () const
29
<li>bool <a class="el" href="class_ipe_layer.html#a6">IsLocked</a> () const
30
<li>bool <a class="el" href="class_ipe_layer.html#a7">IsSnapping</a> () const
31
<li>void <a class="el" href="class_ipe_layer.html#a8">SetDimmed</a> (bool flag)
32
<li>void <a class="el" href="class_ipe_layer.html#a9">SetLocked</a> (bool flag)
33
<li>void <a class="el" href="class_ipe_layer.html#a10">SetSnapping</a> (bool flag)
38
35
<h2>Public Attributes</h2>
51
48
<li>They may be editable or locked. Objects in a locked layer cannot be selected, and a locked layer cannot be made active in the Ipe UI. This more or less means that the contents of such a layer cannot be modified---but that's a consequence of the UI, Ipelib contains no special handling of locked layers.</li></ul>
54
<li>A layer may be visible, invisible, or dimmed.</li></ul>
51
<li>A layer may be dimmed.</li></ul>
57
54
<li>A layer may have snapping on or off---objects will behave magnetically only if their layer has snapping on.</li></ul>
217
<a class="anchor" name="a5" doxytag="IpeLayer::IsVisible" ></a><p>
218
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
221
<table cellpadding="0" cellspacing="0" border="0">
223
<td class="md" nowrap valign="top"> bool IpeLayer::IsVisible </td>
224
<td class="md" valign="top">( </td>
225
<td class="mdname1" valign="top" nowrap> </td>
226
<td class="md" valign="top"> ) </td>
227
<td class="md" nowrap> const<code> [inline]</code></td>
234
<table cellspacing=5 cellpadding=0 border=0>
247
<a class="anchor" name="a6" doxytag="IpeLayer::IsDimmed" ></a><p>
214
<a class="anchor" name="a5" doxytag="IpeLayer::IsDimmed" ></a><p>
248
215
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
250
217
<td class="mdRow">
337
<a class="anchor" name="a9" doxytag="IpeLayer::SetVisible" ></a><p>
338
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
341
<table cellpadding="0" cellspacing="0" border="0">
343
<td class="md" nowrap valign="top"> void IpeLayer::SetVisible </td>
344
<td class="md" valign="top">( </td>
345
<td class="md" nowrap valign="top">bool </td>
346
<td class="mdname1" valign="top" nowrap> <em>flag</em> </td>
347
<td class="md" valign="top"> ) </td>
348
<td class="md" nowrap></td>
355
<table cellspacing=5 cellpadding=0 border=0>
368
<a class="anchor" name="a10" doxytag="IpeLayer::SetDimmed" ></a><p>
304
<a class="anchor" name="a8" doxytag="IpeLayer::SetDimmed" ></a><p>
369
305
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
371
307
<td class="mdRow">