QGIS/python/core/auto_generated/scalebar/qgsticksscalebarrenderer.sip.in

66 lines
1.9 KiB
Plaintext
Raw Normal View History

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/scalebar/qgsticksscalebarrenderer.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsTicksScaleBarRenderer: QgsScaleBarRenderer
{
%Docstring
2017-12-15 10:36:55 -04:00
A scale bar that draws segments using short ticks.
.. versionadded:: 3.0
%End
%TypeHeaderCode
#include "qgsticksscalebarrenderer.h"
%End
public:
enum TickPosition
{
TicksUp,
TicksDown,
TicksMiddle,
};
QgsTicksScaleBarRenderer();
2017-04-23 08:06:03 +10:00
%Docstring
2017-12-15 10:36:55 -04:00
Constructor for QgsTicksScaleBarRenderer.
2017-04-23 08:06:03 +10:00
%End
virtual QString name() const;
virtual void draw( QgsRenderContext &context,
const QgsScaleBarSettings &settings,
const QgsScaleBarRenderer::ScaleBarContext &scaleContext ) const;
void setTickPosition( TickPosition position );
%Docstring
2017-12-15 10:36:55 -04:00
Sets the ``position`` for tick marks in the scalebar.
.. seealso:: :py:func:`tickPosition`
%End
TickPosition tickPosition() const;
%Docstring
2017-12-15 10:36:55 -04:00
Returns the position for tick marks in the scalebar.
.. seealso:: :py:func:`setTickPosition`
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/scalebar/qgsticksscalebarrenderer.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/