QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Contains helper utilities for working with QGIS' labeling engine. More...
#include <qgslabelingengine.h>
Static Public Member Functions | |
static QgsLabeling::LinePlacementFlags | decodeLinePlacementFlags (const QString &string) |
Decodes a string to set of line placement flags. More... | |
static QVector< QgsPalLayerSettings::PredefinedPointPosition > | decodePredefinedPositionOrder (const QString &positionString) |
Decodes a string to an ordered list of predefined point label positions. More... | |
static QString | encodeLinePlacementFlags (QgsLabeling::LinePlacementFlags flags) |
Encodes line placement flags to a string. More... | |
static QString | encodePredefinedPositionOrder (const QVector< QgsPalLayerSettings::PredefinedPointPosition > &positions) |
Encodes an ordered list of predefined point label positions to a string. More... | |
Contains helper utilities for working with QGIS' labeling engine.
Definition at line 397 of file qgslabelingengine.h.
|
static |
Decodes a string to set of line placement flags.
Definition at line 755 of file qgslabelingengine.cpp.
|
static |
Decodes a string to an ordered list of predefined point label positions.
positionString | encoded string of positions |
Definition at line 705 of file qgslabelingengine.cpp.
|
static |
Encodes line placement flags to a string.
Definition at line 741 of file qgslabelingengine.cpp.
|
static |
Encodes an ordered list of predefined point label positions to a string.
positions | order list of positions |
Definition at line 656 of file qgslabelingengine.cpp.