#include "qeasingcurve.h"
#include <QtCore/qdebug.h>
#include <QtCore/qstring.h>
#include <QtCore/qdatastream.h>
#include "../../3rdparty/easing/easing.cpp"
Go to the source code of this file.
◆ curveToFunc()
Definition at line 490 of file qeasingcurve.cpp.
Referenced by QEasingCurvePrivate::setType_helper().
500 return &easeInOutQuad;
502 return &easeOutInQuad;
506 return &easeOutCubic;
508 return &easeInOutCubic;
510 return &easeOutInCubic;
514 return &easeOutQuart;
516 return &easeInOutQuart;
518 return &easeOutInQuart;
522 return &easeOutQuint;
524 return &easeInOutQuint;
526 return &easeOutInQuint;
532 return &easeInOutSine;
534 return &easeOutInSine;
540 return &easeInOutExpo;
542 return &easeOutInExpo;
548 return &easeInOutCirc;
550 return &easeOutInCirc;
555 return &easeOutCurve;
557 return &easeSineCurve;
559 return &easeCosineCurve;
◆ curveToFunctionObject()
◆ isConfigFunction()
◆ operator<<() [1/2]
Definition at line 870 of file qeasingcurve.cpp.
static QString fromAscii(const char *, int size=-1)
Returns a QString initialized with the first size characters from the string str. ...
QEasingCurve::EasingFunction func
QEasingCurvePrivate * d_ptr
QEasingCurveFunction * config
QString arg(qlonglong a, int fieldwidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const Q_REQUIRED_RESULT
◆ operator<<() [2/2]
Definition at line 897 of file qeasingcurve.cpp.
QIntegerForSizeof< void * >::Unsigned quintptr
QEasingCurve::EasingFunction func
QEasingCurvePrivate * d_ptr
QEasingCurveFunction * config
◆ operator>>()
Definition at line 925 of file qeasingcurve.cpp.
941 stream >> config->
_p;
942 stream >> config->
_a;
943 stream >> config->
_o;
QIntegerForSizeof< void * >::Unsigned quintptr
QEasingCurve::EasingFunction func
QEasingCurvePrivate * d_ptr
QEasingCurveFunction * config
static QEasingCurveFunction * curveToFunctionObject(QEasingCurve::Type type)
Type
The type of easing curve.
void setType(Type type)
Sets the type of the easing curve to type.
qreal(* EasingFunction)(qreal progress)
This is a typedef for a pointer to a function with the following signature: