QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
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 |
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 |
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 |
snappedAngle(double angle) | QgsLayoutUtils | static |
TestQgsLayoutUtils class | QgsLayoutUtils | friend |
textHeightMM(const QFont &font, const QString &text, double multiLineHeight=1.0) | QgsLayoutUtils | static |
textWidthMM(const QFont &font, const QString &text) | QgsLayoutUtils | static |