QGIS API Documentation 3.41.0-Master (25ec5511245)
|
This is the complete list of members for QgsSymbolLayerUtils, including all inherited members.
appendPolyline(QPolygonF &target, const QPolygonF &line) | QgsSymbolLayerUtils | static |
applyScaleDependency(QDomDocument &doc, QDomElement &ruleElem, QVariantMap &props) | QgsSymbolLayerUtils | static |
blurImageInPlace(QImage &image, QRect rect, int radius, bool alphaOnly) | QgsSymbolLayerUtils | static |
clearSymbolLayerIds(QgsSymbol *symbol) | QgsSymbolLayerUtils | static |
clearSymbolLayerIds(QgsSymbolLayer *symbolLayer) | QgsSymbolLayerUtils | static |
clearSymbolMap(QgsSymbolMap &symbols) | QgsSymbolLayerUtils | static |
collectSymbolLayerClipGeometries(const QgsRenderContext &context, const QString &symbolLayerId, const QRectF &bounds) | QgsSymbolLayerUtils | static |
colorFromMimeData(const QMimeData *data, bool &hasAlpha) | QgsSymbolLayerUtils | static |
colorListFromMimeData(const QMimeData *data) | QgsSymbolLayerUtils | static |
colorListToMimeData(const QgsNamedColorList &colorList, bool allFormats=true) | QgsSymbolLayerUtils | static |
colorRampPreviewIcon(QgsColorRamp *ramp, QSize size, int padding=0) | QgsSymbolLayerUtils | static |
colorRampPreviewPixmap(QgsColorRamp *ramp, QSize size, int padding=0, Qt::Orientation direction=Qt::Horizontal, bool flipDirection=false, bool drawTransparentBackground=true) | QgsSymbolLayerUtils | static |
colorRampToVariant(const QString &name, QgsColorRamp *ramp) | QgsSymbolLayerUtils | static |
colorToMimeData(const QColor &color) | QgsSymbolLayerUtils | static |
colorToName(const QColor &color) | QgsSymbolLayerUtils | static |
condenseFillAndOutline(QgsFillSymbolLayer *fill, QgsLineSymbolLayer *outline) | QgsSymbolLayerUtils | static |
convertPolygonSymbolizerToPointMarker(QDomElement &element, QList< QgsSymbolLayer * > &layerList) | QgsSymbolLayerUtils | static |
createAnchorPointElement(QDomDocument &doc, QDomElement &element, QPointF anchor) | QgsSymbolLayerUtils | static |
createDisplacementElement(QDomDocument &doc, QDomElement &element, QPointF offset) | QgsSymbolLayerUtils | static |
createExpressionElement(QDomDocument &doc, QDomElement &element, const QString &function) | QgsSymbolLayerUtils | static |
createFillLayerFromSld(QDomElement &element) | QgsSymbolLayerUtils | static |
createFunctionElement(QDomDocument &doc, QDomElement &element, const QString &function) | QgsSymbolLayerUtils | static |
createGeometryElement(QDomDocument &doc, QDomElement &element, const QString &geomFunc) | QgsSymbolLayerUtils | static |
createLineLayerFromSld(QDomElement &element) | QgsSymbolLayerUtils | static |
createMarkerLayerFromSld(QDomElement &element) | QgsSymbolLayerUtils | static |
createOnlineResourceElement(QDomDocument &doc, QDomElement &element, const QString &path, const QString &format) | QgsSymbolLayerUtils | static |
createOpacityElement(QDomDocument &doc, QDomElement &element, const QString &alphaFunc) | QgsSymbolLayerUtils | static |
createRotationElement(QDomDocument &doc, QDomElement &element, const QString &rotationFunc) | QgsSymbolLayerUtils | static |
createSvgParameterElement(QDomDocument &doc, const QString &name, const QString &value) | QgsSymbolLayerUtils | static |
createSymbolLayerListFromSld(QDomElement &element, Qgis::GeometryType geomType, QList< QgsSymbolLayer * > &layers) | QgsSymbolLayerUtils | static |
createVendorOptionElement(QDomDocument &doc, const QString &name, const QString &value) | QgsSymbolLayerUtils | static |
decodeArrowHeadType(const QVariant &value, bool *ok=nullptr) | QgsSymbolLayerUtils | static |
decodeArrowType(const QVariant &value, bool *ok=nullptr) | QgsSymbolLayerUtils | static |
decodeBlendMode(const QString &s) | QgsSymbolLayerUtils | static |
decodeBrushStyle(const QString &str) | QgsSymbolLayerUtils | static |
decodeColor(const QString &str) | QgsSymbolLayerUtils | static |
decodeCoordinateReference(const QString &string, bool *ok=nullptr) | QgsSymbolLayerUtils | static |
decodeLineClipMode(const QString &string, bool *ok=nullptr) | QgsSymbolLayerUtils | static |
decodeMapUnitScale(const QString &str) | QgsSymbolLayerUtils | static |
decodeMarkerClipMode(const QString &string, bool *ok=nullptr) | QgsSymbolLayerUtils | static |
decodePenCapStyle(const QString &str) | QgsSymbolLayerUtils | static |
decodePenJoinStyle(const QString &str) | QgsSymbolLayerUtils | static |
decodePenStyle(const QString &str) | QgsSymbolLayerUtils | static |
decodePoint(const QString &string) | QgsSymbolLayerUtils | static |
decodeRealVector(const QString &s) | QgsSymbolLayerUtils | static |
decodeScaleMethod(const QString &str) | QgsSymbolLayerUtils | static |
decodeSize(const QString &string) | QgsSymbolLayerUtils | static |
decodeSldAlpha(const QString &str) | QgsSymbolLayerUtils | static |
decodeSldBrushStyle(const QString &str) | QgsSymbolLayerUtils | static |
decodeSldFontStyle(const QString &str) | QgsSymbolLayerUtils | static |
decodeSldFontWeight(const QString &str) | QgsSymbolLayerUtils | static |
decodeSldLineCapStyle(const QString &str) | QgsSymbolLayerUtils | static |
decodeSldLineJoinStyle(const QString &str) | QgsSymbolLayerUtils | static |
decodeSldRealVector(const QString &s) | QgsSymbolLayerUtils | static |
decodeSldUom(const QString &str, double *scaleFactor=nullptr) | QgsSymbolLayerUtils | static |
displacementFromSldElement(QDomElement &element, QPointF &offset) | QgsSymbolLayerUtils | static |
drawStippledBackground(QPainter *painter, QRect rect) | QgsSymbolLayerUtils | static |
drawVertexMarker(double x, double y, QPainter &p, Qgis::VertexMarkerType type, int markerSize) | QgsSymbolLayerUtils | static |
encodeBrushStyle(Qt::BrushStyle style) | QgsSymbolLayerUtils | static |
encodeColor(const QColor &color) | QgsSymbolLayerUtils | static |
encodeCoordinateReference(Qgis::SymbolCoordinateReference coordinateReference) | QgsSymbolLayerUtils | static |
encodeLineClipMode(Qgis::LineClipMode mode) | QgsSymbolLayerUtils | static |
encodeMapUnitScale(const QgsMapUnitScale &mapUnitScale) | QgsSymbolLayerUtils | static |
encodeMarkerClipMode(Qgis::MarkerClipMode mode) | QgsSymbolLayerUtils | static |
encodePenCapStyle(Qt::PenCapStyle style) | QgsSymbolLayerUtils | static |
encodePenJoinStyle(Qt::PenJoinStyle style) | QgsSymbolLayerUtils | static |
encodePenStyle(Qt::PenStyle style) | QgsSymbolLayerUtils | static |
encodePoint(QPointF point) | QgsSymbolLayerUtils | static |
encodeRealVector(const QVector< qreal > &v) | QgsSymbolLayerUtils | static |
encodeScaleMethod(Qgis::ScaleMethod scaleMethod) | QgsSymbolLayerUtils | static |
encodeSize(QSizeF size) | QgsSymbolLayerUtils | static |
encodeSldAlpha(int alpha) | QgsSymbolLayerUtils | static |
encodeSldBrushStyle(Qt::BrushStyle style) | QgsSymbolLayerUtils | static |
encodeSldFontStyle(QFont::Style style) | QgsSymbolLayerUtils | static |
encodeSldFontWeight(int weight) | QgsSymbolLayerUtils | static |
encodeSldLineCapStyle(Qt::PenCapStyle style) | QgsSymbolLayerUtils | static |
encodeSldLineJoinStyle(Qt::PenJoinStyle style) | QgsSymbolLayerUtils | static |
encodeSldRealVector(const QVector< qreal > &v) | QgsSymbolLayerUtils | static |
encodeSldUom(Qgis::RenderUnit unit, double *scaleFactor) | QgsSymbolLayerUtils | static |
estimateMaxSymbolBleed(QgsSymbol *symbol, const QgsRenderContext &context) | QgsSymbolLayerUtils | static |
evaluatePropertiesMap(const QMap< QString, QgsProperty > &propertiesMap, const QgsExpressionContext &context) | QgsSymbolLayerUtils | static |
externalGraphicFromSld(QDomElement &element, QString &path, QString &mime, QColor &color, double &size) | QgsSymbolLayerUtils | static |
externalGraphicToSld(QDomDocument &doc, QDomElement &element, const QString &path, const QString &mime, const QColor &color, double size=-1) | QgsSymbolLayerUtils | static |
externalMarkerFromSld(QDomElement &element, QString &path, QString &format, int &markIndex, QColor &color, double &size) | QgsSymbolLayerUtils | static |
externalMarkerToSld(QDomDocument &doc, QDomElement &element, const QString &path, const QString &format, int *markIndex=nullptr, const QColor &color=QColor(), double size=-1) | QgsSymbolLayerUtils | static |
fieldOrExpressionFromExpression(QgsExpression *expression) | QgsSymbolLayerUtils | static |
fieldOrExpressionToExpression(const QString &fieldOrExpression) | QgsSymbolLayerUtils | static |
fillFromSld(QDomElement &element, Qt::BrushStyle &brushStyle, QColor &color) | QgsSymbolLayerUtils | static |
fillToSld(QDomDocument &doc, QDomElement &element, Qt::BrushStyle brushStyle, const QColor &color=QColor()) | QgsSymbolLayerUtils | static |
functionFromSldElement(QDomElement &element, QString &function) | QgsSymbolLayerUtils | static |
geometryFromSldElement(QDomElement &element, QString &geomFunc) | QgsSymbolLayerUtils | static |
getSvgParameterList(QDomElement &element) | QgsSymbolLayerUtils | static |
getSvgParametricPath(const QString &basePath, const QColor &fillColor, const QColor &strokeColor, double strokeWidth) | QgsSymbolLayerUtils | static |
getVendorOptionList(QDomElement &element) | QgsSymbolLayerUtils | static |
hasExternalGraphic(QDomElement &element) | QgsSymbolLayerUtils | static |
hasExternalGraphicV2(QDomElement &element, const QString format=QString()) | QgsSymbolLayerUtils | static |
hasWellKnownMark(QDomElement &element) | QgsSymbolLayerUtils | static |
importColorsFromGpl(QFile &file, bool &ok, QString &name) | QgsSymbolLayerUtils | static |
isSharpCorner(QPointF p1, QPointF p2, QPointF p3) | QgsSymbolLayerUtils | static |
labelTextToSld(QDomDocument &doc, QDomElement &element, const QString &label, const QFont &font, const QColor &color=QColor(), double size=-1) | QgsSymbolLayerUtils | static |
lineFromSld(QDomElement &element, Qt::PenStyle &penStyle, QColor &color, double &width, Qt::PenJoinStyle *penJoinStyle=nullptr, Qt::PenCapStyle *penCapStyle=nullptr, QVector< qreal > *customDashPattern=nullptr, double *dashOffset=nullptr) | QgsSymbolLayerUtils | static |
lineToSld(QDomDocument &doc, QDomElement &element, Qt::PenStyle penStyle, const QColor &color, double width=-1, const Qt::PenJoinStyle *penJoinStyle=nullptr, const Qt::PenCapStyle *penCapStyle=nullptr, const QVector< qreal > *customDashPattern=nullptr, double dashOffset=0.0) | QgsSymbolLayerUtils | static |
listSvgFiles() | QgsSymbolLayerUtils | static |
listSvgFilesAt(const QString &directory) | QgsSymbolLayerUtils | static |
loadColorRamp(QDomElement &element) | QgsSymbolLayerUtils | static |
loadColorRamp(const QVariant &value) | QgsSymbolLayerUtils | static |
loadSymbol(const QDomElement &element, const QgsReadWriteContext &context) | QgsSymbolLayerUtils | static |
loadSymbol(const QDomElement &element, const QgsReadWriteContext &context) | QgsSymbolLayerUtils | inlinestatic |
loadSymbolLayer(QDomElement &element, const QgsReadWriteContext &context) | QgsSymbolLayerUtils | static |
loadSymbols(QDomElement &element, const QgsReadWriteContext &context) | QgsSymbolLayerUtils | static |
mergeScaleDependencies(double mScaleMinDenom, double mScaleMaxDenom, QVariantMap &props) | QgsSymbolLayerUtils | static |
multiplyImageOpacity(QImage *image, qreal opacity) | QgsSymbolLayerUtils | static |
needEllipseMarker(QDomElement &element) | QgsSymbolLayerUtils | static |
needFontMarker(QDomElement &element) | QgsSymbolLayerUtils | static |
needLinePatternFill(QDomElement &element) | QgsSymbolLayerUtils | static |
needMarkerLine(QDomElement &element) | QgsSymbolLayerUtils | static |
needPointPatternFill(QDomElement &element) | QgsSymbolLayerUtils | static |
needRasterImageFill(QDomElement &element) | QgsSymbolLayerUtils | static |
needSvgFill(QDomElement &element) | QgsSymbolLayerUtils | static |
needSvgMarker(QDomElement &element) | QgsSymbolLayerUtils | static |
ogrFeatureStyleBrush(const QColor &fillColr) | QgsSymbolLayerUtils | static |
ogrFeatureStylePen(double width, double mmScaleFactor, double mapUnitsScaleFactor, const QColor &c, Qt::PenJoinStyle joinStyle=Qt::MiterJoin, Qt::PenCapStyle capStyle=Qt::FlatCap, double offset=0.0, const QVector< qreal > *dashPattern=nullptr) | QgsSymbolLayerUtils | static |
onlineResourceFromSldElement(QDomElement &element, QString &path, QString &format) | QgsSymbolLayerUtils | static |
opacityFromSldElement(QDomElement &element, QString &alphaFunc) | QgsSymbolLayerUtils | static |
parametricSvgToSld(QDomDocument &doc, QDomElement &graphicElem, const QString &path, const QColor &fillColor, double size, const QColor &strokeColor, double strokeWidth) | QgsSymbolLayerUtils | static |
parseColor(const QString &colorStr, bool strictEval=false) | QgsSymbolLayerUtils | static |
parseColorList(const QString &colorStr) | QgsSymbolLayerUtils | static |
parseColorWithAlpha(const QString &colorStr, bool &containsAlpha, bool strictEval=false) | QgsSymbolLayerUtils | static |
parseProperties(const QDomElement &element) | QgsSymbolLayerUtils | static |
pointInPolygon(const QPolygonF &points, QPointF point) | QgsSymbolLayerUtils | static |
pointOnLineWithDistance(QPointF startPoint, QPointF directionPoint, double distance) | QgsSymbolLayerUtils | static |
polygonCentroid(const QPolygonF &points) | QgsSymbolLayerUtils | static |
polygonPointOnSurface(const QPolygonF &points, const QVector< QPolygonF > *rings=nullptr) | QgsSymbolLayerUtils | static |
polylineLength(const QPolygonF &polyline) | QgsSymbolLayerUtils | static |
polylineSubstring(const QPolygonF &polyline, double startOffset, double endOffset) | QgsSymbolLayerUtils | static |
premultiplyColor(QColor &rgb, int alpha) | QgsSymbolLayerUtils | static |
prettyBreaks(double minimum, double maximum, int classes) | QgsSymbolLayerUtils | static |
rendererFrameRate(const QgsFeatureRenderer *renderer) | QgsSymbolLayerUtils | static |
rescaleUom(double size, Qgis::RenderUnit unit, const QVariantMap &props) | QgsSymbolLayerUtils | static |
rescaleUom(QPointF point, Qgis::RenderUnit unit, const QVariantMap &props) | QgsSymbolLayerUtils | static |
rescaleUom(const QVector< qreal > &array, Qgis::RenderUnit unit, const QVariantMap &props) | QgsSymbolLayerUtils | static |
resetSymbolLayerIds(QgsSymbol *symbol) | QgsSymbolLayerUtils | static |
resetSymbolLayerIds(QgsSymbolLayer *symbolLayer) | QgsSymbolLayerUtils | static |
restrictedSizeSymbol(const QgsSymbol *s, double minSize, double maxSize, QgsRenderContext *context, double &width, double &height, bool *ok=nullptr) | QgsSymbolLayerUtils | static |
rotationFromSldElement(QDomElement &element, QString &rotationFunc) | QgsSymbolLayerUtils | static |
saveColorRamp(const QString &name, QgsColorRamp *ramp, QDomDocument &doc) | QgsSymbolLayerUtils | static |
saveColorsToGpl(QFile &file, const QString &paletteName, const QgsNamedColorList &colors) | QgsSymbolLayerUtils | static |
saveProperties(QVariantMap props, QDomDocument &doc, QDomElement &element) | QgsSymbolLayerUtils | static |
saveSymbol(const QString &symbolName, const QgsSymbol *symbol, QDomDocument &doc, const QgsReadWriteContext &context) | QgsSymbolLayerUtils | static |
saveSymbols(QgsSymbolMap &symbols, const QString &tagName, QDomDocument &doc, const QgsReadWriteContext &context) | QgsSymbolLayerUtils | static |
sizeInPixelsFromSldUom(const QString &uom, double size) | QgsSymbolLayerUtils | static |
sortVariantList(QList< QVariant > &list, Qt::SortOrder order) | QgsSymbolLayerUtils | static |
svgSymbolNameToPath(const QString &name, const QgsPathResolver &pathResolver) | QgsSymbolLayerUtils | static |
svgSymbolPathToName(const QString &path, const QgsPathResolver &pathResolver) | QgsSymbolLayerUtils | static |
symbolFromMimeData(const QMimeData *data) | QgsSymbolLayerUtils | static |
symbolLayerPreviewIcon(const QgsSymbolLayer *layer, Qgis::RenderUnit u, QSize size, const QgsMapUnitScale &scale=QgsMapUnitScale(), Qgis::SymbolType parentSymbolType=Qgis::SymbolType::Hybrid, QgsMapLayer *mapLayer=nullptr, const QgsScreenProperties &screen=QgsScreenProperties()) | QgsSymbolLayerUtils | static |
symbolLayerPreviewPicture(const QgsSymbolLayer *layer, Qgis::RenderUnit units, QSize size, const QgsMapUnitScale &scale=QgsMapUnitScale(), Qgis::SymbolType parentSymbolType=Qgis::SymbolType::Hybrid) | QgsSymbolLayerUtils | static |
symbolPreviewIcon(const QgsSymbol *symbol, QSize size, int padding=0, QgsLegendPatchShape *shape=nullptr, const QgsScreenProperties &screen=QgsScreenProperties()) | QgsSymbolLayerUtils | static |
symbolPreviewPixmap(const QgsSymbol *symbol, QSize size, int padding=0, QgsRenderContext *customContext=nullptr, bool selected=false, const QgsExpressionContext *expressionContext=nullptr, const QgsLegendPatchShape *shape=nullptr, const QgsScreenProperties &screen=QgsScreenProperties()) | QgsSymbolLayerUtils | static |
symbolProperties(QgsSymbol *symbol) | QgsSymbolLayerUtils | static |
symbolToMimeData(const QgsSymbol *symbol) | QgsSymbolLayerUtils | static |
tileSize(int width, int height, double &angleRad) | QgsSymbolLayerUtils | static |
toPoint(const QVariant &value, bool *ok=nullptr) | QgsSymbolLayerUtils | static |
toQPolygonF(const QgsGeometry &geometry, Qgis::SymbolType type) | QgsSymbolLayerUtils | static |
toSize(const QVariant &value, bool *ok=nullptr) | QgsSymbolLayerUtils | static |
toSymbolLayerPointers(const QgsFeatureRenderer *renderer, const QSet< QgsSymbolLayerId > &symbolLayerIds) | QgsSymbolLayerUtils | static |
wellKnownMarkerFromSld(QDomElement &element, QString &name, QColor &color, QColor &strokeColor, Qt::PenStyle &strokeStyle, double &strokeWidth, double &size) | QgsSymbolLayerUtils | static |
wellKnownMarkerToSld(QDomDocument &doc, QDomElement &element, const QString &name, const QColor &color, const QColor &strokeColor, Qt::PenStyle strokeStyle, double strokeWidth=-1, double size=-1) | QgsSymbolLayerUtils | static |