QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
This is the complete list of members for QgsTextRenderer, including all inherited members.
calculateScaleFactorForFormat(const QgsRenderContext &context, const QgsTextFormat &format) | QgsTextRenderer | static |
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 |
drawDocument(QPointF point, const QgsTextFormat &format, const QgsTextDocument &document, const QgsTextDocumentMetrics &metrics, QgsRenderContext &context, Qgis::TextHorizontalAlignment alignment, double rotation) | QgsTextRenderer | static |
drawDocumentOnLine(const QPolygonF &line, const QgsTextFormat &format, const QgsTextDocument &document, QgsRenderContext &context, double offsetAlongLine=0, double offsetFromLine=0) | 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 |
drawTextOnLine(const QPolygonF &line, const QString &text, QgsRenderContext &context, const QgsTextFormat &format, double offsetAlongLine=0, double offsetFromLine=0) | 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 |
SUPERSCRIPT_SUBSCRIPT_FONT_SIZE_SCALING_FACTOR | 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 |