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>.
Loading...
Searching...
No Matches
QEasingCurveFunction Class Reference
+ Inheritance diagram for QEasingCurveFunction:
+ Collaboration diagram for QEasingCurveFunction:

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 QEasingCurveFunctioncopy () const
 
bool operator== (const QEasingCurveFunction &other) const
 

Public Attributes

QEasingCurve::Type _t
 
qreal _p
 
qreal _a
 
qreal _o
 
QList< QPointF_bezierCurves
 
TCBPoints _tcbPoints
 

Detailed Description

Definition at line 327 of file qeasingcurve.cpp.

Constructor & Destructor Documentation

◆ QEasingCurveFunction()

QEasingCurveFunction::QEasingCurveFunction ( QEasingCurve::Type type,
qreal period = 0.3,
qreal amplitude = 1.0,
qreal overshoot = 1.70158 )
inline

Definition at line 330 of file qeasingcurve.cpp.

Referenced by copy().

+ Here is the caller graph for this function:

◆ ~QEasingCurveFunction()

virtual QEasingCurveFunction::~QEasingCurveFunction ( )
inlinevirtual

Definition at line 334 of file qeasingcurve.cpp.

Member Function Documentation

◆ copy()

QEasingCurveFunction * QEasingCurveFunction::copy ( ) const
virtual

Reimplemented in BezierEase, TCBEase, ElasticEase, BounceEase, and BackEase.

Definition at line 384 of file qeasingcurve.cpp.

References QEasingCurveFunction(), _a, _bezierCurves, _o, _p, _t, and _tcbPoints.

+ Here is the call graph for this function:

◆ operator==()

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().

+ Here is the call graph for this function:

◆ value()

qreal QEasingCurveFunction::value ( qreal t)
virtual

Reimplemented in ElasticEase, BounceEase, BackEase, BezierEase, and TCBEase.

Definition at line 378 of file qeasingcurve.cpp.

References _t, and curveToFunc().

Referenced by QEasingCurve::valueForProgress().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ _a

◆ _bezierCurves

◆ _o

◆ _p

◆ _t

◆ _tcbPoints


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