QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
|
Contains helper utilities for working with QGIS' labeling engine. More...
#include <qgslabelingengine.h>
Static Public Member Functions | |
static Qgis::LabelLinePlacementFlags | decodeLinePlacementFlags (const QString &string) |
Decodes a string to set of line placement flags. | |
static QVector< Qgis::LabelPredefinedPointPosition > | decodePredefinedPositionOrder (const QString &positionString) |
Decodes a string to an ordered list of predefined point label positions. | |
static QString | encodeLinePlacementFlags (Qgis::LabelLinePlacementFlags flags) |
Encodes line placement flags to a string. | |
static QString | encodePredefinedPositionOrder (const QVector< Qgis::LabelPredefinedPointPosition > &positions) |
Encodes an ordered list of predefined point label positions to a string. | |
Contains helper utilities for working with QGIS' labeling engine.
Definition at line 545 of file qgslabelingengine.h.
|
static |
Decodes a string to set of line placement flags.
Definition at line 839 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 787 of file qgslabelingengine.cpp.
|
static |
Encodes line placement flags to a string.
Definition at line 825 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 735 of file qgslabelingengine.cpp.