QGIS API Documentation
3.10.0-A Coruña (6c816b4204)
|
Utility functions for text rendering. More...
#include <qgstextrenderer.h>
Static Public Member Functions | |
static QgsTextBackgroundSettings::RotationType | decodeBackgroundRotationType (const QString &string) |
Decodes a string representation of a background rotation type to a type. More... | |
static QgsTextBackgroundSettings::SizeType | decodeBackgroundSizeType (const QString &string) |
Decodes a string representation of a background size type to a type. More... | |
static QgsTextShadowSettings::ShadowPlacement | decodeShadowPlacementType (const QString &string) |
Decodes a string representation of a shadow placement type to a type. More... | |
static QgsTextBackgroundSettings::ShapeType | decodeShapeType (const QString &string) |
Decodes a string representation of a background shape type to a type. More... | |
static QgsTextFormat::TextOrientation | decodeTextOrientation (const QString &name, bool *ok=nullptr) |
Attempts to decode a string representation of a text orientation. More... | |
static QString | encodeTextOrientation (QgsTextFormat::TextOrientation orientation) |
Encodes a text orientation. More... | |
Utility functions for text rendering.
Definition at line 1629 of file qgstextrenderer.h.
|
static |
Decodes a string representation of a background rotation type to a type.
Definition at line 3752 of file qgstextrenderer.cpp.
|
static |
Decodes a string representation of a background size type to a type.
Definition at line 3739 of file qgstextrenderer.cpp.
|
static |
Decodes a string representation of a shadow placement type to a type.
Definition at line 3769 of file qgstextrenderer.cpp.
|
static |
Decodes a string representation of a background shape type to a type.
Definition at line 3711 of file qgstextrenderer.cpp.
|
static |
Attempts to decode a string representation of a text orientation.
name | encoded text orientation name |
ok | if specified, will be set to true if the name was successfully decoded |
Definition at line 3804 of file qgstextrenderer.cpp.
|
static |
Encodes a text orientation.
Definition at line 3790 of file qgstextrenderer.cpp.