17 #ifndef QGSNUMERICSCALEBARSTYLE_H 18 #define QGSNUMERICSCALEBARSTYLE_H 33 void draw(
QPainter* p,
double xOffset = 0 )
const override;
44 mutable double mLastScaleBarWidth;
A scale bar item that can be added to a map composition.
virtual QRectF calculateBoxSize() const
A scale bar style that draws text in the form of '1:XXXXX'.
virtual QString name() const =0
virtual void draw(QPainter *p, double xOffset=0) const =0
Draws the style.
Abstraction of composer scale bar style.