17 #ifndef QGSTICKSSCALEBARSTYLE_H    18 #define QGSTICKSSCALEBARSTYLE_H    44     void draw( 
QPainter* p, 
double xOffset = 0 ) 
const override;
 A scale bar item that can be added to a map composition. 
 
virtual QString name() const =0
 
A scale bar that draws segments using short ticks. 
 
virtual void draw(QPainter *p, double xOffset=0) const =0
Draws the style. 
 
Abstraction of composer scale bar style. 
 
void setTickPosition(TickPosition p)