93 #include <QtCore/qmath.h>
94 #include <QtCore/qnumeric.h>
176 d->updateItem(
d->item);
245 if (
d->origin == point)
340 matrix->scale(
d->xScale,
d->yScale,
d->zScale);
460 if (
d->origin == point)
580 if (
d->angle == 0. ||
d->axis.isNull() ||
qIsNaN(
d->angle))
584 matrix->projectedRotate(
d->angle,
d->axis.x(),
d->axis.y(),
d->axis.z());
596 #include "moc_qgraphicstransform.cpp"
small capitals from c petite p scientific i
[1]
The QGraphicsItem class is the base class for all graphical items in a QGraphicsScene.
QScopedPointer< QGraphicsItemPrivate > d_ptr
void prepareGeometryChange()
quint32 dirtySceneTransform
TransformData * transformData
The QGraphicsRotation class provides a rotation transformation around a given axis.
QVector3D axis
a rotation axis, specified by a vector in 3D space.
void setAxis(const QVector3D &axis)
QGraphicsRotation(QObject *parent=nullptr)
void setOrigin(const QVector3D &point)
QVector3D origin
the origin of the rotation in 3D space.
void applyTo(QMatrix4x4 *matrix) const override
qreal angle
the angle for clockwise rotation, in degrees.
QGraphicsRotationPrivate()
The QGraphicsScale class provides a scale transformation.
void applyTo(QMatrix4x4 *matrix) const override
void setOrigin(const QVector3D &point)
qreal xScale
the horizontal scale factor.
QGraphicsScale(QObject *parent=nullptr)
qreal zScale
the depth scale factor.
qreal yScale
the vertical scale factor.
QVector3D origin
the origin of the scale in 3D space.
qsizetype removeAll(const AT &t)
The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
The QObject class is the base class of all Qt objects.
T * data() const noexcept
The QVector3D class represents a vector or vertex in 3D space.
bool qIsNaN(qfloat16 f) noexcept
QT_END_INCLUDE_NAMESPACE typedef double qreal
GLdouble GLdouble GLdouble GLdouble q
GLenum GLenum GLenum GLenum GLenum scale
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent