QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
QgsTextRenderer Member List

This is the complete list of members for QgsTextRenderer, including all inherited members.

calculateScaleFactorForFormat(const QgsRenderContext &context, const QgsTextFormat &format)QgsTextRendererstatic
convertQtHAlignment(Qt::Alignment alignment)QgsTextRendererstatic
convertQtVAlignment(Qt::Alignment alignment)QgsTextRendererstatic
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())QgsTextRendererstatic
drawDocument(QPointF point, const QgsTextFormat &format, const QgsTextDocument &document, const QgsTextDocumentMetrics &metrics, QgsRenderContext &context, Qgis::TextHorizontalAlignment alignment, double rotation)QgsTextRendererstatic
drawDocumentOnLine(const QPolygonF &line, const QgsTextFormat &format, const QgsTextDocument &document, QgsRenderContext &context, double offsetAlongLine=0, double offsetFromLine=0)QgsTextRendererstatic
drawPart(const QRectF &rect, double rotation, Qgis::TextHorizontalAlignment alignment, const QStringList &textLines, QgsRenderContext &context, const QgsTextFormat &format, Qgis::TextComponent part, bool drawAsOutlines=true)QgsTextRendererstatic
drawPart(QPointF origin, double rotation, Qgis::TextHorizontalAlignment alignment, const QStringList &textLines, QgsRenderContext &context, const QgsTextFormat &format, Qgis::TextComponent part, bool drawAsOutlines=true)QgsTextRendererstatic
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)QgsTextRendererstatic
drawText(QPointF point, double rotation, Qgis::TextHorizontalAlignment alignment, const QStringList &textLines, QgsRenderContext &context, const QgsTextFormat &format, bool drawAsOutlines=true)QgsTextRendererstatic
drawTextOnLine(const QPolygonF &line, const QString &text, QgsRenderContext &context, const QgsTextFormat &format, double offsetAlongLine=0, double offsetFromLine=0)QgsTextRendererstatic
FONT_WORKAROUND_SCALEQgsTextRendererstatic
fontMetrics(QgsRenderContext &context, const QgsTextFormat &format, double scaleFactor=1.0)QgsTextRendererstatic
QgsLabelPreviewQgsTextRendererfriend
QgsVectorLayerLabelProviderQgsTextRendererfriend
sizeToPixel(double size, const QgsRenderContext &c, Qgis::RenderUnit unit, const QgsMapUnitScale &mapUnitScale=QgsMapUnitScale())QgsTextRendererstatic
SUPERSCRIPT_SUBSCRIPT_FONT_SIZE_SCALING_FACTORQgsTextRendererstatic
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)QgsTextRendererstatic
textHeight(const QgsRenderContext &context, const QgsTextFormat &format, QChar character, bool includeEffects=false)QgsTextRendererstatic
textRequiresWrapping(const QgsRenderContext &context, const QString &text, double width, const QgsTextFormat &format)QgsTextRendererstatic
textWidth(const QgsRenderContext &context, const QgsTextFormat &format, const QStringList &textLines, QFontMetricsF *fontMetrics=nullptr)QgsTextRendererstatic
wrappedText(const QgsRenderContext &context, const QString &text, double width, const QgsTextFormat &format)QgsTextRendererstatic