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>Qanava: qan::can::AdvStyle::Color Class Reference
</title>
4 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css">
6 <!-- Generated by Doxygen 1.4.3 -->
7 <div class=
"qindex"><a class=
"qindex" href=
"index.html">Main
Page
</a> |
<a class=
"qindex" href=
"namespaces.html">Namespace List
</a> |
<a class=
"qindex" href=
"hierarchy.html">Class
Hierarchy
</a> |
<a class=
"qindex" href=
"annotated.html">Class
List
</a> |
<a class=
"qindex" href=
"dirs.html">Directories
</a> |
<a class=
"qindex" href=
"files.html">File
List
</a> |
<a class=
"qindex" href=
"functions.html">Class
Members
</a> |
<a class=
"qindex" href=
"globals.html">File
Members
</a> |
<a class=
"qindex" href=
"pages.html">Related
Pages
</a></div>
9 <a class=
"el" href=
"namespaceqan.html">qan
</a>::
<a class=
"el" href=
"namespaceqan_1_1can.html">can
</a>::
<a class=
"el" href=
"classqan_1_1can_1_1_adv_style.html">AdvStyle
</a>::
<a class=
"el" href=
"classqan_1_1can_1_1_adv_style_1_1_color.html">Color
</a></div>
10 <h1>qan::can::AdvStyle::Color Class Reference
</h1><!-- doxytag: class=<qan::can::AdvStyle::Color> --><!-- doxytag: inherits=<qan::can::AdvStyle::Attribute> -->Model an RGB color attribute.
11 <a href=
"#_details">More...
</a>
13 <code>#include
<canAdvStyle.h
></code>
15 Inherits
<a class=
"el" href=
"classqan_1_1can_1_1_adv_style_1_1_attribute.html">qan::can::AdvStyle::Attribute
</a>.
17 Inheritance diagram for qan::can::AdvStyle::Color:
<p><center><img src=
"classqan_1_1can_1_1_adv_style_1_1_color__inherit__graph.png" border=
"0" usemap=
"#qan_1_1can_1_1_adv_style_1_1_color__inherit__map" alt=
"Inheritance graph"></center>
18 <map name=
"qan_1_1can_1_1_adv_style_1_1_color__inherit__map">
19 <area href=
"classqan_1_1can_1_1_adv_style_1_1_attribute.html" shape=
"rect" coords=
"8,7,200,34" alt=
"">
21 <center><font size=
"2">[
<a href=
"graph_legend.html">legend
</a>]
</font></center>Collaboration diagram for qan::can::AdvStyle::Color:
<p><center><img src=
"classqan_1_1can_1_1_adv_style_1_1_color__coll__graph.png" border=
"0" usemap=
"#qan_1_1can_1_1_adv_style_1_1_color__coll__map" alt=
"Collaboration graph"></center>
22 <map name=
"qan_1_1can_1_1_adv_style_1_1_color__coll__map">
23 <area href=
"classqan_1_1can_1_1_adv_style_1_1_attribute.html" shape=
"rect" coords=
"8,7,200,34" alt=
"">
25 <center><font size=
"2">[
<a href=
"graph_legend.html">legend
</a>]
</font></center><a href=
"classqan_1_1can_1_1_adv_style_1_1_color-members.html">List of all members.
</a><table border=
"0" cellpadding=
"0" cellspacing=
"0">
27 <tr><td colspan=
"2"><br><h2>Public Member Functions
</h2></td></tr>
28 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top"> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_adv_style_1_1_color.html#a0">Color
</a> (const std::string
&name, int r, int g, int b)
</td></tr>
30 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top"> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_adv_style_1_1_color.html#a1">Color
</a> (const
<a class=
"el" href=
"classqan_1_1can_1_1_adv_style_1_1_color.html">Color
</a> &color)
</td></tr>
32 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">void
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_adv_style_1_1_color.html#a2">setRgb
</a> (int r, int g, int b)
</td></tr>
34 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">int
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_adv_style_1_1_color.html#a3">getR
</a> () const
</td></tr>
36 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">int
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_adv_style_1_1_color.html#a4">getG
</a> () const
</td></tr>
38 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">int
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_adv_style_1_1_color.html#a5">getB
</a> () const
</td></tr>
40 <tr><td colspan=
"2"><br><h2>Protected Attributes
</h2></td></tr>
41 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">int
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_adv_style_1_1_color.html#p0">_r
</a></td></tr>
43 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">int
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_adv_style_1_1_color.html#p1">_g
</a></td></tr>
45 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">int
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"classqan_1_1can_1_1_adv_style_1_1_color.html#p2">_b
</a></td></tr>
48 <hr><a name=
"_details"></a><h2>Detailed Description
</h2>
49 Model an RGB color attribute.
51 <hr><h2>Constructor
& Destructor Documentation
</h2>
52 <a class=
"anchor" name=
"a0"></a><!-- doxytag: member=<qan::can::AdvStyle::Color::Color> ref=<a0> args=<(const std::string &name, int r, int g, int b)> --><p>
53 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
56 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
58 <td class=
"md" nowrap
valign=
"top">qan::can::AdvStyle::Color::Color
</td>
59 <td class=
"md" valign=
"top">(
</td>
60 <td class=
"md" nowrap
valign=
"top">const std::string
& </td>
61 <td class=
"mdname" nowrap
> <em>name
</em>,
</td>
64 <td class=
"md" nowrap
align=
"right"></td>
66 <td class=
"md" nowrap
>int
</td>
67 <td class=
"mdname" nowrap
> <em>r
</em>,
</td>
70 <td class=
"md" nowrap
align=
"right"></td>
72 <td class=
"md" nowrap
>int
</td>
73 <td class=
"mdname" nowrap
> <em>g
</em>,
</td>
76 <td class=
"md" nowrap
align=
"right"></td>
78 <td class=
"md" nowrap
>int
</td>
79 <td class=
"mdname" nowrap
> <em>b
</em></td>
83 <td class=
"md">)
</td>
84 <td class=
"md" colspan=
"2"><code> [inline]
</code></td>
90 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
101 <a class=
"anchor" name=
"a1"></a><!-- doxytag: member=<qan::can::AdvStyle::Color::Color> ref=<a1> args=<(const Color &color)> --><p>
102 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
105 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
107 <td class=
"md" nowrap
valign=
"top">qan::can::AdvStyle::Color::Color
</td>
108 <td class=
"md" valign=
"top">(
</td>
109 <td class=
"md" nowrap
valign=
"top">const
<a class=
"el" href=
"classqan_1_1can_1_1_adv_style_1_1_color.html">Color
</a> & </td>
110 <td class=
"mdname1" valign=
"top" nowrap
> <em>color
</em> </td>
111 <td class=
"md" valign=
"top"> )
</td>
112 <td class=
"md" nowrap
><code> [inline]
</code></td>
118 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
129 <hr><h2>Member Function Documentation
</h2>
130 <a class=
"anchor" name=
"a5"></a><!-- doxytag: member=<qan::can::AdvStyle::Color::getB> ref=<a5> args=<() const > --><p>
131 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
134 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
136 <td class=
"md" nowrap
valign=
"top">int qan::can::AdvStyle::Color::getB
</td>
137 <td class=
"md" valign=
"top">(
</td>
138 <td class=
"mdname1" valign=
"top" nowrap
> </td>
139 <td class=
"md" valign=
"top"> )
</td>
140 <td class=
"md" nowrap
> const
<code> [inline]
</code></td>
146 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
157 <a class=
"anchor" name=
"a4"></a><!-- doxytag: member=<qan::can::AdvStyle::Color::getG> ref=<a4> args=<() const > --><p>
158 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
161 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
163 <td class=
"md" nowrap
valign=
"top">int qan::can::AdvStyle::Color::getG
</td>
164 <td class=
"md" valign=
"top">(
</td>
165 <td class=
"mdname1" valign=
"top" nowrap
> </td>
166 <td class=
"md" valign=
"top"> )
</td>
167 <td class=
"md" nowrap
> const
<code> [inline]
</code></td>
173 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
184 <a class=
"anchor" name=
"a3"></a><!-- doxytag: member=<qan::can::AdvStyle::Color::getR> ref=<a3> args=<() const > --><p>
185 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
188 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
190 <td class=
"md" nowrap
valign=
"top">int qan::can::AdvStyle::Color::getR
</td>
191 <td class=
"md" valign=
"top">(
</td>
192 <td class=
"mdname1" valign=
"top" nowrap
> </td>
193 <td class=
"md" valign=
"top"> )
</td>
194 <td class=
"md" nowrap
> const
<code> [inline]
</code></td>
200 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
211 <a class=
"anchor" name=
"a2"></a><!-- doxytag: member=<qan::can::AdvStyle::Color::setRgb> ref=<a2> args=<(int r, int g, int b)> --><p>
212 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
215 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
217 <td class=
"md" nowrap
valign=
"top">void qan::can::AdvStyle::Color::setRgb
</td>
218 <td class=
"md" valign=
"top">(
</td>
219 <td class=
"md" nowrap
valign=
"top">int
</td>
220 <td class=
"mdname" nowrap
> <em>r
</em>,
</td>
223 <td class=
"md" nowrap
align=
"right"></td>
225 <td class=
"md" nowrap
>int
</td>
226 <td class=
"mdname" nowrap
> <em>g
</em>,
</td>
229 <td class=
"md" nowrap
align=
"right"></td>
231 <td class=
"md" nowrap
>int
</td>
232 <td class=
"mdname" nowrap
> <em>b
</em></td>
236 <td class=
"md">)
</td>
237 <td class=
"md" colspan=
"2"><code> [inline]
</code></td>
243 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
254 <hr><h2>Member Data Documentation
</h2>
255 <a class=
"anchor" name=
"p2"></a><!-- doxytag: member=<qan::can::AdvStyle::Color::_b> ref=<p2> args=<> --><p>
256 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
259 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
261 <td class=
"md" nowrap
valign=
"top">int
<a class=
"el" href=
"classqan_1_1can_1_1_adv_style_1_1_color.html#p2">qan::can::AdvStyle::Color::_b
</a><code> [protected]
</code> </td>
267 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
278 <a class=
"anchor" name=
"p1"></a><!-- doxytag: member=<qan::can::AdvStyle::Color::_g> ref=<p1> args=<> --><p>
279 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
282 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
284 <td class=
"md" nowrap
valign=
"top">int
<a class=
"el" href=
"classqan_1_1can_1_1_adv_style_1_1_color.html#p1">qan::can::AdvStyle::Color::_g
</a><code> [protected]
</code> </td>
290 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
301 <a class=
"anchor" name=
"p0"></a><!-- doxytag: member=<qan::can::AdvStyle::Color::_r> ref=<p0> args=<> --><p>
302 <table class=
"mdTable" cellpadding=
"2" cellspacing=
"0">
305 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
307 <td class=
"md" nowrap
valign=
"top">int
<a class=
"el" href=
"classqan_1_1can_1_1_adv_style_1_1_color.html#p0">qan::can::AdvStyle::Color::_r
</a><code> [protected]
</code> </td>
313 <table cellspacing=
"5" cellpadding=
"0" border=
"0">
324 <hr>The documentation for this class was generated from the following file:
<ul>
325 <li>C:/projects/qanava/src/can/
<a class=
"el" href=
"can_adv_style_8h.html">canAdvStyle.h
</a></ul>
327 <hr style=
"width: 100%; height: 2px;">
328 <table width=
"95%" height=
"48" border=
"0"
329 cellpadding=
"0" cellspacing=
"0" style=
"text-align: left; width: 95%; height: 31px;">
332 <td height=
"48" style=
"font-family: Helvetica,Arial,sans-serif;">
334 <dt><a href=
"http://www.libqanava.org"><font size=
"2">www.libqanava.org
</font></a><font size=
"2">
335 Qanava - QCanvas Avanc
é</font></dt>
338 <td style=
"vertical-align: middle; text-align: right;"><span
339 style=
"font-family: Helvetica,Arial,sans-serif;"><font size=
"2">Generated by
</font></span>
341 href=
"http://www.doxygen.org"><img alt=
"Doxygen logo"
342 src=
"../images/doxygen.png"
343 style=
"border: 0px solid ; width: 100px; height: 45px;" align=
"middle"></a></td>