1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
|
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/symbology/qgsfillsymbol.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsFillSymbol : QgsSymbol
{
%Docstring(signature="appended")
A fill symbol type, for rendering Polygon and MultiPolygon geometries.
%End
%TypeHeaderCode
#include "qgsfillsymbol.h"
%End
public:
static QgsFillSymbol *createSimple( const QVariantMap &properties ) /Factory/;
%Docstring
Create a fill symbol with one symbol layer: SimpleFill with specified
properties. This is a convenience method for easier creation of fill
symbols.
%End
QgsFillSymbol( const QgsSymbolLayerList &layers /Transfer/ = QgsSymbolLayerList() );
%Docstring
Constructor for QgsFillSymbol, with the specified list of initial symbol
``layers``.
Ownership of the ``layers`` are transferred to the symbol.
%End
void setAngle( double angle ) const;
void renderPolygon( const QPolygonF &points, const QVector<QPolygonF> *rings, const QgsFeature *f, QgsRenderContext &context, int layer = -1, bool selected = false );
%Docstring
Renders the symbol using the given render ``context``.
The ``points`` list dictates the exterior ring for the polygon to
render, and interior rings are optionally specified via the ``rings``
argument.
The ``f`` argument is used to pass the feature currently being rendered
(when available).
If only a single symbol layer from the symbol should be rendered, it
should be specified in the ``layer`` argument. A ``layer`` of -1
indicates that all symbol layers should be rendered.
If ``selected`` is ``True`` then the symbol will be drawn using the
"selected feature" style and colors instead of the symbol's normal
style.
%End
virtual QgsFillSymbol *clone() const /Factory/;
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/symbology/qgsfillsymbol.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
|