Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QSvgAbstractAnimation Class Referenceabstract

#include <qsvgabstractanimation_p.h>

Inheritance diagram for QSvgAbstractAnimation:
Collaboration diagram for QSvgAbstractAnimation:

Public Types

enum  AnimationType { CSS , SMIL }

Public Member Functions

 QSvgAbstractAnimation ()
virtual ~QSvgAbstractAnimation ()
virtual AnimationType animationType () const =0
void evaluateAnimation (qreal elapsedTime)
void setRunningTime (int startMs, int durationMs)
int start () const
int duration () const
void setIterationCount (int count)
int iterationCount () const
void setEasing (QSvgEasingInterfacePtr easing)
QSvgEasingInterfaceeasing () const
virtual void appendProperty (QSvgAbstractAnimatedProperty *property)
QList< QSvgAbstractAnimatedProperty * > properties () const
bool finished () const
virtual bool isActive () const

Protected Attributes

int m_start
int m_duration
bool m_finished
int m_iterationCount
QSvgEasingInterfacePtr m_easing
QList< QSvgAbstractAnimatedProperty * > m_properties

Detailed Description

Definition at line 27 of file qsvgabstractanimation_p.h.

Member Enumeration Documentation

◆ AnimationType

Enumerator
CSS 
SMIL 

Definition at line 30 of file qsvgabstractanimation_p.h.

Constructor & Destructor Documentation

◆ QSvgAbstractAnimation()

QT_BEGIN_NAMESPACE QSvgAbstractAnimation::QSvgAbstractAnimation ( )

Definition at line 10 of file qsvgabstractanimation.cpp.

◆ ~QSvgAbstractAnimation()

QSvgAbstractAnimation::~QSvgAbstractAnimation ( )
virtual

Definition at line 18 of file qsvgabstractanimation.cpp.

Member Function Documentation

◆ animationType()

virtual AnimationType QSvgAbstractAnimation::animationType ( ) const
pure virtual

Implemented in QSvgAnimateNode, and QSvgCssAnimation.

◆ appendProperty()

void QSvgAbstractAnimation::appendProperty ( QSvgAbstractAnimatedProperty * property)
virtual

Definition at line 24 of file qsvgabstractanimation.cpp.

◆ duration()

int QSvgAbstractAnimation::duration ( ) const

Definition at line 86 of file qsvgabstractanimation.cpp.

◆ easing()

QSvgEasingInterface * QSvgAbstractAnimation::easing ( ) const

Definition at line 106 of file qsvgabstractanimation.cpp.

◆ evaluateAnimation()

void QSvgAbstractAnimation::evaluateAnimation ( qreal elapsedTime)

Definition at line 44 of file qsvgabstractanimation.cpp.

◆ finished()

bool QSvgAbstractAnimation::finished ( ) const

Definition at line 34 of file qsvgabstractanimation.cpp.

◆ isActive()

bool QSvgAbstractAnimation::isActive ( ) const
virtual

Reimplemented in QSvgAnimateNode.

Definition at line 39 of file qsvgabstractanimation.cpp.

◆ iterationCount()

int QSvgAbstractAnimation::iterationCount ( ) const

Definition at line 96 of file qsvgabstractanimation.cpp.

◆ properties()

QList< QSvgAbstractAnimatedProperty * > QSvgAbstractAnimation::properties ( ) const

Definition at line 29 of file qsvgabstractanimation.cpp.

◆ setEasing()

void QSvgAbstractAnimation::setEasing ( QSvgEasingInterfacePtr easing)

Definition at line 101 of file qsvgabstractanimation.cpp.

◆ setIterationCount()

void QSvgAbstractAnimation::setIterationCount ( int count)

Definition at line 91 of file qsvgabstractanimation.cpp.

◆ setRunningTime()

void QSvgAbstractAnimation::setRunningTime ( int startMs,
int durationMs )

Definition at line 75 of file qsvgabstractanimation.cpp.

◆ start()

int QSvgAbstractAnimation::start ( ) const

Definition at line 81 of file qsvgabstractanimation.cpp.

Member Data Documentation

◆ m_duration

int QSvgAbstractAnimation::m_duration
protected

Definition at line 60 of file qsvgabstractanimation_p.h.

◆ m_easing

QSvgEasingInterfacePtr QSvgAbstractAnimation::m_easing
protected

Definition at line 63 of file qsvgabstractanimation_p.h.

◆ m_finished

bool QSvgAbstractAnimation::m_finished
protected

Definition at line 61 of file qsvgabstractanimation_p.h.

◆ m_iterationCount

int QSvgAbstractAnimation::m_iterationCount
protected

Definition at line 62 of file qsvgabstractanimation_p.h.

◆ m_properties

QList<QSvgAbstractAnimatedProperty *> QSvgAbstractAnimation::m_properties
protected

Definition at line 64 of file qsvgabstractanimation_p.h.

◆ m_start

int QSvgAbstractAnimation::m_start
protected

Definition at line 59 of file qsvgabstractanimation_p.h.


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