QGIS API Documentation  3.4.15-Madeira (e83d02e274)
QgsLayoutUtils Member List

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

createRenderContextForLayout(QgsLayout *layout, QPainter *painter, double dpi=-1)QgsLayoutUtilsstatic
createRenderContextForMap(QgsLayoutItemMap *map, QPainter *painter, double dpi=-1)QgsLayoutUtilsstatic
decodePaperOrientation(const QString &string, bool &ok)QgsLayoutUtilsstatic
drawText(QPainter *painter, QPointF position, const QString &text, const QFont &font, const QColor &color=QColor())QgsLayoutUtilsstatic
drawText(QPainter *painter, const QRectF &rectangle, const QString &text, const QFont &font, const QColor &color=QColor(), Qt::AlignmentFlag halignment=Qt::AlignLeft, Qt::AlignmentFlag valignment=Qt::AlignTop, int flags=Qt::TextWordWrap)QgsLayoutUtilsstatic
fontAscentMM(const QFont &font)QgsLayoutUtilsstatic
fontDescentMM(const QFont &font)QgsLayoutUtilsstatic
fontHeightCharacterMM(const QFont &font, QChar character)QgsLayoutUtilsstatic
fontHeightMM(const QFont &font)QgsLayoutUtilsstatic
largestRotatedRectWithinBounds(const QRectF &originalRect, const QRectF &boundsRect, double rotation)QgsLayoutUtilsstatic
mapLayerFromString(const QString &string, QgsProject *project)QgsLayoutUtilsstatic
normalizedAngle(double angle, bool allowNegative=false)QgsLayoutUtilsstatic
relativePosition(double position, double beforeMin, double beforeMax, double afterMin, double afterMax)QgsLayoutUtilsstatic
relativeResizeRect(QRectF &rectToResize, const QRectF &boundsBefore, const QRectF &boundsAfter)QgsLayoutUtilsstatic
rotate(double angle, double &x, double &y)QgsLayoutUtilsstatic
scaledFontPixelSize(const QFont &font)QgsLayoutUtilsstatic
scaleFactorFromItemStyle(const QStyleOptionGraphicsItem *style)QgsLayoutUtilsstatic
snappedAngle(double angle)QgsLayoutUtilsstatic
TestQgsLayoutUtils classQgsLayoutUtilsfriend
textHeightMM(const QFont &font, const QString &text, double multiLineHeight=1.0)QgsLayoutUtilsstatic
textWidthMM(const QFont &font, const QString &text)QgsLayoutUtilsstatic