![]() |
Qt 6.x
The Qt SDK
|
#include <qsvgstyle_p.h>
Inheritance diagram for QSvgAnimateColor:
Collaboration diagram for QSvgAnimateColor:Public Member Functions | |
| QSvgAnimateColor (int startMs, int endMs, int by=0) | |
| void | setArgs (bool fill, const QList< QColor > &colors) |
| void | setFreeze (bool freeze) |
| void | setRepeatCount (qreal repeatCount) |
| void | apply (QPainter *p, const QSvgNode *node, QSvgExtraStates &states) override |
| void | revert (QPainter *p, QSvgExtraStates &states) override |
| Type | type () const override |
Public Member Functions inherited from QSvgStyleProperty | |
| virtual | ~QSvgStyleProperty () |
| virtual void | apply (QPainter *p, const QSvgNode *node, QSvgExtraStates &states)=0 |
| virtual void | revert (QPainter *p, QSvgExtraStates &states)=0 |
| virtual Type | type () const =0 |
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 , TRANSFORM , ANIMATE_TRANSFORM , ANIMATE_COLOR , OPACITY , COMP_OP } |
Definition at line 680 of file qsvgstyle_p.h.
| QSvgAnimateColor::QSvgAnimateColor | ( | int | startMs, |
| int | endMs, | ||
| int | by = 0 |
||
| ) |
Definition at line 790 of file qsvgstyle.cpp.
References Q_UNUSED.
|
overridevirtual |
Implements QSvgStyleProperty.
Definition at line 819 of file qsvgstyle.cpp.
References QSvgTinyDocument::currentElapsed(), QSvgNode::document(), qCeil(), qFloor(), red, QPen::setColor(), and QList< T >::size().
Referenced by QSvgStyle::apply().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Implements QSvgStyleProperty.
Definition at line 877 of file qsvgstyle.cpp.
Referenced by QSvgStyle::revert().
Here is the caller graph for this function:Definition at line 802 of file qsvgstyle.cpp.
References colors, and fill().
Referenced by parseAnimateColorNode().
Here is the call graph for this function:
Here is the caller graph for this function:| void QSvgAnimateColor::setFreeze | ( | bool | freeze | ) |
Definition at line 809 of file qsvgstyle.cpp.
Referenced by parseAnimateColorNode().
Here is the caller graph for this function:Definition at line 814 of file qsvgstyle.cpp.
Referenced by parseAnimateColorNode().
Here is the caller graph for this function:
|
overridevirtual |
Implements QSvgStyleProperty.
Definition at line 886 of file qsvgstyle.cpp.
References QSvgStyleProperty::ANIMATE_COLOR.