QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
QgsComposerUtils Member List

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

angle(QPointF p1, QPointF p2)QgsComposerUtilsstatic
decodePaperOrientation(const QString &orientationString, bool &ok)QgsComposerUtilsstatic
decodePresetPaperSize(const QString &presetString, double &width, double &height)QgsComposerUtilsstatic
drawArrowHead(QPainter *p, const double x, const double y, const double angle, const double arrowHeadWidth)QgsComposerUtilsstatic
drawText(QPainter *painter, QPointF pos, const QString &text, const QFont &font, const QColor &color=QColor())QgsComposerUtilsstatic
drawText(QPainter *painter, const QRectF &rect, 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)QgsComposerUtilsstatic
fontAscentMM(const QFont &font)QgsComposerUtilsstatic
fontDescentMM(const QFont &font)QgsComposerUtilsstatic
fontHeightCharacterMM(const QFont &font, QChar character)QgsComposerUtilsstatic
fontHeightMM(const QFont &font)QgsComposerUtilsstatic
largestRotatedRectWithinBounds(const QRectF &originalRect, const QRectF &boundsRect, const double rotation)QgsComposerUtilsstatic
mmToPoints(const double mmSize)QgsComposerUtilsstatic
normalizedAngle(const double angle)QgsComposerUtilsstatic
pointsToMM(const double pointSize)QgsComposerUtilsstatic
readDataDefinedProperty(const QgsComposerObject::DataDefinedProperty property, const QDomElement &ddElem, QMap< QgsComposerObject::DataDefinedProperty, QgsDataDefined * > *dataDefinedProperties)QgsComposerUtilsstatic
readDataDefinedPropertyMap(const QDomElement &itemElem, QMap< QgsComposerObject::DataDefinedProperty, QString > *dataDefinedNames, QMap< QgsComposerObject::DataDefinedProperty, QgsDataDefined * > *dataDefinedProperties)QgsComposerUtilsstatic
relativePosition(const double position, const double beforeMin, const double beforeMax, const double afterMin, const double afterMax)QgsComposerUtilsstatic
relativeResizeRect(QRectF &rectToResize, const QRectF &boundsBefore, const QRectF &boundsAfter)QgsComposerUtilsstatic
rotate(const double angle, double &x, double &y)QgsComposerUtilsstatic
scaledFontPixelSize(const QFont &font)QgsComposerUtilsstatic
snappedAngle(const double angle)QgsComposerUtilsstatic
textHeightMM(const QFont &font, const QString &text, double multiLineHeight=1.0)QgsComposerUtilsstatic
textWidthMM(const QFont &font, const QString &text)QgsComposerUtilsstatic
writeDataDefinedPropertyMap(QDomElement &itemElem, QDomDocument &doc, const QMap< QgsComposerObject::DataDefinedProperty, QString > *dataDefinedNames, const QMap< QgsComposerObject::DataDefinedProperty, QgsDataDefined * > *dataDefinedProperties)QgsComposerUtilsstatic