6#ifndef QSVGEASINGINTERFACE_P_H
7#define QSVGEASINGINTERFACE_P_H
20#include <QtSvg/private/qtsvgglobal_p.h>
27 Q_DISABLE_COPY_MOVE(QSvgEasingInterface)
29 QSvgEasingInterface() =
default;
30 virtual ~QSvgEasingInterface();
34using QSvgEasingInterfacePtr = std::unique_ptr<QSvgEasingInterface>;
virtual Type type() const =0
Reimplement this function to return the paint engine \l{Type}.
bool isActive() const
Returns true if begin() has been called and end() has not yet been called; otherwise returns false.
QSet< QPrintEngine::PrintEnginePropertyKey > m_properties
void appendKeyFrame(qreal keyFrame)
QSvgAbstractAnimatedProperty(const QString &name, Type type)
std::vector< QSvgEasingInterfacePtr > m_easings
QVariant m_interpolatedValue
QVariant interpolatedValue() const
QList< qreal > keyFrames() const
void appendEasing(QSvgEasingInterfacePtr easing)
static QSvgAbstractAnimatedProperty * createAnimatedProperty(const QString &name)
void setKeyFrames(const QList< qreal > &keyFrames)
void setPropertyName(const QString &name)
QStringView propertyName() const
const QSvgEasingInterface * easingAt(unsigned int i) const
virtual void interpolate(uint index, qreal t) const =0
QList< QSvgAbstractAnimatedProperty * > properties() const
QSvgEasingInterface * easing() const
void setIterationCount(int count)
QSvgEasingInterfacePtr m_easing
void setRunningTime(int startMs, int durationMs)
int iterationCount() const
void setEasing(QSvgEasingInterfacePtr easing)
virtual AnimationType animationType() const =0
virtual void appendProperty(QSvgAbstractAnimatedProperty *property)
void evaluateAnimation(qreal elapsedTime)
virtual qreal progress(qreal t) const =0
Combined button and popup list for selecting options.