QGIS API Documentation 3.36.0-Maidenhead (09951dc0acf)
Loading...
Searching...
No Matches
QgsLayoutUtils Member List

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

calculatePrettySize(double minimumSize, double maximumSize)QgsLayoutUtilsstatic
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
itemIsAClippingSource(const QgsLayoutItem *item)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
predefinedScales(const QgsLayout *layout)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
scaleFactorFromItemStyle(const QStyleOptionGraphicsItem *style, QPainter *painter)QgsLayoutUtilsstatic
snappedAngle(double angle)QgsLayoutUtilsstatic
TestQgsLayoutUtilsQgsLayoutUtilsfriend
textHeightMM(const QFont &font, const QString &text, double multiLineHeight=1.0)QgsLayoutUtilsstatic
textWidthMM(const QFont &font, const QString &text)QgsLayoutUtilsstatic