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::Gradient Struct 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="structipe_1_1_gradient.html">Gradient</a>
30
<div class="contents">
31
<h1>ipe::Gradient Struct Reference<br/>
33
[<a class="el" href="group__attr.html">Ipe Attributes</a>]</small>
34
</h1><!-- doxytag: class="ipe::Gradient" -->
35
<p>A gradient pattern.
36
<a href="#_details">More...</a></p>
38
<p><code>#include <ipeattributes.h></code></p>
40
<p><a href="structipe_1_1_gradient-members.html">List of all members.</a></p>
43
<li>struct <a class="el" href="structipe_1_1_gradient_1_1_stop.html">Stop</a>
44
<dl class="el"><dd class="mdescRight">A color stop. <a href="structipe_1_1_gradient_1_1_stop.html#_details">More...</a><br/></dl></ul>
47
<li>enum <a class="el" href="structipe_1_1_gradient.html#a767c234519830f78c682cda8d07e6062">TType</a> { <a class="el" href="structipe_1_1_gradient.html#a767c234519830f78c682cda8d07e6062ad5c50b716f181c54cd3a6b1bf1a681f8">EAxial</a> = 2,
48
<a class="el" href="structipe_1_1_gradient.html#a767c234519830f78c682cda8d07e6062ad07337e82d0090b1176473b87711c450">ERadial</a> = 3
51
<h2>Public Attributes</h2>
53
<li><a class="el" href="structipe_1_1_gradient.html#a767c234519830f78c682cda8d07e6062">TType</a> <a class="el" href="structipe_1_1_gradient.html#a5640f2e464d8774ea61fe174a55a6179">iType</a>
54
<li><a class="el" href="classipe_1_1_vector.html">Vector</a> <a class="el" href="structipe_1_1_gradient.html#a51c6070b39b871824d39779db067c759">iV</a> [2]
55
<li>double <a class="el" href="structipe_1_1_gradient.html#a2255086d8e12bcdc500f401a90fe59d4">iRadius</a> [2]
56
<li>bool <a class="el" href="structipe_1_1_gradient.html#a00a5a2f5a6356ac2976586b68a90be26">iExtend</a>
57
<li><a class="el" href="classipe_1_1_matrix.html">Matrix</a> <a class="el" href="structipe_1_1_gradient.html#ac74b4a81c7ab1d0eec4a07cbaa5169af">iMatrix</a>
58
<li>std::vector< <a class="el" href="structipe_1_1_gradient_1_1_stop.html">Stop</a> > <a class="el" href="structipe_1_1_gradient.html#a66dfd0ead1956325bbbbc1e6232e271e">iStops</a>
60
<hr/><a name="_details"></a><h2>Detailed Description</h2>
61
<p>A gradient pattern. </p>
62
<hr/><h2>Member Enumeration Documentation</h2>
63
<a class="anchor" id="a767c234519830f78c682cda8d07e6062"></a><!-- doxytag: member="ipe::Gradient::TType" ref="a767c234519830f78c682cda8d07e6062" args="" -->
65
<div class="memproto">
66
<table class="memname">
68
<td class="memname">enum <a class="el" href="structipe_1_1_gradient.html#a767c234519830f78c682cda8d07e6062">ipe::Gradient::TType</a></td>
74
<p>There are two types of gradients, along an axis or between two circles. </p>
75
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
76
<tr><td valign="top"><em><a class="anchor" id="a767c234519830f78c682cda8d07e6062ad5c50b716f181c54cd3a6b1bf1a681f8"></a><!-- doxytag: member="EAxial" ref="a767c234519830f78c682cda8d07e6062ad5c50b716f181c54cd3a6b1bf1a681f8" args="" -->EAxial</em> </td><td>
78
<tr><td valign="top"><em><a class="anchor" id="a767c234519830f78c682cda8d07e6062ad07337e82d0090b1176473b87711c450"></a><!-- doxytag: member="ERadial" ref="a767c234519830f78c682cda8d07e6062ad07337e82d0090b1176473b87711c450" args="" -->ERadial</em> </td><td>
86
<hr/><h2>Member Data Documentation</h2>
87
<a class="anchor" id="a5640f2e464d8774ea61fe174a55a6179"></a><!-- doxytag: member="ipe::Gradient::iType" ref="a5640f2e464d8774ea61fe174a55a6179" args="" -->
89
<div class="memproto">
90
<table class="memname">
92
<td class="memname"><a class="el" href="structipe_1_1_gradient.html#a767c234519830f78c682cda8d07e6062">TType</a> <a class="el" href="structipe_1_1_gradient.html#a5640f2e464d8774ea61fe174a55a6179">ipe::Gradient::iType</a></td>
98
<p>The type of gradient: axial or radial. </p>
102
<a class="anchor" id="a51c6070b39b871824d39779db067c759"></a><!-- doxytag: member="ipe::Gradient::iV" ref="a51c6070b39b871824d39779db067c759" args="[2]" -->
103
<div class="memitem">
104
<div class="memproto">
105
<table class="memname">
107
<td class="memname"><a class="el" href="classipe_1_1_vector.html">Vector</a> <a class="el" href="structipe_1_1_gradient.html#a51c6070b39b871824d39779db067c759">ipe::Gradient::iV</a>[2]</td>
113
<p>The coordinates of the axis endpoints, or the two circle centers. </p>
117
<a class="anchor" id="a2255086d8e12bcdc500f401a90fe59d4"></a><!-- doxytag: member="ipe::Gradient::iRadius" ref="a2255086d8e12bcdc500f401a90fe59d4" args="[2]" -->
118
<div class="memitem">
119
<div class="memproto">
120
<table class="memname">
122
<td class="memname">double <a class="el" href="structipe_1_1_gradient.html#a2255086d8e12bcdc500f401a90fe59d4">ipe::Gradient::iRadius</a>[2]</td>
128
<p>The radii of the two circles (not used for axial gradients). </p>
132
<a class="anchor" id="a00a5a2f5a6356ac2976586b68a90be26"></a><!-- doxytag: member="ipe::Gradient::iExtend" ref="a00a5a2f5a6356ac2976586b68a90be26" args="" -->
133
<div class="memitem">
134
<div class="memproto">
135
<table class="memname">
137
<td class="memname">bool <a class="el" href="structipe_1_1_gradient.html#a00a5a2f5a6356ac2976586b68a90be26">ipe::Gradient::iExtend</a></td>
143
<p>Whether to extend the gradient beyond the endpoints. </p>
147
<a class="anchor" id="ac74b4a81c7ab1d0eec4a07cbaa5169af"></a><!-- doxytag: member="ipe::Gradient::iMatrix" ref="ac74b4a81c7ab1d0eec4a07cbaa5169af" args="" -->
148
<div class="memitem">
149
<div class="memproto">
150
<table class="memname">
152
<td class="memname"><a class="el" href="classipe_1_1_matrix.html">Matrix</a> <a class="el" href="structipe_1_1_gradient.html#ac74b4a81c7ab1d0eec4a07cbaa5169af">ipe::Gradient::iMatrix</a></td>
158
<p><a class="el" href="structipe_1_1_gradient.html" title="A gradient pattern.">Gradient</a> transformation. </p>
162
<a class="anchor" id="a66dfd0ead1956325bbbbc1e6232e271e"></a><!-- doxytag: member="ipe::Gradient::iStops" ref="a66dfd0ead1956325bbbbc1e6232e271e" args="" -->
163
<div class="memitem">
164
<div class="memproto">
165
<table class="memname">
167
<td class="memname">std::vector<<a class="el" href="structipe_1_1_gradient_1_1_stop.html">Stop</a>> <a class="el" href="structipe_1_1_gradient.html#a66dfd0ead1956325bbbbc1e6232e271e">ipe::Gradient::iStops</a></td>
173
<p>The color stops. </p>
177
<hr/>The documentation for this struct was generated from the following file:<ul>
178
<li>ipeattributes.h</li>