![]() |
Qt 6.x
The Qt SDK
|
#include <qsvgstyle_p.h>
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 |
![]() | |
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 |
![]() | |
QSvgRefCounted () | |
virtual | ~QSvgRefCounted () |
void | ref () |
void | deref () |
Additional Inherited Members | |
![]() | |
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().
|
overridevirtual |
Implements QSvgStyleProperty.
Definition at line 877 of file qsvgstyle.cpp.
Referenced by QSvgStyle::revert().
Definition at line 802 of file qsvgstyle.cpp.
References colors, and fill().
Referenced by parseAnimateColorNode().
void QSvgAnimateColor::setFreeze | ( | bool | freeze | ) |
Definition at line 809 of file qsvgstyle.cpp.
Referenced by parseAnimateColorNode().
Definition at line 814 of file qsvgstyle.cpp.
Referenced by parseAnimateColorNode().
|
overridevirtual |
Implements QSvgStyleProperty.
Definition at line 886 of file qsvgstyle.cpp.
References QSvgStyleProperty::ANIMATE_COLOR.