QGIS API Documentation
2.0.1-Dufour
|
#include <qgsfillsymbollayerv2.h>
Static Public Member Functions | |
static QgsSymbolLayerV2 * | create (const QgsStringMap &properties=QgsStringMap()) |
static QgsSymbolLayerV2 * | createFromSld (QDomElement &element) |
Protected Member Functions | |
void | applyDataDefinedSettings (const QgsSymbolV2RenderContext &context) |
Protected Attributes | |
QgsMarkerSymbolV2 * | mMarkerSymbol |
double | mDistanceX |
QgsSymbolV2::OutputUnit | mDistanceXUnit |
double | mDistanceY |
QgsSymbolV2::OutputUnit | mDistanceYUnit |
double | mDisplacementX |
QgsSymbolV2::OutputUnit | mDisplacementXUnit |
double | mDisplacementY |
QgsSymbolV2::OutputUnit | mDisplacementYUnit |
Protected Attributes inherited from QgsImageFillSymbolLayer | |
QBrush | mBrush |
double | mNextAngle |
double | mOutlineWidth |
Outline width. | |
QgsSymbolV2::OutputUnit | mOutlineWidthUnit |
QgsLineSymbolV2 * | mOutline |
Custom outline. | |
Protected Attributes inherited from QgsFillSymbolLayerV2 | |
double | mAngle |
Protected Attributes inherited from QgsSymbolLayerV2 | |
QgsSymbolV2::SymbolType | mType |
bool | mLocked |
QColor | mColor |
int | mRenderingPass |
QMap< QString, QgsExpression * > | mDataDefinedProperties |
Private Member Functions | |
void | applyPattern (const QgsSymbolV2RenderContext &context, QBrush &brush, double distanceX, double distanceY, double displacementX, double displacementY) |
Additional Inherited Members | |
Static Protected Attributes inherited from QgsSymbolLayerV2 | |
static const bool | selectionIsOpaque = true |
static const bool | selectFillBorder = false |
static const bool | selectFillStyle = false |
Definition at line 282 of file qgsfillsymbollayerv2.h.
QgsPointPatternFillSymbolLayer::QgsPointPatternFillSymbolLayer | ( | ) |
Definition at line 1300 of file qgsfillsymbollayerv2.cpp.
References mDisplacementX, mDisplacementY, mDistanceX, mDistanceY, and setSubSymbol().
Referenced by create().
QgsPointPatternFillSymbolLayer::~QgsPointPatternFillSymbolLayer | ( | ) |
Definition at line 1312 of file qgsfillsymbollayerv2.cpp.
|
protectedvirtual |
Reimplemented from QgsImageFillSymbolLayer.
Definition at line 1566 of file qgsfillsymbollayerv2.cpp.
References applyPattern(), displacementX(), displacementY(), distanceX(), distanceY(), QgsExpression::evaluate(), QgsSymbolLayerV2::expression(), QgsSymbolV2RenderContext::feature(), QgsImageFillSymbolLayer::mBrush, mDisplacementX, mDisplacementY, mDistanceX, and mDistanceY.
|
private |
Definition at line 1396 of file qgsfillsymbollayerv2.cpp.
References QgsSymbolV2RenderContext::alpha(), QgsSymbolV2RenderContext::feature(), QgsRenderContext::mapToPixel(), QgsMapToPixel::mapUnitsPerPixel(), mDisplacementXUnit, mDisplacementYUnit, mDistanceXUnit, mDistanceYUnit, mMarkerSymbol, QgsSymbolLayerV2Utils::multiplyImageOpacity(), QgsSymbolLayerV2Utils::pixelSizeScaleFactor(), qgsDoubleNear(), QgsRenderContext::rasterScaleFactor(), QgsSymbolV2RenderContext::renderContext(), QgsMarkerSymbolV2::renderPoint(), QgsRenderContext::scaleFactor(), QgsRenderContext::setForceVectorOutput(), QgsRenderContext::setMapToPixel(), QgsRenderContext::setPainter(), QgsRenderContext::setRasterScaleFactor(), QgsRenderContext::setScaleFactor(), QgsSymbolV2::startRender(), and QgsSymbolV2::stopRender().
Referenced by applyDataDefinedSettings(), and startRender().
|
virtual |
Implements QgsSymbolLayerV2.
Definition at line 1496 of file qgsfillsymbollayerv2.cpp.
References QgsMarkerSymbolV2::clone(), QgsSymbolLayerV2::copyDataDefinedProperties(), create(), mMarkerSymbol, properties(), and setSubSymbol().
|
static |
Definition at line 1334 of file qgsfillsymbollayerv2.cpp.
References QgsSymbolLayerV2Utils::decodeOutputUnit(), QgsPointPatternFillSymbolLayer(), QgsSymbolLayerV2::setDataDefinedProperty(), setDisplacementX(), setDisplacementXUnit(), setDisplacementY(), setDisplacementYUnit(), setDistanceX(), setDistanceXUnit(), setDistanceY(), and setDistanceYUnit().
Referenced by clone(), and QgsSymbolLayerV2Registry::QgsSymbolLayerV2Registry().
|
static |
Definition at line 1544 of file qgsfillsymbollayerv2.cpp.
Referenced by QgsSymbolLayerV2Registry::QgsSymbolLayerV2Registry().
|
inline |
Definition at line 310 of file qgsfillsymbollayerv2.h.
Referenced by applyDataDefinedSettings().
|
inline |
Definition at line 326 of file qgsfillsymbollayerv2.h.
|
inline |
Definition at line 313 of file qgsfillsymbollayerv2.h.
Referenced by applyDataDefinedSettings().
|
inline |
Definition at line 329 of file qgsfillsymbollayerv2.h.
|
inline |
Definition at line 304 of file qgsfillsymbollayerv2.h.
Referenced by applyDataDefinedSettings().
|
inline |
Definition at line 320 of file qgsfillsymbollayerv2.h.
|
inline |
Definition at line 307 of file qgsfillsymbollayerv2.h.
Referenced by applyDataDefinedSettings().
|
inline |
Definition at line 323 of file qgsfillsymbollayerv2.h.
|
virtual |
Implements QgsSymbolLayerV2.
Definition at line 1391 of file qgsfillsymbollayerv2.cpp.
|
virtual |
Reimplemented from QgsSymbolLayerV2.
Definition at line 1324 of file qgsfillsymbollayerv2.cpp.
References mDisplacementXUnit, mDisplacementYUnit, mDistanceXUnit, mDistanceYUnit, and QgsSymbolV2::Mixed.
|
virtual |
Implements QgsSymbolLayerV2.
Definition at line 1481 of file qgsfillsymbollayerv2.cpp.
References QgsSymbolLayerV2Utils::encodeOutputUnit(), mDisplacementX, mDisplacementXUnit, mDisplacementY, mDisplacementYUnit, mDistanceX, mDistanceXUnit, mDistanceY, mDistanceYUnit, and QgsSymbolLayerV2::saveDataDefinedProperties().
Referenced by clone().
|
inline |
Definition at line 311 of file qgsfillsymbollayerv2.h.
Referenced by create().
|
inline |
Definition at line 325 of file qgsfillsymbollayerv2.h.
Referenced by create().
|
inline |
Definition at line 314 of file qgsfillsymbollayerv2.h.
Referenced by create().
|
inline |
Definition at line 328 of file qgsfillsymbollayerv2.h.
Referenced by create().
|
inline |
Definition at line 305 of file qgsfillsymbollayerv2.h.
Referenced by create().
|
inline |
Definition at line 319 of file qgsfillsymbollayerv2.h.
Referenced by create().
|
inline |
Definition at line 308 of file qgsfillsymbollayerv2.h.
Referenced by create().
|
inline |
Definition at line 322 of file qgsfillsymbollayerv2.h.
Referenced by create().
|
virtual |
Reimplemented from QgsSymbolLayerV2.
Definition at line 1316 of file qgsfillsymbollayerv2.cpp.
References mDisplacementXUnit, mDisplacementYUnit, mDistanceXUnit, and mDistanceYUnit.
|
virtual |
Reimplemented from QgsImageFillSymbolLayer.
Definition at line 1550 of file qgsfillsymbollayerv2.cpp.
References QgsSymbolV2::Marker, mMarkerSymbol, and QgsSymbolV2::type().
Referenced by clone(), and QgsPointPatternFillSymbolLayer().
|
virtual |
Implements QgsSymbolLayerV2.
Definition at line 1462 of file qgsfillsymbollayerv2.cpp.
References applyPattern(), QgsSymbolV2RenderContext::layer(), QgsImageFillSymbolLayer::mBrush, mDisplacementX, mDisplacementY, mDistanceX, mDistanceY, QgsImageFillSymbolLayer::mOutline, QgsSymbolLayerV2::prepareExpressions(), QgsSymbolV2RenderContext::renderContext(), and QgsSymbolV2::startRender().
|
virtual |
Implements QgsSymbolLayerV2.
Definition at line 1473 of file qgsfillsymbollayerv2.cpp.
References QgsImageFillSymbolLayer::mOutline, QgsSymbolV2RenderContext::renderContext(), and QgsSymbolV2::stopRender().
|
inlinevirtual |
Reimplemented from QgsImageFillSymbolLayer.
Definition at line 317 of file qgsfillsymbollayerv2.h.
|
virtual |
Reimplemented from QgsSymbolLayerV2.
Definition at line 1507 of file qgsfillsymbollayerv2.cpp.
References QgsSymbolLayerV2Utils::createGeometryElement(), QgsSymbolLayerV2Utils::createVendorOptionElement(), QgsSymbolLayerV2Utils::encodePoint(), QgsSymbolLayerV2::layerType(), mDistanceX, mDistanceY, mMarkerSymbol, QgsSymbolV2::symbolLayer(), QgsSymbolV2::symbolLayerCount(), and QgsMarkerSymbolLayerV2::writeSldMarker().
|
protected |
Definition at line 340 of file qgsfillsymbollayerv2.h.
Referenced by applyDataDefinedSettings(), properties(), QgsPointPatternFillSymbolLayer(), and startRender().
|
protected |
Definition at line 341 of file qgsfillsymbollayerv2.h.
Referenced by applyPattern(), outputUnit(), properties(), and setOutputUnit().
|
protected |
Definition at line 342 of file qgsfillsymbollayerv2.h.
Referenced by applyDataDefinedSettings(), properties(), QgsPointPatternFillSymbolLayer(), and startRender().
|
protected |
Definition at line 343 of file qgsfillsymbollayerv2.h.
Referenced by applyPattern(), outputUnit(), properties(), and setOutputUnit().
|
protected |
Definition at line 336 of file qgsfillsymbollayerv2.h.
Referenced by applyDataDefinedSettings(), properties(), QgsPointPatternFillSymbolLayer(), startRender(), and toSld().
|
protected |
Definition at line 337 of file qgsfillsymbollayerv2.h.
Referenced by applyPattern(), outputUnit(), properties(), and setOutputUnit().
|
protected |
Definition at line 338 of file qgsfillsymbollayerv2.h.
Referenced by applyDataDefinedSettings(), properties(), QgsPointPatternFillSymbolLayer(), startRender(), and toSld().
|
protected |
Definition at line 339 of file qgsfillsymbollayerv2.h.
Referenced by applyPattern(), outputUnit(), properties(), and setOutputUnit().
|
protected |
Definition at line 335 of file qgsfillsymbollayerv2.h.
Referenced by applyPattern(), clone(), setSubSymbol(), and toSld().