mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
17 lines
413 B
Plaintext
17 lines
413 B
Plaintext
|
class QgsNumericScaleBarStyle : QgsScaleBarStyle
|
||
|
{
|
||
|
%TypeHeaderCode
|
||
|
#include <qgsnumericscalebarstyle.h>
|
||
|
%End
|
||
|
public:
|
||
|
QgsNumericScaleBarStyle( QgsComposerScaleBar* bar );
|
||
|
~QgsNumericScaleBarStyle();
|
||
|
|
||
|
QString name() const;
|
||
|
|
||
|
void draw( QPainter* p, double xOffset = 0 ) const;
|
||
|
|
||
|
//calculation of box size is different compared to segment based scale bars
|
||
|
QRectF calculateBoxSize() const;
|
||
|
};
|