File: class_ipe_color.html

package info (click to toggle)
ipe 6.0pre30-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 5,100 kB
  • ctags: 5,419
  • sloc: cpp: 30,430; ansic: 1,045; xml: 845; makefile: 78; sh: 5
file content (153 lines) | stat: -rw-r--r-- 5,815 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Ipelib: IpeColor Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li id="current"><a href="annotated.html"><span>Classes</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul></div>
<h1>IpeColor Class Reference<br>
<small>
[<a class="el" href="group__attr.html">Ipe Attributes</a>]</small>
</h1><!-- doxytag: class="IpeColor" -->An absolute RGB color.  
<a href="#_details">More...</a>
<p>
<a href="class_ipe_color-members.html">List of all members.</a><h2>Public Member Functions</h2>
<ul>
<li><a class="el" href="class_ipe_color.html#e9b751d3f9c0d0d924192ac9bdb0be66">IpeColor</a> ()
<li><a class="el" href="class_ipe_color.html#37eda3e2127d9a6ff2f81f3ea4aca1c8">IpeColor</a> (double red, double green, double blue)
<li>void <a class="el" href="class_ipe_color.html#c3541bc1642bdfe600ed998d3dc3e6d4">Save</a> (<a class="el" href="class_ipe_stream.html">IpeStream</a> &amp;stream) const
<li>bool <a class="el" href="class_ipe_color.html#3cee9adba38ce49134e1f98cbdc631aa">IsGray</a> () const
<li><a class="anchor" name="c4274b4df0fd0c52b98ed31b2264a765"></a><!-- doxytag: member="IpeColor::operator==" ref="c4274b4df0fd0c52b98ed31b2264a765" args="(const IpeColor &amp;rhs) const " -->
bool <b>operator==</b> (const <a class="el" href="class_ipe_color.html">IpeColor</a> &amp;rhs) const 
</ul>
<h2>Public Attributes</h2>
<ul>
<li><a class="anchor" name="cddcebe80fdf8a20576daaed14c70333"></a><!-- doxytag: member="IpeColor::iRed" ref="cddcebe80fdf8a20576daaed14c70333" args="" -->
double <b>iRed</b>
<li><a class="anchor" name="3a38b39007c44222d6ffd11e7d92cb53"></a><!-- doxytag: member="IpeColor::iGreen" ref="3a38b39007c44222d6ffd11e7d92cb53" args="" -->
double <b>iGreen</b>
<li><a class="anchor" name="ca63d1c32f3f2015ce0ae2c8c2884795"></a><!-- doxytag: member="IpeColor::iBlue" ref="ca63d1c32f3f2015ce0ae2c8c2884795" args="" -->
double <b>iBlue</b>
</ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
An absolute RGB color. 
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="e9b751d3f9c0d0d924192ac9bdb0be66"></a><!-- doxytag: member="IpeColor::IpeColor" ref="e9b751d3f9c0d0d924192ac9bdb0be66" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IpeColor::IpeColor           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Default constructor. 
<p>

</div>
</div><p>
<a class="anchor" name="37eda3e2127d9a6ff2f81f3ea4aca1c8"></a><!-- doxytag: member="IpeColor::IpeColor" ref="37eda3e2127d9a6ff2f81f3ea4aca1c8" args="(double red, double green, double blue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IpeColor::IpeColor           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>red</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>green</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>blue</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Construct a color. 
<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="c3541bc1642bdfe600ed998d3dc3e6d4"></a><!-- doxytag: member="IpeColor::Save" ref="c3541bc1642bdfe600ed998d3dc3e6d4" args="(IpeStream &amp;stream) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IpeColor::Save           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_ipe_stream.html">IpeStream</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>stream</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Save to stream. 
<p>

</div>
</div><p>
<a class="anchor" name="3cee9adba38ce49134e1f98cbdc631aa"></a><!-- doxytag: member="IpeColor::IsGray" ref="3cee9adba38ce49134e1f98cbdc631aa" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IpeColor::IsGray           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Is it an absolute gray value? 
<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li>ipecolor.h<li>ipecolor.cpp</ul>
<hr>
</body></html>