10#ifndef QWT_ROUND_SCALE_DRAW_H
11#define QWT_ROUND_SCALE_DRAW_H
13#include "qwt_global.h"
14#include "qwt_abstract_scale_draw.h"
37 void setRadius(
double radius );
38 double radius()
const;
40 void moveCenter(
double x,
double y );
41 void moveCenter(
const QPointF& );
42 QPointF center()
const;
44 void setAngleRange(
double angle1,
double angle2 );
46 virtual double extent(
const QFont& )
const QWT_OVERRIDE;
50 double value,
double len )
const QWT_OVERRIDE;
53 QPainter* )
const QWT_OVERRIDE;
56 QPainter*,
double value )
const QWT_OVERRIDE;
A abstract base class for drawing scales.
virtual void drawBackbone(QPainter *painter) const =0
virtual void drawTick(QPainter *painter, double value, double len) const =0
virtual double extent(const QFont &font) const =0
virtual void drawLabel(QPainter *painter, double value) const =0
A class for drawing round scales.
void moveCenter(double x, double y)
Move the center of the scale draw, leaving the radius unchanged.