Public Member Functions |
| | QgsSVGFillSymbolLayer (const QString &svgFilePath="", double width=20, double rotation=0.0) |
| | QgsSVGFillSymbolLayer (const QByteArray &svgData, double width=20, double rotation=0.0) |
| | ~QgsSVGFillSymbolLayer () |
| QString | layerType () const |
| void | startRender (QgsSymbolV2RenderContext &context) |
| void | stopRender (QgsSymbolV2RenderContext &context) |
| QgsStringMap | properties () const |
| QgsSymbolLayerV2 * | clone () const |
| void | toSld (QDomDocument &doc, QDomElement &element, QgsStringMap props) const |
| void | setSvgFilePath (const QString &svgPath) |
| QString | svgFilePath () const |
| void | setPatternWidth (double width) |
| double | patternWidth () const |
| void | setSvgFillColor (const QColor &c) |
| QColor | svgFillColor () const |
| void | setSvgOutlineColor (const QColor &c) |
| QColor | svgOutlineColor () const |
| void | setSvgOutlineWidth (double w) |
| double | svgOutlineWidth () const |
| void | setPatternWidthUnit (QgsSymbolV2::OutputUnit unit) |
| QgsSymbolV2::OutputUnit | patternWidthUnit () const |
| void | setPatternWidthMapUnitScale (const QgsMapUnitScale &scale) |
| const QgsMapUnitScale & | patternWidthMapUnitScale () const |
| void | setSvgOutlineWidthUnit (QgsSymbolV2::OutputUnit unit) |
| QgsSymbolV2::OutputUnit | svgOutlineWidthUnit () const |
| void | setSvgOutlineWidthMapUnitScale (const QgsMapUnitScale &scale) |
| const QgsMapUnitScale & | svgOutlineWidthMapUnitScale () const |
| void | setOutputUnit (QgsSymbolV2::OutputUnit unit) |
| QgsSymbolV2::OutputUnit | outputUnit () const |
| void | setMapUnitScale (const QgsMapUnitScale &scale) |
| QgsMapUnitScale | mapUnitScale () const |
| | QgsImageFillSymbolLayer () |
| virtual | ~QgsImageFillSymbolLayer () |
| void | renderPolygon (const QPolygonF &points, QList< QPolygonF > *rings, QgsSymbolV2RenderContext &context) |
| virtual QgsSymbolV2 * | subSymbol () |
| virtual bool | setSubSymbol (QgsSymbolV2 *symbol) |
| void | setOutlineWidthUnit (QgsSymbolV2::OutputUnit unit) |
| QgsSymbolV2::OutputUnit | outlineWidthUnit () const |
| void | setOutlineWidthMapUnitScale (const QgsMapUnitScale &scale) |
| const QgsMapUnitScale & | outlineWidthMapUnitScale () const |
| virtual double | estimateMaxBleed () const |
| | Returns the estimated maximum distance which the layer style will bleed outside the drawn shape.
|
| virtual double | dxfWidth (const QgsDxfExport &e, const QgsSymbolV2RenderContext &context) const |
| virtual QColor | dxfColor (const QgsSymbolV2RenderContext &context) const |
| virtual Qt::PenStyle | dxfPenStyle () const |
| void | drawPreviewIcon (QgsSymbolV2RenderContext &context, QSize size) |
| void | setAngle (double angle) |
| double | angle () const |
| virtual QColor | color () const |
| virtual void | setColor (const QColor &color) |
| virtual void | setOutlineColor (const QColor &color) |
| | Set outline color.
|
| virtual QColor | outlineColor () const |
| | Get outline color.
|
| virtual void | setFillColor (const QColor &color) |
| | Set fill color.
|
| virtual QColor | fillColor () const |
| | Get fill color.
|
| virtual | ~QgsSymbolLayerV2 () |
| virtual QString | ogrFeatureStyle (double mmScaleFactor, double mapUnitScaleFactor) const |
| QgsSymbolV2::SymbolType | type () const |
| void | setLocked (bool locked) |
| bool | isLocked () const |
| void | setRenderingPass (int renderingPass) |
| int | renderingPass () const |
| virtual QSet< QString > | usedAttributes () const |
| virtual const QgsExpression * | dataDefinedProperty (const QString &property) const |
| virtual QString | dataDefinedPropertyString (const QString &property) const |
| virtual void | setDataDefinedProperty (const QString &property, const QString &expressionString) |
| virtual void | removeDataDefinedProperty (const QString &property) |
| virtual void | removeDataDefinedProperties () |
| bool | hasDataDefinedProperties () const |
| virtual bool | writeDxf (QgsDxfExport &e, double mmMapUnitScaleFactor, const QString &layerName, const QgsSymbolV2RenderContext *context, const QgsFeature *f, const QPointF &shift=QPointF(0.0, 0.0)) const |
| virtual QVector< qreal > | dxfCustomDashPattern (QgsSymbolV2::OutputUnit &unit) const |
| virtual QColor | dxfBrushColor (const QgsSymbolV2RenderContext &context) const |
| virtual Qt::BrushStyle | dxfBrushStyle () const |
A class for svg fill patterns.
The class automatically scales the pattern to the appropriate pixel dimensions of the output device