File: QwtAlphaColorMap.3

package info (click to toggle)
qwt 6.1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 23,808 kB
  • sloc: cpp: 57,687; xml: 182; makefile: 32
file content (103 lines) | stat: -rw-r--r-- 1,988 bytes parent folder | download | duplicates (2)
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
.TH "QwtAlphaColorMap" 3 "Wed Jan 2 2019" "Version 6.1.4" "Qwt User's Guide" \" -*- nroff -*-
.ad l
.nh
.SH NAME
QwtAlphaColorMap \- \fBQwtAlphaColorMap\fP varies the alpha value of a color\&.  

.SH SYNOPSIS
.br
.PP
.PP
\fC#include <qwt_color_map\&.h>\fP
.PP
Inherits \fBQwtColorMap\fP\&.
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBQwtAlphaColorMap\fP (const QColor &=QColor(Qt::gray))"
.br
.ti -1c
.RI "virtual \fB~QwtAlphaColorMap\fP ()"
.br
.RI "Destructor\&. "
.ti -1c
.RI "void \fBsetColor\fP (const QColor &)"
.br
.ti -1c
.RI "QColor \fBcolor\fP () const"
.br
.ti -1c
.RI "virtual QRgb \fBrgb\fP (const \fBQwtInterval\fP &, double value) const"
.br
.RI "Map a value of a given interval into a alpha value\&. "
.in -1c
.SS "Additional Inherited Members"
.SH "Detailed Description"
.PP 
\fBQwtAlphaColorMap\fP varies the alpha value of a color\&. 
.SH "Constructor & Destructor Documentation"
.PP 
.SS "QwtAlphaColorMap::QwtAlphaColorMap (const QColor & color = \fCQColor( Qt::gray )\fP)"
Constructor 
.PP
\fBParameters:\fP
.RS 4
\fIcolor\fP Color of the map 
.RE
.PP

.SH "Member Function Documentation"
.PP 
.SS "QColor QwtAlphaColorMap::color () const"

.PP
\fBReturns:\fP
.RS 4
the color 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBsetColor()\fP 
.RE
.PP

.SS "QRgb QwtAlphaColorMap::rgb (const \fBQwtInterval\fP & interval, double value) const\fC [virtual]\fP"

.PP
Map a value of a given interval into a alpha value\&. alpha := (value - interval\&.minValue()) / interval\&.width();
.PP
\fBParameters:\fP
.RS 4
\fIinterval\fP Range for all values 
.br
\fIvalue\fP Value to map into a RGB value 
.RE
.PP
\fBReturns:\fP
.RS 4
RGB value, with an alpha value 
.RE
.PP

.PP
Implements \fBQwtColorMap\fP\&.
.SS "void QwtAlphaColorMap::setColor (const QColor & color)"
Set the color
.PP
\fBParameters:\fP
.RS 4
\fIcolor\fP Color 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBcolor()\fP 
.RE
.PP


.SH "Author"
.PP 
Generated automatically by Doxygen for Qwt User's Guide from the source code\&.