File: QwtSimpleCompassRose.3

package info (click to toggle)
qwt5 5.2.2-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 13,340 kB
  • sloc: cpp: 32,645; makefile: 23; sh: 4
file content (196 lines) | stat: -rw-r--r-- 4,388 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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
.TH "QwtSimpleCompassRose" 3 "Mon Aug 1 2011" "Version 5.2.2" "Qwt User's Guide" \" -*- nroff -*-
.ad l
.nh
.SH NAME
QwtSimpleCompassRose \- 
.PP
A simple rose for \fBQwtCompass\fP.  

.SH SYNOPSIS
.br
.PP
.PP
\fC#include <qwt_compass_rose.h>\fP
.PP
Inherits \fBQwtCompassRose\fP.
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBdraw\fP (QPainter *, const QPoint &center, int radius, double north, QPalette::ColorGroup=QPalette::Active) const "
.br
.ti -1c
.RI "int \fBnumThornLevels\fP () const "
.br
.ti -1c
.RI "int \fBnumThorns\fP () const "
.br
.ti -1c
.RI "const QPalette & \fBpalette\fP () const "
.br
.ti -1c
.RI "\fBQwtSimpleCompassRose\fP (int numThorns=8, int numThornLevels=-1)"
.br
.ti -1c
.RI "void \fBsetNumThornLevels\fP (int count)"
.br
.ti -1c
.RI "void \fBsetNumThorns\fP (int count)"
.br
.ti -1c
.RI "virtual void \fBsetPalette\fP (const QPalette &p)"
.br
.ti -1c
.RI "void \fBsetShrinkFactor\fP (double factor)"
.br
.ti -1c
.RI "void \fBsetWidth\fP (double w)"
.br
.ti -1c
.RI "double \fBshrinkFactor\fP () const "
.br
.ti -1c
.RI "double \fBwidth\fP () const "
.br
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "static void \fBdrawRose\fP (QPainter *, const QPalette &, const QPoint &center, int radius, double origin, double width, int numThorns, int numThornLevels, double shrinkFactor)"
.br
.in -1c
.SH "Detailed Description"
.PP 
A simple rose for \fBQwtCompass\fP. 
.SH "Constructor & Destructor Documentation"
.PP 
.SS "QwtSimpleCompassRose::QwtSimpleCompassRose (intnumThorns = \fC8\fP, intnumThornLevels = \fC-1\fP)"Constructor
.PP
\fBParameters:\fP
.RS 4
\fInumThorns\fP Number of thorns 
.br
\fInumThornLevels\fP Number of thorn levels 
.RE
.PP

.SH "Member Function Documentation"
.PP 
.SS "void QwtSimpleCompassRose::draw (QPainter *painter, const QPoint &center, intradius, doublenorth, QPalette::ColorGroupcg = \fCQPalette::Active\fP) const\fC [virtual]\fP"Draw the rose
.PP
\fBParameters:\fP
.RS 4
\fIpainter\fP Painter 
.br
\fIcenter\fP Center point 
.br
\fIradius\fP Radius of the rose 
.br
\fInorth\fP Position 
.br
\fIcg\fP Color group 
.RE
.PP

.PP
Implements \fBQwtCompassRose\fP.
.SS "void QwtSimpleCompassRose::drawRose (QPainter *painter, const QPalette &palette, const QPoint &center, intradius, doublenorth, doublewidth, intnumThorns, intnumThornLevels, doubleshrinkFactor)\fC [static]\fP"Draw the rose
.PP
\fBParameters:\fP
.RS 4
\fIpainter\fP Painter 
.br
\fIpalette\fP Palette 
.br
\fIcenter\fP Center of the rose 
.br
\fIradius\fP Radius of the rose 
.br
\fInorth\fP Position pointing to north 
.br
\fIwidth\fP Width of the rose 
.br
\fInumThorns\fP Number of thorns 
.br
\fInumThornLevels\fP Number of thorn levels 
.br
\fIshrinkFactor\fP Factor to shrink the thorns with each level 
.RE
.PP

.SS "int QwtSimpleCompassRose::numThornLevels () const"\fBReturns:\fP
.RS 4
Number of thorn levels 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBsetNumThorns()\fP, \fBsetNumThornLevels()\fP 
.RE
.PP

.SS "int QwtSimpleCompassRose::numThorns () const"\fBReturns:\fP
.RS 4
Number of thorns 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBsetNumThorns()\fP, \fBsetNumThornLevels()\fP 
.RE
.PP

.SS "const QPalette& QwtCompassRose::palette () const\fC [inline, inherited]\fP"\fBReturns:\fP
.RS 4
Current palette 
.RE
.PP

.SS "void QwtSimpleCompassRose::setNumThornLevels (intnumThornLevels)"Set the of thorns levels
.PP
\fBParameters:\fP
.RS 4
\fInumThornLevels\fP Number of thorns levels 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBsetNumThorns()\fP, \fBnumThornLevels()\fP 
.RE
.PP

.SS "void QwtSimpleCompassRose::setNumThorns (intnumThorns)"Set the number of thorns on one level The number is aligned to a multiple of 4, with a minimum of 4
.PP
\fBParameters:\fP
.RS 4
\fInumThorns\fP Number of thorns 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBnumThorns()\fP, \fBsetNumThornLevels()\fP 
.RE
.PP

.SS "virtual void QwtCompassRose::setPalette (const QPalette &p)\fC [inline, virtual, inherited]\fP"
.PP
Assign a palette. 
.SS "void QwtSimpleCompassRose::setWidth (doublewidth)"Set the width of the rose heads. Lower value make thinner heads. The range is limited from 0.03 to 0.4.
.PP
\fBParameters:\fP
.RS 4
\fIwidth\fP Width 
.RE
.PP

.SS "double QwtSimpleCompassRose::width () const\fC [inline]\fP"\fBSee also:\fP
.RS 4
\fBsetWidth()\fP 
.RE
.PP


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