mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-07 00:15:48 -04:00
60 lines
2.2 KiB
Plaintext
60 lines
2.2 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/scalebar/qgsnumericscalebarrenderer.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.py again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
class QgsNumericScaleBarRenderer: QgsScaleBarRenderer
|
|
{
|
|
%Docstring(signature="appended")
|
|
A scale bar style that draws text in the form of '1:XXXXX'.
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsnumericscalebarrenderer.h"
|
|
%End
|
|
public:
|
|
|
|
QgsNumericScaleBarRenderer();
|
|
|
|
virtual QString id() const;
|
|
|
|
virtual QString visibleName() const;
|
|
|
|
virtual int sortKey() const;
|
|
|
|
virtual Flags flags() const;
|
|
|
|
virtual QgsNumericScaleBarRenderer *clone() const /Factory/;
|
|
|
|
|
|
virtual void draw( QgsRenderContext &context,
|
|
const QgsScaleBarSettings &settings,
|
|
const QgsScaleBarRenderer::ScaleBarContext &scaleContext ) const;
|
|
|
|
virtual QSizeF calculateBoxSize( QgsRenderContext &context,
|
|
const QgsScaleBarSettings &settings,
|
|
const QgsScaleBarRenderer::ScaleBarContext &scaleContext ) const;
|
|
|
|
virtual QSizeF calculateBoxSize( const QgsScaleBarSettings &settings, const QgsScaleBarRenderer::ScaleBarContext &scaleContext ) const /Deprecated="Since 3.14. Use the one with render context instead."/;
|
|
|
|
%Docstring
|
|
.. deprecated:: 3.14
|
|
|
|
Use the one with render context instead.
|
|
%End
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/scalebar/qgsnumericscalebarrenderer.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.py again *
|
|
************************************************************************/
|