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>.
|
#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 |
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 } |
Definition at line 706 of file qsvgstyle_p.h.
QSvgAnimateColor::QSvgAnimateColor | ( | int | startMs, |
int | endMs, | ||
int | by = 0 ) |
Definition at line 807 of file qsvgstyle.cpp.
References Q_UNUSED.
|
overridevirtual |
Implements QSvgStyleProperty.
Definition at line 836 of file qsvgstyle.cpp.
References QSvgTinyDocument::currentElapsed(), QSvgNode::document(), qCeil(), qFloor(), red, QBrush::setColor(), QPen::setColor(), and QList< T >::size().
Referenced by QSvgStyle::apply().
|
overridevirtual |
Implements QSvgStyleProperty.
Definition at line 894 of file qsvgstyle.cpp.
Referenced by QSvgStyle::revert().
Definition at line 819 of file qsvgstyle.cpp.
References colors, and fill().
Referenced by parseAnimateColorNode().
void QSvgAnimateColor::setFreeze | ( | bool | freeze | ) |
Definition at line 826 of file qsvgstyle.cpp.
Referenced by parseAnimateColorNode().
Definition at line 831 of file qsvgstyle.cpp.
Referenced by parseAnimateColorNode().
|
overridevirtual |
Implements QSvgStyleProperty.
Definition at line 903 of file qsvgstyle.cpp.
References QSvgStyleProperty::ANIMATE_COLOR.