Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QGraphicsItemPrivate::TransformData Struct Reference

#include <qgraphicsitem_p.h>

+ Collaboration diagram for QGraphicsItemPrivate::TransformData:

Public Member Functions

 TransformData ()
 
QTransform computedFullTransform (QTransform *postmultiplyTransform=nullptr) const
 

Public Attributes

QTransform transform
 
qreal scale
 
qreal rotation
 
qreal xOrigin
 
qreal yOrigin
 
QList< QGraphicsTransform * > graphicsTransforms
 
bool onlyTransform
 

Detailed Description

Definition at line 428 of file qgraphicsitem_p.h.

Constructor & Destructor Documentation

◆ TransformData()

QGraphicsItemPrivate::TransformData::TransformData ( )
inline

Definition at line 438 of file qgraphicsitem_p.h.

Member Function Documentation

◆ computedFullTransform()

QTransform QGraphicsItemPrivate::TransformData::computedFullTransform ( QTransform * postmultiplyTransform = nullptr) const
inline

Definition at line 444 of file qgraphicsitem_p.h.

References QGraphicsTransform::applyTo(), QList< T >::at(), graphicsTransforms, i, QList< T >::isEmpty(), onlyTransform, rotation, QList< T >::size(), transform, xOrigin, and yOrigin.

Referenced by QGraphicsItemPrivate::combineTransformFromParent(), QGraphicsItemPrivate::combineTransformToParent(), QGraphicsItem::mouseMoveEvent(), and QGraphicsItemPrivate::updateSceneTransformFromParent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ graphicsTransforms

◆ onlyTransform

◆ rotation

qreal QGraphicsItemPrivate::TransformData::rotation

◆ scale

qreal QGraphicsItemPrivate::TransformData::scale

Definition at line 431 of file qgraphicsitem_p.h.

Referenced by QGraphicsItem::scale(), and QGraphicsItem::setScale().

◆ transform

◆ xOrigin

qreal QGraphicsItemPrivate::TransformData::xOrigin

◆ yOrigin

qreal QGraphicsItemPrivate::TransformData::yOrigin

The documentation for this struct was generated from the following file: