QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
QgsTextRenderer Member List

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

convertQtHAlignment(Qt::Alignment alignment)QgsTextRendererstatic
convertQtVAlignment(Qt::Alignment alignment)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())QgsTextRendererstatic
drawText(QPointF point, double rotation, Qgis::TextHorizontalAlignment alignment, const QStringList &textLines, QgsRenderContext &context, const QgsTextFormat &format, bool drawAsOutlines=true)QgsTextRendererstatic
FONT_WORKAROUND_SCALEQgsTextRendererstatic
fontMetrics(QgsRenderContext &context, const QgsTextFormat &format, double scaleFactor=1.0)QgsTextRendererstatic
QgsLabelPreviewQgsTextRendererfriend
QgsVectorLayerLabelProviderQgsTextRendererfriend
sizeToPixel(double size, const QgsRenderContext &c, QgsUnitTypes::RenderUnit unit, const QgsMapUnitScale &mapUnitScale=QgsMapUnitScale())QgsTextRendererstatic
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