~ubuntu-branches/ubuntu/oneiric/qwt/oneiric-proposed

« back to all changes in this revision

Viewing changes to qwt-5.1.2/doc/html/class_qwt_alpha_color_map.html

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2009-07-01 16:08:21 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090701160821-gog44m4w7x2f4u6o
Tags: 5.2.0-1
* New upstream release.
* Add branch pull patch from svn r544.
* Bump Standards-Version to 3.8.2. No changes needed.
* Update installed manpages.
* Use qwt as base name for directory (drop version).
* Add missing warnings patch.
* Rewrite debian/rules: use dh.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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>Qwt User&apos;s Guide: QwtAlphaColorMap Class Reference</title>
4
 
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
 
<link href="tabs.css" rel="stylesheet" type="text/css">
6
 
</head><body>
7
 
<!-- Generated by Doxygen 1.5.0 -->
8
 
<div class="tabs">
9
 
  <ul>
10
 
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11
 
    <li id="current"><a href="classes.html"><span>Classes</span></a></li>
12
 
    <li><a href="files.html"><span>Files</span></a></li>
13
 
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
14
 
  </ul></div>
15
 
<div class="tabs">
16
 
  <ul>
17
 
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
18
 
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
19
 
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
20
 
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
21
 
  </ul></div>
22
 
<h1>QwtAlphaColorMap Class Reference</h1><!-- doxytag: class="QwtAlphaColorMap" --><!-- doxytag: inherits="QwtColorMap" -->Inheritance diagram for QwtAlphaColorMap:<p><center><img src="class_qwt_alpha_color_map__inherit__graph.png" border="0" usemap="#_qwt_alpha_color_map__inherit__map" alt="Inheritance graph"></center>
23
 
<map name="_qwt_alpha_color_map__inherit__map">
24
 
<area href="class_qwt_color_map.html" shape="rect" coords="24,8,128,32" alt="">
25
 
</map>
26
 
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for QwtAlphaColorMap:<p><center><img src="class_qwt_alpha_color_map__coll__graph.png" border="0" usemap="#_qwt_alpha_color_map__coll__map" alt="Collaboration graph"></center>
27
 
<map name="_qwt_alpha_color_map__coll__map">
28
 
<area href="class_qwt_color_map.html" shape="rect" coords="24,8,128,32" alt="">
29
 
</map>
30
 
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_alpha_color_map-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
31
 
<a class="el" href="class_qwt_alpha_color_map.html">QwtAlphaColorMap</a> variies the alpha value of a color. 
32
 
<p>
33
 
 
34
 
<p>
35
 
Definition at line <a class="el" href="qwt__color__map_8h-source.html#l00160">160</a> of file <a class="el" href="qwt__color__map_8h-source.html">qwt_color_map.h</a>.<table border="0" cellpadding="0" cellspacing="0">
36
 
<tr><td></td></tr>
37
 
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
38
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_alpha_color_map.html#f78213a5ff1ebef8a8d4447b0987bf32">QwtAlphaColorMap</a> (const QColor &amp;=QColor(Qt::gray))</td></tr>
39
 
 
40
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_alpha_color_map.html#266d1009f36e17f8022077c469fa31a5">QwtAlphaColorMap</a> (const <a class="el" href="class_qwt_alpha_color_map.html">QwtAlphaColorMap</a> &amp;)</td></tr>
41
 
 
42
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_alpha_color_map.html#c6445d25b9df0b565383b8189691bbad">~QwtAlphaColorMap</a> ()</td></tr>
43
 
 
44
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_alpha_color_map.html">QwtAlphaColorMap</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_alpha_color_map.html#7d7a1a4648d4d61604677bb772820617">operator=</a> (const <a class="el" href="class_qwt_alpha_color_map.html">QwtAlphaColorMap</a> &amp;)</td></tr>
45
 
 
46
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_qwt_color_map.html">QwtColorMap</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_alpha_color_map.html#408726d67878352f14c6125d46465ef5">copy</a> () const</td></tr>
47
 
 
48
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_alpha_color_map.html#372ba8791102270991473897fb36a965">setColor</a> (const QColor &amp;)</td></tr>
49
 
 
50
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">QColor&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_alpha_color_map.html#89acdb9e9918ce37ff219a344cb7330a">color</a> () const</td></tr>
51
 
 
52
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QRgb&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_alpha_color_map.html#5cc7d28905a48a59a7d1f99196be1ce8">rgb</a> (const <a class="el" href="class_qwt_double_interval.html">QwtDoubleInterval</a> &amp;, double value) const</td></tr>
53
 
 
54
 
</table>
55
 
<hr><h2>Constructor &amp; Destructor Documentation</h2>
56
 
<a class="anchor" name="f78213a5ff1ebef8a8d4447b0987bf32"></a><!-- doxytag: member="QwtAlphaColorMap::QwtAlphaColorMap" ref="f78213a5ff1ebef8a8d4447b0987bf32" args="(const QColor &amp;=QColor(Qt::gray))" -->
57
 
<div class="memitem">
58
 
<div class="memproto">
59
 
      <table class="memname">
60
 
        <tr>
61
 
          <td class="memname">QwtAlphaColorMap::QwtAlphaColorMap           </td>
62
 
          <td>(</td>
63
 
          <td class="paramtype">const QColor &amp;&nbsp;</td>
64
 
          <td class="paramname"> <em>color</em> = <code>QColor(Qt::gray)</code>          </td>
65
 
          <td>&nbsp;)&nbsp;</td>
66
 
          <td width="100%"></td>
67
 
        </tr>
68
 
      </table>
69
 
</div>
70
 
<div class="memdoc">
71
 
 
72
 
<p>
73
 
Constructor <dl compact><dt><b>Parameters:</b></dt><dd>
74
 
  <table border="0" cellspacing="2" cellpadding="0">
75
 
    <tr><td valign="top"></td><td valign="top"><em>color</em>&nbsp;</td><td>Color of the map </td></tr>
76
 
  </table>
77
 
</dl>
78
 
 
79
 
<p>
80
 
Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00409">409</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.
81
 
<p>
82
 
Referenced by <a class="el" href="qwt__color__map_8cpp-source.html#l00448">copy()</a>.
83
 
</div>
84
 
</div><p>
85
 
<a class="anchor" name="266d1009f36e17f8022077c469fa31a5"></a><!-- doxytag: member="QwtAlphaColorMap::QwtAlphaColorMap" ref="266d1009f36e17f8022077c469fa31a5" args="(const QwtAlphaColorMap &amp;)" -->
86
 
<div class="memitem">
87
 
<div class="memproto">
88
 
      <table class="memname">
89
 
        <tr>
90
 
          <td class="memname">QwtAlphaColorMap::QwtAlphaColorMap           </td>
91
 
          <td>(</td>
92
 
          <td class="paramtype">const <a class="el" href="class_qwt_alpha_color_map.html">QwtAlphaColorMap</a> &amp;&nbsp;</td>
93
 
          <td class="paramname"> <em>other</em>          </td>
94
 
          <td>&nbsp;)&nbsp;</td>
95
 
          <td width="100%"></td>
96
 
        </tr>
97
 
      </table>
98
 
</div>
99
 
<div class="memdoc">
100
 
 
101
 
<p>
102
 
Copy constructor <dl compact><dt><b>Parameters:</b></dt><dd>
103
 
  <table border="0" cellspacing="2" cellpadding="0">
104
 
    <tr><td valign="top"></td><td valign="top"><em>other</em>&nbsp;</td><td>Other color map </td></tr>
105
 
  </table>
106
 
</dl>
107
 
 
108
 
<p>
109
 
Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00421">421</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.
110
 
</div>
111
 
</div><p>
112
 
<a class="anchor" name="c6445d25b9df0b565383b8189691bbad"></a><!-- doxytag: member="QwtAlphaColorMap::~QwtAlphaColorMap" ref="c6445d25b9df0b565383b8189691bbad" args="()" -->
113
 
<div class="memitem">
114
 
<div class="memproto">
115
 
      <table class="memname">
116
 
        <tr>
117
 
          <td class="memname">QwtAlphaColorMap::~QwtAlphaColorMap           </td>
118
 
          <td>(</td>
119
 
          <td class="paramname">          </td>
120
 
          <td>&nbsp;)&nbsp;</td>
121
 
          <td width="100%"><code> [virtual]</code></td>
122
 
        </tr>
123
 
      </table>
124
 
</div>
125
 
<div class="memdoc">
126
 
 
127
 
<p>
128
 
Destructor. 
129
 
<p>
130
 
 
131
 
<p>
132
 
Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00429">429</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.
133
 
</div>
134
 
</div><p>
135
 
<hr><h2>Member Function Documentation</h2>
136
 
<a class="anchor" name="7d7a1a4648d4d61604677bb772820617"></a><!-- doxytag: member="QwtAlphaColorMap::operator=" ref="7d7a1a4648d4d61604677bb772820617" args="(const QwtAlphaColorMap &amp;)" -->
137
 
<div class="memitem">
138
 
<div class="memproto">
139
 
      <table class="memname">
140
 
        <tr>
141
 
          <td class="memname"><a class="el" href="class_qwt_alpha_color_map.html">QwtAlphaColorMap</a> &amp; QwtAlphaColorMap::operator=           </td>
142
 
          <td>(</td>
143
 
          <td class="paramtype">const <a class="el" href="class_qwt_alpha_color_map.html">QwtAlphaColorMap</a> &amp;&nbsp;</td>
144
 
          <td class="paramname"> <em>other</em>          </td>
145
 
          <td>&nbsp;)&nbsp;</td>
146
 
          <td width="100%"></td>
147
 
        </tr>
148
 
      </table>
149
 
</div>
150
 
<div class="memdoc">
151
 
 
152
 
<p>
153
 
Assignment operator <dl compact><dt><b>Parameters:</b></dt><dd>
154
 
  <table border="0" cellspacing="2" cellpadding="0">
155
 
    <tr><td valign="top"></td><td valign="top"><em>other</em>&nbsp;</td><td>Other color map </td></tr>
156
 
  </table>
157
 
</dl>
158
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>*this </dd></dl>
159
 
 
160
 
<p>
161
 
Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00439">439</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.
162
 
<p>
163
 
References <a class="el" href="qwt__color__map_8h-source.html#l00181">d_data</a>.
164
 
</div>
165
 
</div><p>
166
 
<a class="anchor" name="408726d67878352f14c6125d46465ef5"></a><!-- doxytag: member="QwtAlphaColorMap::copy" ref="408726d67878352f14c6125d46465ef5" args="() const" -->
167
 
<div class="memitem">
168
 
<div class="memproto">
169
 
      <table class="memname">
170
 
        <tr>
171
 
          <td class="memname"><a class="el" href="class_qwt_color_map.html">QwtColorMap</a> * QwtAlphaColorMap::copy           </td>
172
 
          <td>(</td>
173
 
          <td class="paramname">          </td>
174
 
          <td>&nbsp;)&nbsp;</td>
175
 
          <td width="100%"> const<code> [virtual]</code></td>
176
 
        </tr>
177
 
      </table>
178
 
</div>
179
 
<div class="memdoc">
180
 
 
181
 
<p>
182
 
Clone the color map. 
183
 
<p>
184
 
 
185
 
<p>
186
 
Implements <a class="el" href="class_qwt_color_map.html#c21886c4be363557902d24d1224c2a86">QwtColorMap</a>.
187
 
<p>
188
 
Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00448">448</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.
189
 
<p>
190
 
References <a class="el" href="qwt__color__map_8cpp-source.html#l00409">QwtAlphaColorMap()</a>.
191
 
</div>
192
 
</div><p>
193
 
<a class="anchor" name="372ba8791102270991473897fb36a965"></a><!-- doxytag: member="QwtAlphaColorMap::setColor" ref="372ba8791102270991473897fb36a965" args="(const QColor &amp;)" -->
194
 
<div class="memitem">
195
 
<div class="memproto">
196
 
      <table class="memname">
197
 
        <tr>
198
 
          <td class="memname">void QwtAlphaColorMap::setColor           </td>
199
 
          <td>(</td>
200
 
          <td class="paramtype">const QColor &amp;&nbsp;</td>
201
 
          <td class="paramname"> <em>color</em>          </td>
202
 
          <td>&nbsp;)&nbsp;</td>
203
 
          <td width="100%"></td>
204
 
        </tr>
205
 
      </table>
206
 
</div>
207
 
<div class="memdoc">
208
 
 
209
 
<p>
210
 
Set the color<p>
211
 
<dl compact><dt><b>Parameters:</b></dt><dd>
212
 
  <table border="0" cellspacing="2" cellpadding="0">
213
 
    <tr><td valign="top"></td><td valign="top"><em>color</em>&nbsp;</td><td>Color </td></tr>
214
 
  </table>
215
 
</dl>
216
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_alpha_color_map.html#89acdb9e9918ce37ff219a344cb7330a">color()</a> </dd></dl>
217
 
 
218
 
<p>
219
 
Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00462">462</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.
220
 
</div>
221
 
</div><p>
222
 
<a class="anchor" name="89acdb9e9918ce37ff219a344cb7330a"></a><!-- doxytag: member="QwtAlphaColorMap::color" ref="89acdb9e9918ce37ff219a344cb7330a" args="() const" -->
223
 
<div class="memitem">
224
 
<div class="memproto">
225
 
      <table class="memname">
226
 
        <tr>
227
 
          <td class="memname">QColor QwtAlphaColorMap::color           </td>
228
 
          <td>(</td>
229
 
          <td class="paramname">          </td>
230
 
          <td>&nbsp;)&nbsp;</td>
231
 
          <td width="100%"> const</td>
232
 
        </tr>
233
 
      </table>
234
 
</div>
235
 
<div class="memdoc">
236
 
 
237
 
<p>
238
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the color </dd></dl>
239
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_alpha_color_map.html#372ba8791102270991473897fb36a965">setColor()</a> </dd></dl>
240
 
 
241
 
<p>
242
 
Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00472">472</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.
243
 
</div>
244
 
</div><p>
245
 
<a class="anchor" name="5cc7d28905a48a59a7d1f99196be1ce8"></a><!-- doxytag: member="QwtAlphaColorMap::rgb" ref="5cc7d28905a48a59a7d1f99196be1ce8" args="(const QwtDoubleInterval &amp;, double value) const" -->
246
 
<div class="memitem">
247
 
<div class="memproto">
248
 
      <table class="memname">
249
 
        <tr>
250
 
          <td class="memname">QRgb QwtAlphaColorMap::rgb           </td>
251
 
          <td>(</td>
252
 
          <td class="paramtype">const <a class="el" href="class_qwt_double_interval.html">QwtDoubleInterval</a> &amp;&nbsp;</td>
253
 
          <td class="paramname"> <em>interval</em>, </td>
254
 
        </tr>
255
 
        <tr>
256
 
          <td class="paramkey"></td>
257
 
          <td></td>
258
 
          <td class="paramtype">double&nbsp;</td>
259
 
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
260
 
        </tr>
261
 
        <tr>
262
 
          <td></td>
263
 
          <td>)</td>
264
 
          <td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
265
 
        </tr>
266
 
      </table>
267
 
</div>
268
 
<div class="memdoc">
269
 
 
270
 
<p>
271
 
Map a value of a given interval into a alpha value. 
272
 
<p>
273
 
alpha := (value - interval.minValue()) / interval.width();<p>
274
 
<dl compact><dt><b>Parameters:</b></dt><dd>
275
 
  <table border="0" cellspacing="2" cellpadding="0">
276
 
    <tr><td valign="top"></td><td valign="top"><em>interval</em>&nbsp;</td><td>Range for all values </td></tr>
277
 
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>Value to map into a rgb value </td></tr>
278
 
  </table>
279
 
</dl>
280
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>rgb value, with an alpha value </dd></dl>
281
 
 
282
 
<p>
283
 
Implements <a class="el" href="class_qwt_color_map.html#6f8cae09331c9c6dbc11d7cc023e6665">QwtColorMap</a>.
284
 
<p>
285
 
Definition at line <a class="el" href="qwt__color__map_8cpp-source.html#l00486">486</a> of file <a class="el" href="qwt__color__map_8cpp-source.html">qwt_color_map.cpp</a>.
286
 
<p>
287
 
References <a class="el" href="qwt__double__interval_8h-source.html#l00128">QwtDoubleInterval::minValue()</a>, and <a class="el" href="qwt__double__interval_8h-source.html#l00146">QwtDoubleInterval::width()</a>.
288
 
</div>
289
 
</div><p>
290
 
<hr size="1"><address style="align: right;"><small>Generated on Sun Mar 22 16:54:14 2009 for Qwt User's Guide by&nbsp;
291
 
<a href="http://www.doxygen.org/index.html">
292
 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
293
 
</body>
294
 
</html>