Qt 4.8
|
#include <qsvgstyle_p.h>
Public Types | |
enum | Additive { Sum, Replace } |
enum | TransformType { Empty, Translate, Scale, Rotate, SkewX, SkewY } |
Public Types inherited from QSvgStyleProperty | |
enum | Type { QUALITY, FILL, VIEWPORT_FILL, FONT, STROKE, SOLID_COLOR, GRADIENT, TRANSFORM, ANIMATE_TRANSFORM, ANIMATE_COLOR, OPACITY, COMP_OP } |
Public Functions | |
QSvgAnimateTransform::Additive | additiveType () const |
bool | animActive (qreal totalTimeElapsed) |
virtual void | apply (QPainter *p, const QSvgNode *node, QSvgExtraStates &states) |
void | clearTransformApplied () |
QSvgAnimateTransform (int startMs, int endMs, int by=0) | |
virtual void | revert (QPainter *p, QSvgExtraStates &states) |
void | setArgs (TransformType type, Additive additive, const QVector< qreal > &args) |
void | setFreeze (bool freeze) |
void | setRepeatCount (qreal repeatCount) |
bool | transformApplied () const |
virtual Type | type () const |
Public Functions inherited from QSvgStyleProperty | |
virtual | ~QSvgStyleProperty () |
Public Functions inherited from QSvgRefCounted | |
void | deref () |
QSvgRefCounted () | |
void | ref () |
virtual | ~QSvgRefCounted () |
Protected Functions | |
void | resolveMatrix (const QSvgNode *node) |
Properties | |
Additive | m_additive |
QVector< qreal > | m_args |
qreal | m_by |
int | m_count |
bool | m_finished |
bool | m_freeze |
qreal | m_from |
QTransform | m_oldWorldTransform |
qreal | m_repeatCount |
qreal | m_to |
qreal | m_totalRunningTime |
QTransform | m_transform |
bool | m_transformApplied |
TransformType | m_type |
Definition at line 635 of file qsvgstyle_p.h.
Enumerator | |
---|---|
Sum | |
Replace |
Definition at line 647 of file qsvgstyle_p.h.
Enumerator | |
---|---|
Empty | |
Translate | |
Scale | |
Rotate | |
SkewX | |
SkewY |
Definition at line 638 of file qsvgstyle_p.h.
QSvgAnimateTransform::QSvgAnimateTransform | ( | int | startMs, |
int | endMs, | ||
int | by = 0 |
||
) |
Definition at line 641 of file qsvgstyle.cpp.
|
inline |
Definition at line 660 of file qsvgstyle_p.h.
|
inline |
Definition at line 665 of file qsvgstyle_p.h.
|
virtual |
Implements QSvgStyleProperty.
Definition at line 658 of file qsvgstyle.cpp.
|
inline |
Definition at line 685 of file qsvgstyle_p.h.
|
protected |
Definition at line 672 of file qsvgstyle.cpp.
Referenced by apply().
|
virtual |
Implements QSvgStyleProperty.
Definition at line 666 of file qsvgstyle.cpp.
void QSvgAnimateTransform::setArgs | ( | TransformType | type, |
Additive | additive, | ||
const QVector< qreal > & | args | ||
) |
Definition at line 649 of file qsvgstyle.cpp.
Referenced by parseAnimateTransformNode().
void QSvgAnimateTransform::setFreeze | ( | bool | freeze | ) |
void QSvgAnimateTransform::setRepeatCount | ( | qreal | repeatCount | ) |
|
inline |
Definition at line 679 of file qsvgstyle_p.h.
|
virtual |
Implements QSvgStyleProperty.
Definition at line 797 of file qsvgstyle.cpp.
Referenced by setArgs().
|
private |
Definition at line 696 of file qsvgstyle_p.h.
Referenced by setArgs().
Definition at line 697 of file qsvgstyle_p.h.
Referenced by resolveMatrix(), and setArgs().
|
private |
Definition at line 693 of file qsvgstyle_p.h.
|
private |
Definition at line 698 of file qsvgstyle_p.h.
Referenced by resolveMatrix(), and setArgs().
|
private |
Definition at line 701 of file qsvgstyle_p.h.
Referenced by resolveMatrix().
|
private |
Definition at line 702 of file qsvgstyle_p.h.
Referenced by setFreeze().
|
private |
Definition at line 693 of file qsvgstyle_p.h.
Referenced by QSvgAnimateTransform(), and resolveMatrix().
|
private |
Definition at line 700 of file qsvgstyle_p.h.
|
private |
Definition at line 703 of file qsvgstyle_p.h.
Referenced by resolveMatrix(), and setRepeatCount().
|
private |
Definition at line 693 of file qsvgstyle_p.h.
Referenced by QSvgAnimateTransform().
|
private |
Definition at line 694 of file qsvgstyle_p.h.
Referenced by QSvgAnimateTransform(), and resolveMatrix().
|
private |
Definition at line 699 of file qsvgstyle_p.h.
Referenced by apply(), and resolveMatrix().
|
private |
Definition at line 704 of file qsvgstyle_p.h.
|
private |
Definition at line 695 of file qsvgstyle_p.h.
Referenced by resolveMatrix(), and setArgs().