10 #ifndef QWT_ROUND_SCALE_DRAW_H 11 #define QWT_ROUND_SCALE_DRAW_H 37 void setRadius(
double radius );
38 double radius()
const;
40 void moveCenter(
double x,
double y );
41 void moveCenter(
const QPointF & );
44 void setAngleRange(
double angle1,
double angle2 );
66 moveCenter( QPointF( x, y ) );
A abstract base class for drawing scales.
virtual void drawBackbone(QPainter *painter) const =0
enum MQTTPropertyCodes value
virtual void drawTick(QPainter *painter, double value, double len) const =0
virtual void drawLabel(QPainter *painter, double value) const =0
void moveCenter(double x, double y)
Move the center of the scale draw, leaving the radius unchanged.
A class for drawing round scales.
virtual double extent(const QFont &font) const =0