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
QSvgTransformStyle Class Reference

#include <qsvgstyle_p.h>

+ Inheritance diagram for QSvgTransformStyle:
+ Collaboration diagram for QSvgTransformStyle:

Public Member Functions

 QSvgTransformStyle (const QTransform &transform)
 
void apply (QPainter *p, const QSvgNode *node, QSvgExtraStates &states) override
 
void revert (QPainter *p, QSvgExtraStates &states) override
 
Type type () const override
 
const QTransformqtransform () const
 
bool isDefault () const
 
- Public Member Functions inherited from QSvgStyleProperty
virtual ~QSvgStyleProperty ()
 
bool isDefault () const
 
- Public Member Functions inherited from QSvgRefCounted
 QSvgRefCounted ()
 
virtual ~QSvgRefCounted ()
 
void ref ()
 
void deref ()
 

Additional Inherited Members

- Public Types inherited from QSvgStyleProperty
enum  Type {
  QUALITY , FILL , VIEWPORT_FILL , FONT ,
  STROKE , SOLID_COLOR , GRADIENT , PATTERN ,
  TRANSFORM , ANIMATE_TRANSFORM , ANIMATE_COLOR , OPACITY ,
  COMP_OP
}
 

Detailed Description

Definition at line 613 of file qsvgstyle_p.h.

Constructor & Destructor Documentation

◆ QSvgTransformStyle()

QSvgTransformStyle::QSvgTransformStyle ( const QTransform & transform)

Definition at line 427 of file qsvgstyle.cpp.

Member Function Documentation

◆ apply()

void QSvgTransformStyle::apply ( QPainter * p,
const QSvgNode * node,
QSvgExtraStates & states )
overridevirtual

Implements QSvgStyleProperty.

Definition at line 432 of file qsvgstyle.cpp.

◆ isDefault()

bool QSvgTransformStyle::isDefault ( ) const
inline

Definition at line 625 of file qsvgstyle_p.h.

◆ qtransform()

const QTransform & QSvgTransformStyle::qtransform ( ) const
inline

Definition at line 621 of file qsvgstyle_p.h.

Referenced by QSvgTinyDocument::transformForElement().

+ Here is the caller graph for this function:

◆ revert()

void QSvgTransformStyle::revert ( QPainter * p,
QSvgExtraStates & states )
overridevirtual

Implements QSvgStyleProperty.

Definition at line 438 of file qsvgstyle.cpp.

◆ type()

QSvgStyleProperty::Type QSvgTransformStyle::type ( ) const
overridevirtual

Implements QSvgStyleProperty.

Definition at line 483 of file qsvgstyle.cpp.

References QSvgStyleProperty::TRANSFORM.


The documentation for this class was generated from the following files: