Definition at line 49 of file qwt_compass_rose.h.
Public Member Functions | |
QwtSimpleCompassRose (int numThorns=8, int numThornLevels=-1) | |
void | setWidth (double w) |
double | width () const |
void | setNumThorns (int count) |
int | numThorns () const |
void | setNumThornLevels (int count) |
int | numThornLevels () const |
void | setShrinkFactor (double factor) |
double | shrinkFactor () const |
virtual void | draw (QPainter *, const QPoint ¢er, int radius, double north, QPalette::ColorGroup=QPalette::Active) const |
Static Public Member Functions | |
static void | drawRose (QPainter *, const QPalette &, const QPoint ¢er, int radius, double origin, double width, int numThorns, int numThornLevels, double shrinkFactor) |
|
Constructor
Definition at line 61 of file qwt_compass_rose.cpp. References QwtCompassRose::palette(). |
|
Draw the rose
Implements QwtCompassRose. Definition at line 98 of file qwt_compass_rose.cpp. References drawRose(), and QwtCompassRose::palette(). |
|
Draw the rose
Definition at line 136 of file qwt_compass_rose.cpp. Referenced by draw(). |
|
Definition at line 278 of file qwt_compass_rose.cpp. |
|
Definition at line 258 of file qwt_compass_rose.cpp. |
|
Set the of thorns levels
Definition at line 269 of file qwt_compass_rose.cpp. |
|
Set the number of thorns on one level The number is aligned to a multiple of 4, with a minimum of 4
Definition at line 243 of file qwt_compass_rose.cpp. |
|
Set the width of the rose heads. Lower value make thinner heads. The range is limited from 0.03 to 0.4.
Definition at line 226 of file qwt_compass_rose.cpp. |