QGIS API Documentation  3.24.2-Tisler (13c1a02865)
QgsSymbolLayerUtils Member List

This is the complete list of members for QgsSymbolLayerUtils, including all inherited members.

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