QGIS API Documentation  3.0.2-Girona (307d082)
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(), const Qt::AlignmentFlag halignment=Qt::AlignLeft, const Qt::AlignmentFlag valignment=Qt::AlignTop, const 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, const double rotation)QgsLayoutUtilsstatic
normalizedAngle(const double angle, const bool allowNegative=false)QgsLayoutUtilsstatic
relativePosition(const double position, const double beforeMin, const double beforeMax, const double afterMin, const 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