static void drawRose (QPainter *, const QPalette &, const QPoint ¢er, int radius, double origin, double width, int numThorns, int numThornLevels, double shrinkFactor)
Detailed Description
A simple rose for QwtCompass.
Constructor & Destructor Documentation
QwtSimpleCompassRose::QwtSimpleCompassRose (int numThorns = 8, int numThornLevels = -1)
Constructor
Parameters:
numThorns Number of thorns
numThornLevels Number of thorn levels
Member Function Documentation
void QwtSimpleCompassRose::draw (QPainter * painter, const QPoint & center, int radius, double north, QPalette::ColorGroup cg = QPalette::Active) const [virtual]
Draw the rose
Parameters:
painter Painter
center Center point
radius Radius of the rose
north Position
cg Color group
Implements QwtCompassRose.
void QwtSimpleCompassRose::drawRose (QPainter * painter, const QPalette & palette, const QPoint & center, int radius, double north, double width, int numThorns, int numThornLevels, double shrinkFactor) [static]
Draw the rose
Parameters:
painter Painter
palette Palette
center Center of the rose
radius Radius of the rose
north Position pointing to north
width Width of the rose
numThorns Number of thorns
numThornLevels Number of thorn levels
shrinkFactor Factor to shrink the thorns with each level