10 #ifndef QWT_COMPASS_ROSE_H 11 #define QWT_COMPASS_ROSE_H 1 27 virtual void setPalette(
const QPalette & );
28 const QPalette &palette()
const;
39 virtual void draw( QPainter *painter,
40 const QPointF ¢er,
double radius,
double north,
41 QPalette::ColorGroup colorGroup = QPalette::Active )
const = 0;
58 void setWidth(
double w );
61 void setNumThorns(
int count );
62 int numThorns()
const;
64 void setNumThornLevels(
int count );
65 int numThornLevels()
const;
67 void setShrinkFactor(
double factor );
68 double shrinkFactor()
const;
70 virtual void draw( QPainter *,
const QPointF ¢er,
double radius,
71 double north, QPalette::ColorGroup = QPalette::Active )
const;
73 static void drawRose( QPainter *,
const QPalette &,
74 const QPointF ¢er,
double radius,
double origin,
double width,
75 int numThorns,
int numThornLevels,
double shrinkFactor );
A simple rose for QwtCompass.
Abstract base class for a compass rose.
TFSIMD_FORCE_INLINE const tfScalar & w() const