QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
|
This is the complete list of members for QgsTextRenderer, including all inherited members.
convertQtHAlignment(Qt::Alignment alignment) | QgsTextRenderer | static |
convertQtVAlignment(Qt::Alignment alignment) | QgsTextRenderer | static |
drawDocument(const QRectF &rect, const QgsTextFormat &format, const QgsTextDocument &document, const QgsTextDocumentMetrics &metrics, QgsRenderContext &context, Qgis::TextHorizontalAlignment horizontalAlignment=Qgis::TextHorizontalAlignment::Left, Qgis::TextVerticalAlignment verticalAlignment=Qgis::TextVerticalAlignment::Top, double rotation=0, Qgis::TextLayoutMode mode=Qgis::TextLayoutMode::Rectangle, Qgis::TextRendererFlags flags=Qgis::TextRendererFlags()) | QgsTextRenderer | static |
drawPart(const QRectF &rect, double rotation, Qgis::TextHorizontalAlignment alignment, const QStringList &textLines, QgsRenderContext &context, const QgsTextFormat &format, Qgis::TextComponent part, bool drawAsOutlines=true) | QgsTextRenderer | static |
drawPart(QPointF origin, double rotation, Qgis::TextHorizontalAlignment alignment, const QStringList &textLines, QgsRenderContext &context, const QgsTextFormat &format, Qgis::TextComponent part, bool drawAsOutlines=true) | QgsTextRenderer | static |
drawText(const QRectF &rect, double rotation, Qgis::TextHorizontalAlignment alignment, const QStringList &textLines, QgsRenderContext &context, const QgsTextFormat &format, bool drawAsOutlines=true, Qgis::TextVerticalAlignment vAlignment=Qgis::TextVerticalAlignment::Top, Qgis::TextRendererFlags flags=Qgis::TextRendererFlags(), Qgis::TextLayoutMode mode=Qgis::TextLayoutMode::Rectangle) | QgsTextRenderer | static |
drawText(QPointF point, double rotation, Qgis::TextHorizontalAlignment alignment, const QStringList &textLines, QgsRenderContext &context, const QgsTextFormat &format, bool drawAsOutlines=true) | QgsTextRenderer | static |
FONT_WORKAROUND_SCALE | QgsTextRenderer | static |
fontMetrics(QgsRenderContext &context, const QgsTextFormat &format, double scaleFactor=1.0) | QgsTextRenderer | static |
QgsLabelPreview | QgsTextRenderer | friend |
QgsVectorLayerLabelProvider | QgsTextRenderer | friend |
sizeToPixel(double size, const QgsRenderContext &c, Qgis::RenderUnit unit, const QgsMapUnitScale &mapUnitScale=QgsMapUnitScale()) | QgsTextRenderer | static |
textHeight(const QgsRenderContext &context, const QgsTextFormat &format, const QStringList &textLines, Qgis::TextLayoutMode mode=Qgis::TextLayoutMode::Point, QFontMetricsF *fontMetrics=nullptr, Qgis::TextRendererFlags flags=Qgis::TextRendererFlags(), double maxLineWidth=0) | QgsTextRenderer | static |
textHeight(const QgsRenderContext &context, const QgsTextFormat &format, QChar character, bool includeEffects=false) | QgsTextRenderer | static |
textRequiresWrapping(const QgsRenderContext &context, const QString &text, double width, const QgsTextFormat &format) | QgsTextRenderer | static |
textWidth(const QgsRenderContext &context, const QgsTextFormat &format, const QStringList &textLines, QFontMetricsF *fontMetrics=nullptr) | QgsTextRenderer | static |
wrappedText(const QgsRenderContext &context, const QString &text, double width, const QgsTextFormat &format) | QgsTextRenderer | static |