QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
|
This is the complete list of members for QgsLayoutUtils, including all inherited members.
calculatePrettySize(double minimumSize, double maximumSize) | QgsLayoutUtils | static |
createRenderContextForLayout(QgsLayout *layout, QPainter *painter, double dpi=-1) | QgsLayoutUtils | static |
createRenderContextForMap(QgsLayoutItemMap *map, QPainter *painter, double dpi=-1) | QgsLayoutUtils | static |
decodePaperOrientation(const QString &string, bool &ok) | QgsLayoutUtils | static |
drawText(QPainter *painter, QPointF position, const QString &text, const QFont &font, const QColor &color=QColor()) | QgsLayoutUtils | static |
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) | QgsLayoutUtils | static |
fontAscentMM(const QFont &font) | QgsLayoutUtils | static |
fontDescentMM(const QFont &font) | QgsLayoutUtils | static |
fontHeightCharacterMM(const QFont &font, QChar character) | QgsLayoutUtils | static |
fontHeightMM(const QFont &font) | QgsLayoutUtils | static |
itemIsAClippingSource(const QgsLayoutItem *item) | QgsLayoutUtils | static |
largestRotatedRectWithinBounds(const QRectF &originalRect, const QRectF &boundsRect, double rotation) | QgsLayoutUtils | static |
mapLayerFromString(const QString &string, QgsProject *project) | QgsLayoutUtils | static |
normalizedAngle(double angle, bool allowNegative=false) | QgsLayoutUtils | static |
predefinedScales(const QgsLayout *layout) | QgsLayoutUtils | static |
relativePosition(double position, double beforeMin, double beforeMax, double afterMin, double afterMax) | QgsLayoutUtils | static |
relativeResizeRect(QRectF &rectToResize, const QRectF &boundsBefore, const QRectF &boundsAfter) | QgsLayoutUtils | static |
rotate(double angle, double &x, double &y) | QgsLayoutUtils | static |
scaledFontPixelSize(const QFont &font) | QgsLayoutUtils | static |
scaleFactorFromItemStyle(const QStyleOptionGraphicsItem *style) | QgsLayoutUtils | static |
scaleFactorFromItemStyle(const QStyleOptionGraphicsItem *style, QPainter *painter) | QgsLayoutUtils | static |
snappedAngle(double angle) | QgsLayoutUtils | static |
TestQgsLayoutUtils | QgsLayoutUtils | friend |
textHeightMM(const QFont &font, const QString &text, double multiLineHeight=1.0) | QgsLayoutUtils | static |
textWidthMM(const QFont &font, const QString &text) | QgsLayoutUtils | static |