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 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233
|
.TH "QwtSimpleCompassRose" 3 "Thu Dec 11 2014" "Version 6.1.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 "\fBQwtSimpleCompassRose\fP (int \fBnumThorns\fP=8, int \fBnumThornLevels\fP=-1)"
.br
.ti -1c
.RI "virtual \fB~QwtSimpleCompassRose\fP ()"
.br
.RI "\fIDestructor\&. \fP"
.ti -1c
.RI "void \fBsetWidth\fP (double w)"
.br
.ti -1c
.RI "double \fBwidth\fP () const "
.br
.ti -1c
.RI "void \fBsetNumThorns\fP (int count)"
.br
.ti -1c
.RI "int \fBnumThorns\fP () const "
.br
.ti -1c
.RI "void \fBsetNumThornLevels\fP (int count)"
.br
.ti -1c
.RI "int \fBnumThornLevels\fP () const "
.br
.ti -1c
.RI "void \fBsetShrinkFactor\fP (double factor)"
.br
.ti -1c
.RI "double \fBshrinkFactor\fP () const "
.br
.ti -1c
.RI "virtual void \fBdraw\fP (QPainter *, const QPointF ¢er, double radius, double north, QPalette::ColorGroup=QPalette::Active) const "
.br
.in -1c
.SS "Static Public Member Functions"
.in +1c
.ti -1c
.RI "static void \fBdrawRose\fP (QPainter *, const QPalette &, const QPointF ¢er, double radius, double origin, double \fBwidth\fP, int \fBnumThorns\fP, int \fBnumThornLevels\fP, double \fBshrinkFactor\fP)"
.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 QPointF ¢er, doubleradius, 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 QPointF ¢er, doubleradius, 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"
.PP
\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"
.PP
\fBReturns:\fP
.RS 4
Number of thorns
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetNumThorns()\fP, \fBsetNumThornLevels()\fP
.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 "void QwtSimpleCompassRose::setShrinkFactor (doublefactor)"
Set the Factor how to shrink the thorns with each level The default value is 0\&.9\&.
.PP
\fBParameters:\fP
.RS 4
\fIfactor\fP Shrink factor
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBshrinkFactor()\fP
.RE
.PP
.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::shrinkFactor () const"
.PP
\fBReturns:\fP
.RS 4
Factor how to shrink the thorns with each level
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetShrinkFactor()\fP
.RE
.PP
.SS "double QwtSimpleCompassRose::width () const"
.PP
\fBReturns:\fP
.RS 4
Width of the rose
.RE
.PP
\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\&.
|