QGIS/python/core/auto_generated/symbology/qgsellipsesymbollayer.sip.in

176 lines
4.9 KiB
Plaintext
Raw Normal View History

2017-06-06 11:03:05 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
2017-08-06 13:39:03 +02:00
* src/core/symbology/qgsellipsesymbollayer.h *
2017-06-06 11:03:05 +02:00
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsEllipseSymbolLayer: QgsMarkerSymbolLayer
{
2017-06-06 11:03:05 +02:00
%Docstring
A symbol layer for rendering objects with major and minor axis (e.g. ellipse, rectangle, etc).
%End
2017-06-06 11:03:05 +02:00
%TypeHeaderCode
#include "qgsellipsesymbollayer.h"
%End
public:
2016-08-06 11:01:42 +02:00
QgsEllipseSymbolLayer();
static QgsSymbolLayer *create( const QgsStringMap &properties = QgsStringMap() ) /Factory/;
static QgsSymbolLayer *createFromSld( QDomElement &element ) /Factory/;
2017-06-06 11:03:05 +02:00
virtual void renderPoint( QPointF point, QgsSymbolRenderContext &context );
virtual QString layerType() const;
virtual void startRender( QgsSymbolRenderContext &context );
virtual void stopRender( QgsSymbolRenderContext &context );
virtual QgsEllipseSymbolLayer *clone() const /Factory/;
2017-06-06 11:03:05 +02:00
virtual QgsStringMap properties() const;
virtual void toSld( QDomDocument &doc, QDomElement &element, const QgsStringMap &props ) const;
virtual void writeSldMarker( QDomDocument &doc, QDomElement &element, const QgsStringMap &props ) const;
virtual bool writeDxf( QgsDxfExport &e, double mmMapUnitScaleFactor, const QString &layerName, QgsSymbolRenderContext &context, QPointF shift = QPointF( 0.0, 0.0 ) ) const;
2014-01-26 18:35:21 +01:00
void setSymbolName( const QString &name );
QString symbolName() const;
virtual void setSize( double size );
void setSymbolWidth( double w );
double symbolWidth() const;
void setSymbolHeight( double h );
double symbolHeight() const;
Qt::PenStyle strokeStyle() const;
void setStrokeStyle( Qt::PenStyle strokeStyle );
2014-01-26 18:35:21 +01:00
Qt::PenJoinStyle penJoinStyle() const;
2017-06-06 11:03:05 +02:00
%Docstring
Gets stroke join style.
2017-12-15 10:36:55 -04:00
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.16
%End
void setPenJoinStyle( Qt::PenJoinStyle style );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Set stroke join style.
2017-06-06 11:03:05 +02:00
.. versionadded:: 2.16
%End
void setStrokeWidth( double w );
double strokeWidth() const;
2017-06-06 11:03:05 +02:00
virtual void setFillColor( const QColor &c );
virtual QColor fillColor() const;
2017-06-06 11:03:05 +02:00
virtual void setStrokeColor( const QColor &c );
virtual QColor strokeColor() const;
void setSymbolWidthUnit( QgsUnitTypes::RenderUnit unit );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Sets the units for the symbol's width.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param unit: symbol units
.. seealso:: :py:func:`symbolWidthUnit`
2017-12-15 10:36:55 -04:00
.. seealso:: :py:func:`setSymbolHeightUnit`
2017-06-06 11:03:05 +02:00
%End
2016-07-26 09:24:14 +10:00
QgsUnitTypes::RenderUnit symbolWidthUnit() const;
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Returns the units for the symbol's width.
.. seealso:: :py:func:`setSymbolWidthUnit`
2017-12-15 10:36:55 -04:00
.. seealso:: :py:func:`symbolHeightUnit`
2017-06-06 11:03:05 +02:00
%End
2017-06-06 11:03:05 +02:00
void setSymbolWidthMapUnitScale( const QgsMapUnitScale &scale );
const QgsMapUnitScale &symbolWidthMapUnitScale() const;
void setSymbolHeightUnit( QgsUnitTypes::RenderUnit unit );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Sets the units for the symbol's height.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param unit: symbol units
.. seealso:: :py:func:`symbolHeightUnit`
2017-12-15 10:36:55 -04:00
.. seealso:: :py:func:`setSymbolWidthUnit`
2017-06-06 11:03:05 +02:00
%End
2016-07-18 09:42:45 +10:00
QgsUnitTypes::RenderUnit symbolHeightUnit() const;
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Returns the units for the symbol's height.
.. seealso:: :py:func:`setSymbolHeightUnit`
2017-12-15 10:36:55 -04:00
.. seealso:: :py:func:`symbolWidthUnit`
2017-06-06 11:03:05 +02:00
%End
2017-06-06 11:03:05 +02:00
void setSymbolHeightMapUnitScale( const QgsMapUnitScale &scale );
const QgsMapUnitScale &symbolHeightMapUnitScale() const;
void setStrokeWidthUnit( QgsUnitTypes::RenderUnit unit );
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Sets the units for the symbol's stroke width.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param unit: symbol units
.. seealso:: :py:func:`strokeWidthUnit`
2017-06-06 11:03:05 +02:00
%End
2016-07-18 09:42:45 +10:00
QgsUnitTypes::RenderUnit strokeWidthUnit() const;
2017-06-06 11:03:05 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Returns the units for the symbol's stroke width.
.. seealso:: :py:func:`setStrokeWidthUnit`
2017-06-06 11:03:05 +02:00
%End
2017-06-06 11:03:05 +02:00
void setStrokeWidthMapUnitScale( const QgsMapUnitScale &scale );
const QgsMapUnitScale &strokeWidthMapUnitScale() const;
2017-06-06 11:03:05 +02:00
virtual void setOutputUnit( QgsUnitTypes::RenderUnit unit );
virtual QgsUnitTypes::RenderUnit outputUnit() const;
virtual void setMapUnitScale( const QgsMapUnitScale &scale );
2017-06-06 11:03:05 +02:00
virtual QgsMapUnitScale mapUnitScale() const;
virtual QRectF bounds( QPointF point, QgsSymbolRenderContext &context );
};
2017-06-06 11:03:05 +02:00
2017-09-25 14:20:39 +10:00
2017-06-06 11:03:05 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
2017-08-06 13:39:03 +02:00
* src/core/symbology/qgsellipsesymbollayer.h *
2017-06-06 11:03:05 +02:00
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/