Krita
Shape.h
20 * Some example code to parse through interesting information in a given vector layer with shapes.
QTransform absoluteTransformation() const
transformation the 2D transformation matrix of the shape including all grandparent transforms.
Definition Shape.cpp:133
QTransform transformation() const
transformation the 2D transformation matrix of the shape.
Definition Shape.cpp:123
QRectF boundingBox() const
boundingBox the bounding box of the shape in points
Definition Shape.cpp:108
void setTransformation(QTransform matrix)
setTransformation set the 2D transformation matrix of the shape.
Definition Shape.cpp:128
void updateAbsolute(QRectF box)
updateAbsolute queue the shape update in the specified rectangle.
Definition Shape.cpp:143
QString toSvg(bool prependStyles=false, bool stripTextMode=true)
toSvg convert the shape to svg, will not include style definitions.
Definition Shape.cpp:172
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:51:04 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:51:04 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.