![]() |
Qt 6.x
The Qt SDK
|
Public Member Functions | |
QEasingCurveFunction (QEasingCurve::Type type, qreal period=0.3, qreal amplitude=1.0, qreal overshoot=1.70158) | |
virtual | ~QEasingCurveFunction () |
virtual qreal | value (qreal t) |
virtual QEasingCurveFunction * | copy () const |
bool | operator== (const QEasingCurveFunction &other) const |
Public Attributes | |
QEasingCurve::Type | _t |
qreal | _p |
qreal | _a |
qreal | _o |
QList< QPointF > | _bezierCurves |
TCBPoints | _tcbPoints |
Definition at line 327 of file qeasingcurve.cpp.
|
inline |
Definition at line 330 of file qeasingcurve.cpp.
|
inlinevirtual |
Definition at line 334 of file qeasingcurve.cpp.
|
virtual |
Reimplemented in BezierEase, TCBEase, ElasticEase, BounceEase, and BackEase.
Definition at line 384 of file qeasingcurve.cpp.
References _a, _bezierCurves, _o, _p, _t, and _tcbPoints.
bool QEasingCurveFunction::operator== | ( | const QEasingCurveFunction & | other | ) | const |
Definition at line 392 of file qeasingcurve.cpp.
References _a, _bezierCurves, _o, _p, _t, _tcbPoints, other(), and qFuzzyCompare().
Reimplemented in ElasticEase, BounceEase, BackEase, BezierEase, and TCBEase.
Definition at line 378 of file qeasingcurve.cpp.
References _t, and curveToFunc().
Referenced by QEasingCurve::valueForProgress().
qreal QEasingCurveFunction::_a |
Definition at line 341 of file qeasingcurve.cpp.
Referenced by QEasingCurve::amplitude(), copy(), BezierEase::copy(), ElasticEase::copy(), BounceEase::copy(), operator==(), QEasingCurve::setAmplitude(), ElasticEase::value(), and BounceEase::value().
Definition at line 343 of file qeasingcurve.cpp.
Referenced by QEasingCurve::addCubicBezierSegment(), QEasingCurve::addTCBSegment(), copy(), BezierEase::copy(), ElasticEase::copy(), BounceEase::copy(), BackEase::copy(), BezierEase::init(), operator==(), QEasingCurve::toCubicSpline(), BezierEase::value(), and TCBEase::value().
qreal QEasingCurveFunction::_o |
Definition at line 342 of file qeasingcurve.cpp.
Referenced by copy(), BezierEase::copy(), BackEase::copy(), operator==(), QEasingCurve::overshoot(), QEasingCurve::setOvershoot(), and BackEase::value().
qreal QEasingCurveFunction::_p |
Definition at line 340 of file qeasingcurve.cpp.
Referenced by copy(), BezierEase::copy(), ElasticEase::copy(), operator==(), QEasingCurve::period(), QEasingCurve::setPeriod(), and ElasticEase::value().
QEasingCurve::Type QEasingCurveFunction::_t |
Definition at line 339 of file qeasingcurve.cpp.
Referenced by copy(), BezierEase::copy(), ElasticEase::copy(), BounceEase::copy(), BackEase::copy(), operator==(), value(), ElasticEase::value(), BounceEase::value(), and BackEase::value().
TCBPoints QEasingCurveFunction::_tcbPoints |
Definition at line 344 of file qeasingcurve.cpp.
Referenced by QEasingCurve::addTCBSegment(), copy(), BezierEase::copy(), ElasticEase::copy(), BounceEase::copy(), BackEase::copy(), and operator==().