QGIS API Documentation  2.14.11-Essen
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
QgsSymbolLayerV2Utils Member List

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

applyScaleDependency(QDomDocument &doc, QDomElement &ruleElem, const QgsStringMap &props)QgsSymbolLayerV2Utilsstatic
blurImageInPlace(QImage &image, QRect rect, int radius, bool alphaOnly)QgsSymbolLayerV2Utilsstatic
clearSymbolMap(QgsSymbolV2Map &symbols)QgsSymbolLayerV2Utilsstatic
colorFromMimeData(const QMimeData *data, bool &hasAlpha)QgsSymbolLayerV2Utilsstatic
colorListFromMimeData(const QMimeData *data)QgsSymbolLayerV2Utilsstatic
colorListToMimeData(const QgsNamedColorList &colorList, const bool allFormats=true)QgsSymbolLayerV2Utilsstatic
colorRampPreviewIcon(QgsVectorColorRampV2 *ramp, QSize size)QgsSymbolLayerV2Utilsstatic
colorRampPreviewPixmap(QgsVectorColorRampV2 *ramp, QSize size)QgsSymbolLayerV2Utilsstatic
colorToMimeData(const QColor &color)QgsSymbolLayerV2Utilsstatic
colorToName(const QColor &color)QgsSymbolLayerV2Utilsstatic
convertPolygonSymbolizerToPointMarker(QDomElement &element, QgsSymbolLayerV2List &layerList)QgsSymbolLayerV2Utilsstatic
convertToPainterUnits(const QgsRenderContext &c, double size, QgsSymbolV2::OutputUnit unit, const QgsMapUnitScale &scale=QgsMapUnitScale())QgsSymbolLayerV2Utilsstatic
createDisplacementElement(QDomDocument &doc, QDomElement &element, QPointF offset)QgsSymbolLayerV2Utilsstatic
createExpressionElement(QDomDocument &doc, QDomElement &element, const QString &function)QgsSymbolLayerV2Utilsstatic
createFillLayerFromSld(QDomElement &element)QgsSymbolLayerV2Utilsstatic
createFunctionElement(QDomDocument &doc, QDomElement &element, const QString &function)QgsSymbolLayerV2Utilsstatic
createGeometryElement(QDomDocument &doc, QDomElement &element, const QString &geomFunc)QgsSymbolLayerV2Utilsstatic
createLineLayerFromSld(QDomElement &element)QgsSymbolLayerV2Utilsstatic
createMarkerLayerFromSld(QDomElement &element)QgsSymbolLayerV2Utilsstatic
createOnlineResourceElement(QDomDocument &doc, QDomElement &element, const QString &path, const QString &format)QgsSymbolLayerV2Utilsstatic
createOpacityElement(QDomDocument &doc, QDomElement &element, const QString &alphaFunc)QgsSymbolLayerV2Utilsstatic
createRenderContext(QPainter *p)QgsSymbolLayerV2Utilsstatic
createRotationElement(QDomDocument &doc, QDomElement &element, const QString &rotationFunc)QgsSymbolLayerV2Utilsstatic
createSvgParameterElement(QDomDocument &doc, const QString &name, const QString &value)QgsSymbolLayerV2Utilsstatic
createSymbolLayerV2ListFromSld(QDomElement &element, QGis::GeometryType geomType, QgsSymbolLayerV2List &layers)QgsSymbolLayerV2Utilsstatic
createVendorOptionElement(QDomDocument &doc, const QString &name, const QString &value)QgsSymbolLayerV2Utilsstatic
decodeBlendMode(const QString &s)QgsSymbolLayerV2Utilsstatic
decodeBrushStyle(const QString &str)QgsSymbolLayerV2Utilsstatic
decodeColor(const QString &str)QgsSymbolLayerV2Utilsstatic
decodeMapUnitScale(const QString &str)QgsSymbolLayerV2Utilsstatic
decodeOutputUnit(const QString &str)QgsSymbolLayerV2Utilsstatic
decodePenCapStyle(const QString &str)QgsSymbolLayerV2Utilsstatic
decodePenJoinStyle(const QString &str)QgsSymbolLayerV2Utilsstatic
decodePenStyle(const QString &str)QgsSymbolLayerV2Utilsstatic
decodePoint(const QString &str)QgsSymbolLayerV2Utilsstatic
decodeRealVector(const QString &s)QgsSymbolLayerV2Utilsstatic
decodeScaleMethod(const QString &str)QgsSymbolLayerV2Utilsstatic
decodeSldAlpha(const QString &str)QgsSymbolLayerV2Utilsstatic
decodeSldBrushStyle(const QString &str)QgsSymbolLayerV2Utilsstatic
decodeSldFontStyle(const QString &str)QgsSymbolLayerV2Utilsstatic
decodeSldFontWeight(const QString &str)QgsSymbolLayerV2Utilsstatic
decodeSldLineCapStyle(const QString &str)QgsSymbolLayerV2Utilsstatic
decodeSldLineJoinStyle(const QString &str)QgsSymbolLayerV2Utilsstatic
decodeSldRealVector(const QString &s)QgsSymbolLayerV2Utilsstatic
decodeSldUom(const QString &str, double *scaleFactor)QgsSymbolLayerV2Utilsstatic
displacementFromSldElement(QDomElement &element, QPointF &offset)QgsSymbolLayerV2Utilsstatic
drawStippledBackground(QPainter *painter, QRect rect)QgsSymbolLayerV2Utilsstatic
encodeBrushStyle(Qt::BrushStyle style)QgsSymbolLayerV2Utilsstatic
encodeColor(const QColor &color)QgsSymbolLayerV2Utilsstatic
encodeMapUnitScale(const QgsMapUnitScale &mapUnitScale)QgsSymbolLayerV2Utilsstatic
encodeOutputUnit(QgsSymbolV2::OutputUnit unit)QgsSymbolLayerV2Utilsstatic
encodePenCapStyle(Qt::PenCapStyle style)QgsSymbolLayerV2Utilsstatic
encodePenJoinStyle(Qt::PenJoinStyle style)QgsSymbolLayerV2Utilsstatic
encodePenStyle(Qt::PenStyle style)QgsSymbolLayerV2Utilsstatic
encodePoint(QPointF point)QgsSymbolLayerV2Utilsstatic
encodeRealVector(const QVector< qreal > &v)QgsSymbolLayerV2Utilsstatic
encodeScaleMethod(QgsSymbolV2::ScaleMethod scaleMethod)QgsSymbolLayerV2Utilsstatic
encodeSldAlpha(int alpha)QgsSymbolLayerV2Utilsstatic
encodeSldBrushStyle(Qt::BrushStyle style)QgsSymbolLayerV2Utilsstatic
encodeSldFontStyle(QFont::Style style)QgsSymbolLayerV2Utilsstatic
encodeSldFontWeight(int weight)QgsSymbolLayerV2Utilsstatic
encodeSldLineCapStyle(Qt::PenCapStyle style)QgsSymbolLayerV2Utilsstatic
encodeSldLineJoinStyle(Qt::PenJoinStyle style)QgsSymbolLayerV2Utilsstatic
encodeSldRealVector(const QVector< qreal > &v)QgsSymbolLayerV2Utilsstatic
encodeSldUom(QgsSymbolV2::OutputUnit unit, double *scaleFactor)QgsSymbolLayerV2Utilsstatic
estimateMaxSymbolBleed(QgsSymbolV2 *symbol)QgsSymbolLayerV2Utilsstatic
externalGraphicFromSld(QDomElement &element, QString &path, QString &mime, QColor &color, double &size)QgsSymbolLayerV2Utilsstatic
externalGraphicToSld(QDomDocument &doc, QDomElement &element, const QString &path, const QString &mime, const QColor &color, double size=-1)QgsSymbolLayerV2Utilsstatic
externalMarkerFromSld(QDomElement &element, QString &path, QString &format, int &markIndex, QColor &color, double &size)QgsSymbolLayerV2Utilsstatic
externalMarkerToSld(QDomDocument &doc, QDomElement &element, const QString &path, const QString &format, int *markIndex=nullptr, const QColor &color=QColor(), double size=-1)QgsSymbolLayerV2Utilsstatic
fieldOrExpressionFromExpression(QgsExpression *expression)QgsSymbolLayerV2Utilsstatic
fieldOrExpressionToExpression(const QString &fieldOrExpression)QgsSymbolLayerV2Utilsstatic
fillFromSld(QDomElement &element, Qt::BrushStyle &brushStyle, QColor &color)QgsSymbolLayerV2Utilsstatic
fillToSld(QDomDocument &doc, QDomElement &element, Qt::BrushStyle brushStyle, const QColor &color=QColor())QgsSymbolLayerV2Utilsstatic
functionFromSldElement(QDomElement &element, QString &function)QgsSymbolLayerV2Utilsstatic
geometryFromSldElement(QDomElement &element, QString &geomFunc)QgsSymbolLayerV2Utilsstatic
getSvgParameterList(QDomElement &element)QgsSymbolLayerV2Utilsstatic
getVendorOptionList(QDomElement &element)QgsSymbolLayerV2Utilsstatic
hasExternalGraphic(QDomElement &element)QgsSymbolLayerV2Utilsstatic
hasWellKnownMark(QDomElement &element)QgsSymbolLayerV2Utilsstatic
importColorsFromGpl(QFile &file, bool &ok, QString &name)QgsSymbolLayerV2Utilsstatic
labelTextToSld(QDomDocument &doc, QDomElement &element, const QString &label, const QFont &font, const QColor &color=QColor(), double size=-1)QgsSymbolLayerV2Utilsstatic
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)QgsSymbolLayerV2Utilsstatic
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)QgsSymbolLayerV2Utilsstatic
lineWidthScaleFactor(const QgsRenderContext &c, QgsSymbolV2::OutputUnit u, const QgsMapUnitScale &scale=QgsMapUnitScale())QgsSymbolLayerV2Utilsstatic
listSvgFiles()QgsSymbolLayerV2Utilsstatic
listSvgFilesAt(const QString &directory)QgsSymbolLayerV2Utilsstatic
loadColorRamp(QDomElement &element)QgsSymbolLayerV2Utilsstatic
loadSymbol(const QDomElement &element)QgsSymbolLayerV2Utilsstatic
loadSymbol(const QDomElement &element)QgsSymbolLayerV2Utilsinlinestatic
loadSymbolLayer(QDomElement &element)QgsSymbolLayerV2Utilsstatic
loadSymbols(QDomElement &element)QgsSymbolLayerV2Utilsstatic
mapUnitScaleFactor(const QgsRenderContext &c, QgsSymbolV2::OutputUnit u, const QgsMapUnitScale &scale=QgsMapUnitScale())QgsSymbolLayerV2Utilsstatic
mergeScaleDependencies(int mScaleMinDenom, int mScaleMaxDenom, QgsStringMap &props)QgsSymbolLayerV2Utilsstatic
multiplyImageOpacity(QImage *image, qreal alpha)QgsSymbolLayerV2Utilsstatic
needEllipseMarker(QDomElement &element)QgsSymbolLayerV2Utilsstatic
needFontMarker(QDomElement &element)QgsSymbolLayerV2Utilsstatic
needLinePatternFill(QDomElement &element)QgsSymbolLayerV2Utilsstatic
needMarkerLine(QDomElement &element)QgsSymbolLayerV2Utilsstatic
needPointPatternFill(QDomElement &element)QgsSymbolLayerV2Utilsstatic
needSvgFill(QDomElement &element)QgsSymbolLayerV2Utilsstatic
needSvgMarker(QDomElement &element)QgsSymbolLayerV2Utilsstatic
ogrFeatureStyleBrush(const QColor &fillColr)QgsSymbolLayerV2Utilsstatic
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)QgsSymbolLayerV2Utilsstatic
onlineResourceFromSldElement(QDomElement &element, QString &path, QString &format)QgsSymbolLayerV2Utilsstatic
opacityFromSldElement(QDomElement &element, QString &alphaFunc)QgsSymbolLayerV2Utilsstatic
parseColor(const QString &colorStr, bool strictEval=false)QgsSymbolLayerV2Utilsstatic
parseColorList(const QString &colorStr)QgsSymbolLayerV2Utilsstatic
parseColorWithAlpha(const QString &colorStr, bool &containsAlpha, bool strictEval=false)QgsSymbolLayerV2Utilsstatic
parseProperties(QDomElement &element)QgsSymbolLayerV2Utilsstatic
pixelSizeScaleFactor(const QgsRenderContext &c, QgsSymbolV2::OutputUnit u, const QgsMapUnitScale &scale=QgsMapUnitScale())QgsSymbolLayerV2Utilsstatic
pointInPolygon(const QPolygonF &points, QPointF point)QgsSymbolLayerV2Utilsstatic
pointOnLineWithDistance(QPointF startPoint, QPointF directionPoint, double distance)QgsSymbolLayerV2Utilsstatic
polygonCentroid(const QPolygonF &points)QgsSymbolLayerV2Utilsstatic
polygonPointOnSurface(const QPolygonF &points)QgsSymbolLayerV2Utilsstatic
premultiplyColor(QColor &rgb, int alpha)QgsSymbolLayerV2Utilsstatic
prettyBreaks(double minimum, double maximum, int classes)QgsSymbolLayerV2Utilsstatic
rescaleUom(double size, QgsSymbolV2::OutputUnit unit, const QgsStringMap &props)QgsSymbolLayerV2Utilsstatic
rescaleUom(const QPointF &point, QgsSymbolV2::OutputUnit unit, const QgsStringMap &props)QgsSymbolLayerV2Utilsstatic
rescaleUom(const QVector< qreal > &array, QgsSymbolV2::OutputUnit unit, const QgsStringMap &props)QgsSymbolLayerV2Utilsstatic
rotationFromSldElement(QDomElement &element, QString &rotationFunc)QgsSymbolLayerV2Utilsstatic
saveColorRamp(const QString &name, QgsVectorColorRampV2 *ramp, QDomDocument &doc)QgsSymbolLayerV2Utilsstatic
saveColorsToGpl(QFile &file, const QString &paletteName, const QgsNamedColorList &colors)QgsSymbolLayerV2Utilsstatic
saveProperties(QgsStringMap props, QDomDocument &doc, QDomElement &element)QgsSymbolLayerV2Utilsstatic
saveSymbol(const QString &symbolName, QgsSymbolV2 *symbol, QDomDocument &doc)QgsSymbolLayerV2Utilsstatic
saveSymbols(QgsSymbolV2Map &symbols, const QString &tagName, QDomDocument &doc)QgsSymbolLayerV2Utilsstatic
sortVariantList(QList< QVariant > &list, Qt::SortOrder order)QgsSymbolLayerV2Utilsstatic
symbolLayerPreviewIcon(QgsSymbolLayerV2 *layer, QgsSymbolV2::OutputUnit u, QSize size, const QgsMapUnitScale &scale=QgsMapUnitScale())QgsSymbolLayerV2Utilsstatic
symbolLayerPreviewPicture(QgsSymbolLayerV2 *layer, QgsSymbolV2::OutputUnit units, QSize size, const QgsMapUnitScale &scale=QgsMapUnitScale())QgsSymbolLayerV2Utilsstatic
symbolNameToPath(QString name)QgsSymbolLayerV2Utilsstatic
symbolPathToName(QString path)QgsSymbolLayerV2Utilsstatic
symbolPreviewIcon(QgsSymbolV2 *symbol, QSize size)QgsSymbolLayerV2Utilsstatic
symbolPreviewPixmap(QgsSymbolV2 *symbol, QSize size, QgsRenderContext *customContext=nullptr)QgsSymbolLayerV2Utilsstatic
symbolProperties(QgsSymbolV2 *symbol)QgsSymbolLayerV2Utilsstatic
wellKnownMarkerFromSld(QDomElement &element, QString &name, QColor &color, QColor &borderColor, double &borderWidth, double &size)QgsSymbolLayerV2Utilsstatic
wellKnownMarkerFromSld(QDomElement &element, QString &name, QColor &color, QColor &borderColor, Qt::PenStyle &borderStyle, double &borderWidth, double &size)QgsSymbolLayerV2Utilsstatic
wellKnownMarkerToSld(QDomDocument &doc, QDomElement &element, const QString &name, const QColor &color, const QColor &borderColor=QColor(), double borderWidth=-1, double size=-1)QgsSymbolLayerV2Utilsstatic
wellKnownMarkerToSld(QDomDocument &doc, QDomElement &element, const QString &name, const QColor &color, const QColor &borderColor, Qt::PenStyle borderStyle, double borderWidth=-1, double size=-1)QgsSymbolLayerV2Utilsstatic