QGIS API Documentation
2.8.2-Wien
|
#include <qgssymbollayerv2utils.h>
Static Public Member Functions | |
static void | blurImageInPlace (QImage &image, const QRect &rect, int radius, bool alphaOnly) |
Blurs an image in place, e.g. | |
static void | clearSymbolMap (QgsSymbolV2Map &symbols) |
static QColor | colorFromMimeData (const QMimeData *data, bool &hasAlpha) |
Attempts to parse mime data as a color. | |
static QgsNamedColorList | colorListFromMimeData (const QMimeData *data) |
Attempts to parse mime data as a list of named colors. | |
static QMimeData * | colorListToMimeData (const QgsNamedColorList colorList, const bool allFormats=true) |
Creates mime data from a list of named colors. | |
static QIcon | colorRampPreviewIcon (QgsVectorColorRampV2 *ramp, QSize size) |
static QPixmap | colorRampPreviewPixmap (QgsVectorColorRampV2 *ramp, QSize size) |
static QMimeData * | colorToMimeData (const QColor &color) |
Creates mime data from a color. | |
static QString | colorToName (const QColor &color) |
Returns a friendly display name for a color. | |
static bool | convertPolygonSymbolizerToPointMarker (QDomElement &element, QgsSymbolLayerV2List &layerList) |
static void | createDisplacementElement (QDomDocument &doc, QDomElement &element, QPointF offset) |
static QgsSymbolLayerV2 * | createFillLayerFromSld (QDomElement &element) |
static bool | createFunctionElement (QDomDocument &doc, QDomElement &element, QString function) |
static void | createGeometryElement (QDomDocument &doc, QDomElement &element, QString geomFunc) |
static QgsSymbolLayerV2 * | createLineLayerFromSld (QDomElement &element) |
static QgsSymbolLayerV2 * | createMarkerLayerFromSld (QDomElement &element) |
static void | createOnlineResourceElement (QDomDocument &doc, QDomElement &element, QString path, QString format) |
static void | createOpacityElement (QDomDocument &doc, QDomElement &element, QString alphaFunc) |
static QgsRenderContext | createRenderContext (QPainter *p) |
Creates a render context for a pixel based device. | |
static void | createRotationElement (QDomDocument &doc, QDomElement &element, QString rotationFunc) |
static QDomElement | createSvgParameterElement (QDomDocument &doc, QString name, QString value) |
static bool | createSymbolLayerV2ListFromSld (QDomElement &element, QGis::GeometryType geomType, QgsSymbolLayerV2List &layers) |
static QDomElement | createVendorOptionElement (QDomDocument &doc, QString name, QString value) |
static QPainter::CompositionMode | decodeBlendMode (const QString &s) |
static Qt::BrushStyle | decodeBrushStyle (QString str) |
static QColor | decodeColor (QString str) |
static QgsMapUnitScale | decodeMapUnitScale (const QString &str) |
static QgsSymbolV2::OutputUnit | decodeOutputUnit (QString str) |
static Qt::PenCapStyle | decodePenCapStyle (QString str) |
static Qt::PenJoinStyle | decodePenJoinStyle (QString str) |
static Qt::PenStyle | decodePenStyle (QString str) |
static QPointF | decodePoint (QString str) |
static QVector< qreal > | decodeRealVector (const QString &s) |
static QgsSymbolV2::ScaleMethod | decodeScaleMethod (QString str) |
static int | decodeSldAlpha (QString str) |
static Qt::BrushStyle | decodeSldBrushStyle (QString str) |
static QFont::Style | decodeSldFontStyle (QString str) |
static int | decodeSldFontWeight (QString str) |
static Qt::PenCapStyle | decodeSldLineCapStyle (QString str) |
static Qt::PenJoinStyle | decodeSldLineJoinStyle (QString str) |
static QVector< qreal > | decodeSldRealVector (const QString &s) |
static QgsSymbolV2::OutputUnit | decodeSldUom (QString str, double *scaleFactor) |
static bool | displacementFromSldElement (QDomElement &element, QPointF &offset) |
static void | drawStippledBackground (QPainter *painter, QRect rect) |
static QString | encodeBrushStyle (Qt::BrushStyle style) |
static QString | encodeColor (QColor color) |
static QString | encodeMapUnitScale (const QgsMapUnitScale &mapUnitScale) |
static QString | encodeOutputUnit (QgsSymbolV2::OutputUnit unit) |
static QString | encodePenCapStyle (Qt::PenCapStyle style) |
static QString | encodePenJoinStyle (Qt::PenJoinStyle style) |
static QString | encodePenStyle (Qt::PenStyle style) |
static QString | encodePoint (QPointF point) |
static QString | encodeRealVector (const QVector< qreal > &v) |
static QString | encodeScaleMethod (QgsSymbolV2::ScaleMethod scaleMethod) |
static QString | encodeSldAlpha (int alpha) |
static QString | encodeSldBrushStyle (Qt::BrushStyle style) |
static QString | encodeSldFontStyle (QFont::Style style) |
static QString | encodeSldFontWeight (int weight) |
static QString | encodeSldLineCapStyle (Qt::PenCapStyle style) |
static QString | encodeSldLineJoinStyle (Qt::PenJoinStyle style) |
static QString | encodeSldRealVector (const QVector< qreal > &v) |
static QString | encodeSldUom (QgsSymbolV2::OutputUnit unit, double *scaleFactor) |
static double | estimateMaxSymbolBleed (QgsSymbolV2 *symbol) |
Returns the maximum estimated bleed for the symbol. | |
static bool | externalGraphicFromSld (QDomElement &element, QString &path, QString &mime, QColor &color, double &size) |
static void | externalGraphicToSld (QDomDocument &doc, QDomElement &element, QString path, QString mime, QColor color, double size=-1) |
static bool | externalMarkerFromSld (QDomElement &element, QString &path, QString &format, int &markIndex, QColor &color, double &size) |
static void | externalMarkerToSld (QDomDocument &doc, QDomElement &element, QString path, QString format, int *markIndex=0, QColor color=QColor(), double size=-1) |
static QString | fieldOrExpressionFromExpression (QgsExpression *expression) |
Return a field name if the whole expression is just a name of the field . | |
static QgsExpression * | fieldOrExpressionToExpression (const QString &fieldOrExpression) |
Return a new valid expression instance for given field or expression string. | |
static bool | fillFromSld (QDomElement &element, Qt::BrushStyle &brushStyle, QColor &color) |
static void | fillToSld (QDomDocument &doc, QDomElement &element, Qt::BrushStyle brushStyle, QColor color=QColor()) |
static bool | functionFromSldElement (QDomElement &element, QString &function) |
static bool | geometryFromSldElement (QDomElement &element, QString &geomFunc) |
static QgsStringMap | getSvgParameterList (QDomElement &element) |
static QgsStringMap | getVendorOptionList (QDomElement &element) |
static bool | hasExternalGraphic (QDomElement &element) |
static bool | hasWellKnownMark (QDomElement &element) |
static QgsNamedColorList | importColorsFromGpl (QFile &file, bool &ok, QString &name) |
Imports colors from a gpl GIMP palette file. | |
static void | labelTextToSld (QDomDocument &doc, QDomElement &element, QString label, QFont font, QColor color=QColor(), double size=-1) |
static bool | lineFromSld (QDomElement &element, Qt::PenStyle &penStyle, QColor &color, double &width, Qt::PenJoinStyle *penJoinStyle=0, Qt::PenCapStyle *penCapStyle=0, QVector< qreal > *customDashPattern=0, double *dashOffset=0) |
static void | lineToSld (QDomDocument &doc, QDomElement &element, Qt::PenStyle penStyle, QColor color, double width=-1, const Qt::PenJoinStyle *penJoinStyle=0, const Qt::PenCapStyle *penCapStyle=0, const QVector< qreal > *customDashPattern=0, double dashOffset=0.0) |
static double | lineWidthScaleFactor (const QgsRenderContext &c, QgsSymbolV2::OutputUnit u, const QgsMapUnitScale &scale=QgsMapUnitScale()) |
Returns the line width scale factor depending on the unit and the paint device. | |
static QStringList | listSvgFiles () |
Return a list of all available svg files. | |
static QStringList | listSvgFilesAt (QString directory) |
Return a list of svg files at the specified directory. | |
static QgsVectorColorRampV2 * | loadColorRamp (QDomElement &element) |
static QgsSymbolV2 * | loadSymbol (const QDomElement &element) |
Attempts to load a symbol from a DOM element. | |
template<class SymbolType > | |
static SymbolType * | loadSymbol (const QDomElement &element) |
Attempts to load a symbol from a DOM element and cast it to a particular symbol type. | |
static QgsSymbolLayerV2 * | loadSymbolLayer (QDomElement &element) |
static QgsSymbolV2Map | loadSymbols (QDomElement &element) |
static void | multiplyImageOpacity (QImage *image, qreal alpha) |
Multiplies opacity of image pixel values with a (global) transparency value. | |
static bool | needEllipseMarker (QDomElement &element) |
static bool | needFontMarker (QDomElement &element) |
static bool | needLinePatternFill (QDomElement &element) |
static bool | needMarkerLine (QDomElement &element) |
static bool | needPointPatternFill (QDomElement &element) |
static bool | needSvgFill (QDomElement &element) |
static bool | needSvgMarker (QDomElement &element) |
static QString | ogrFeatureStyleBrush (const QColor &fillColr) |
Create ogr feature style string for brush. | |
static QString | 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=0) |
Create ogr feature style string for pen. | |
static bool | onlineResourceFromSldElement (QDomElement &element, QString &path, QString &format) |
static bool | opacityFromSldElement (QDomElement &element, QString &alphaFunc) |
static QColor | parseColor (QString colorStr, bool strictEval=false) |
Attempts to parse a string as a color using a variety of common formats, including hex codes, rgb and rgba strings. | |
static QList< QColor > | parseColorList (const QString colorStr) |
Attempts to parse a string as a list of colors using a variety of common formats, including hex codes, rgb and rgba strings. | |
static QColor | parseColorWithAlpha (const QString colorStr, bool &containsAlpha, bool strictEval=false) |
Attempts to parse a string as a color using a variety of common formats, including hex codes, rgb and rgba strings. | |
static QgsStringMap | parseProperties (QDomElement &element) |
static double | pixelSizeScaleFactor (const QgsRenderContext &c, QgsSymbolV2::OutputUnit u, const QgsMapUnitScale &scale=QgsMapUnitScale()) |
Returns scale factor painter units -> pixel dimensions. | |
static bool | pointInPolygon (const QPolygonF &points, const QPointF &point) |
Calculate whether a point is within of a QPolygonF. | |
static QPointF | pointOnLineWithDistance (const QPointF &startPoint, const QPointF &directionPoint, double distance) |
Returns a point on the line from startPoint to directionPoint that is a certain distance away from the starting point. | |
static QPointF | polygonCentroid (const QPolygonF &points) |
Calculate the centroid point of a QPolygonF. | |
static QPointF | polygonPointOnSurface (const QPolygonF &points) |
Calculate a point within of a QPolygonF. | |
static void | premultiplyColor (QColor &rgb, int alpha) |
Converts a QColor into a premultiplied ARGB QColor value using a specified alpha value. | |
static bool | rotationFromSldElement (QDomElement &element, QString &rotationFunc) |
static QDomElement | saveColorRamp (QString name, QgsVectorColorRampV2 *ramp, QDomDocument &doc) |
static bool | saveColorsToGpl (QFile &file, const QString paletteName, QgsNamedColorList colors) |
Exports colors to a gpl GIMP palette file. | |
static void | saveProperties (QgsStringMap props, QDomDocument &doc, QDomElement &element) |
static QDomElement | saveSymbol (QString symbolName, QgsSymbolV2 *symbol, QDomDocument &doc) |
static QDomElement | saveSymbols (QgsSymbolV2Map &symbols, QString tagName, QDomDocument &doc) |
static void | sortVariantList (QList< QVariant > &list, Qt::SortOrder order) |
Sorts the passed list in requested order. | |
static QIcon | symbolLayerPreviewIcon (QgsSymbolLayerV2 *layer, QgsSymbolV2::OutputUnit u, QSize size, const QgsMapUnitScale &scale=QgsMapUnitScale()) |
static QString | symbolNameToPath (QString name) |
Get symbol's path from its name. | |
static QString | symbolPathToName (QString path) |
Get symbols's name from its path. | |
static QIcon | symbolPreviewIcon (QgsSymbolV2 *symbol, QSize size) |
static QPixmap | symbolPreviewPixmap (QgsSymbolV2 *symbol, QSize size, QgsRenderContext *customContext=0) |
static Q_DECL_DEPRECATED bool | wellKnownMarkerFromSld (QDomElement &element, QString &name, QColor &color, QColor &borderColor, double &borderWidth, double &size) |
static bool | wellKnownMarkerFromSld (QDomElement &element, QString &name, QColor &color, QColor &borderColor, Qt::PenStyle &borderStyle, double &borderWidth, double &size) |
static Q_DECL_DEPRECATED void | wellKnownMarkerToSld (QDomDocument &doc, QDomElement &element, QString name, QColor color, QColor borderColor=QColor(), double borderWidth=-1, double size=-1) |
static void | wellKnownMarkerToSld (QDomDocument &doc, QDomElement &element, QString name, QColor color, QColor borderColor, Qt::PenStyle borderStyle, double borderWidth=-1, double size=-1) |
Definition at line 45 of file qgssymbollayerv2utils.h.
|
static |
Blurs an image in place, e.g.
creating Qt-independent drop shadows
Definition at line 3334 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2698 of file qgssymbollayerv2utils.cpp.
|
static |
Attempts to parse mime data as a color.
data | mime data to parse |
hasAlpha | will be set to true if mime data was interpreted as a color containing an explicit alpha value |
Definition at line 2830 of file qgssymbollayerv2utils.cpp.
|
static |
Attempts to parse mime data as a list of named colors.
data | mime data to parse |
Definition at line 2852 of file qgssymbollayerv2utils.cpp.
|
static |
Creates mime data from a list of named colors.
colorList | list of named colors |
allFormats | set to true to include additional mime formats, include text/plain and application/x-color |
Definition at line 2965 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 574 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 579 of file qgssymbollayerv2utils.cpp.
|
static |
Creates mime data from a color.
Sets both the mime data's color data, and the mime data's text with the color's hex code.
color | color to encode as mime data |
Definition at line 2820 of file qgssymbollayerv2utils.cpp.
|
static |
Returns a friendly display name for a color.
color | source color |
Definition at line 2741 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 1402 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2229 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 1144 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2430 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2387 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 1167 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 1186 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2481 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2209 of file qgssymbollayerv2utils.cpp.
|
static |
Creates a render context for a pixel based device.
Definition at line 3288 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2188 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2515 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 996 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2545 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 509 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 250 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 47 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 334 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 357 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 200 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 162 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 140 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 321 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 434 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 493 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 71 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 301 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 93 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 113 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 219 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 181 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 463 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 397 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2247 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 602 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 227 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 42 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 329 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 342 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 189 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 151 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 126 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 316 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 419 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 477 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 66 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 270 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 82 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 101 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 208 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 170 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 448 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 376 of file qgssymbollayerv2utils.cpp.
|
static |
Returns the maximum estimated bleed for the symbol.
Definition at line 547 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 1991 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 1971 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2046 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2016 of file qgssymbollayerv2utils.cpp.
|
static |
Return a field name if the whole expression is just a name of the field .
Returns full expression string if the expression is more complex than just one field. Using just expression->expression() method may return quoted field name, but that is not wanted for saving (due to backward compatibility) or display in GUI.
Definition at line 3749 of file qgssymbollayerv2utils.cpp.
|
static |
Return a new valid expression instance for given field or expression string.
If the input is not a valid expression, it is assumed that it is a field name and gets properly quoted. If the string is empty, returns null pointer. This is useful when accepting input which could be either a non-quoted field name or expression.
Definition at line 3733 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 1709 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 1658 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2445 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2421 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2523 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2553 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 1209 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 1250 of file qgssymbollayerv2utils.cpp.
|
static |
Imports colors from a gpl GIMP palette file.
file | source gpl file |
ok | will be true if file was successfully read |
name | will be set to palette name from gpl file, if present |
Definition at line 3041 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2276 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 1840 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 1763 of file qgssymbollayerv2utils.cpp.
|
static |
Returns the line width scale factor depending on the unit and the paint device.
Definition at line 3243 of file qgssymbollayerv2utils.cpp.
|
static |
Return a list of all available svg files.
Definition at line 3489 of file qgssymbollayerv2utils.cpp.
|
static |
Return a list of svg files at the specified directory.
Definition at line 3513 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2708 of file qgssymbollayerv2utils.cpp.
|
static |
Attempts to load a symbol from a DOM element.
element | DOM element representing symbol |
Definition at line 855 of file qgssymbollayerv2utils.cpp.
|
inlinestatic |
Attempts to load a symbol from a DOM element and cast it to a particular symbol type.
element | DOM element representing symbol |
Definition at line 130 of file qgssymbollayerv2utils.h.
|
static |
Definition at line 930 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2606 of file qgssymbollayerv2utils.cpp.
|
static |
Multiplies opacity of image pixel values with a (global) transparency value.
Definition at line 3304 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 1313 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 1268 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 1344 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 1331 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 1382 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 1388 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 1308 of file qgssymbollayerv2utils.cpp.
|
static |
Create ogr feature style string for brush.
fillColr | fill color |
Definition at line 2377 of file qgssymbollayerv2utils.cpp.
|
static |
Create ogr feature style string for pen.
Definition at line 2303 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2496 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2219 of file qgssymbollayerv2utils.cpp.
|
static |
Attempts to parse a string as a color using a variety of common formats, including hex codes, rgb and rgba strings.
colorStr | string representing the color |
strictEval | set to true for stricter color parsing rules |
Definition at line 3122 of file qgssymbollayerv2utils.cpp.
|
static |
Attempts to parse a string as a list of colors using a variety of common formats, including hex codes, rgb and rgba strings.
colorStr | string representing the color list |
Definition at line 2753 of file qgssymbollayerv2utils.cpp.
|
static |
Attempts to parse a string as a color using a variety of common formats, including hex codes, rgb and rgba strings.
colorStr | string representing the color |
containsAlpha | if colorStr contains an explicit alpha value then containsAlpha will be set to true |
strictEval | set to true for stricter color parsing rules |
Definition at line 3128 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2573 of file qgssymbollayerv2utils.cpp.
|
static |
Returns scale factor painter units -> pixel dimensions.
Definition at line 3264 of file qgssymbollayerv2utils.cpp.
|
static |
Calculate whether a point is within of a QPolygonF.
Definition at line 3707 of file qgssymbollayerv2utils.cpp.
|
static |
Returns a point on the line from startPoint to directionPoint that is a certain distance away from the starting point.
Definition at line 3479 of file qgssymbollayerv2utils.cpp.
|
static |
Calculate the centroid point of a QPolygonF.
Definition at line 3644 of file qgssymbollayerv2utils.cpp.
|
static |
Calculate a point within of a QPolygonF.
Definition at line 3676 of file qgssymbollayerv2utils.cpp.
|
static |
Converts a QColor into a premultiplied ARGB QColor value using a specified alpha value.
Definition at line 3410 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2198 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2731 of file qgssymbollayerv2utils.cpp.
|
static |
Exports colors to a gpl GIMP palette file.
file | destination file |
paletteName | name of palette, which is stored in gpl file |
colors | colors to export |
Definition at line 3006 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2595 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 965 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 2684 of file qgssymbollayerv2utils.cpp.
|
static |
Sorts the passed list in requested order.
Definition at line 3465 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 560 of file qgssymbollayerv2utils.cpp.
|
static |
Get symbol's path from its name.
If the name is not absolute path the file is searched in SVG paths specified in settings svg/searchPathsForSVG.
Definition at line 3538 of file qgssymbollayerv2utils.cpp.
|
static |
Get symbols's name from its path.
Definition at line 3613 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 526 of file qgssymbollayerv2utils.cpp.
|
static |
Definition at line 531 of file qgssymbollayerv2utils.cpp.
|
static |
|
static |
Definition at line 2141 of file qgssymbollayerv2utils.cpp.
|
static |
|
static |
Definition at line 2097 of file qgssymbollayerv2utils.cpp.