KWin
|
A single 2D motion dynamics object. More...
#include <motionmanager.h>
Public Member Functions | |
Motion2D (QPointF initial=QPointF(), double strength=0.08, double smoothness=4.0) | |
Motion2D (const Motion2D &other) | |
~Motion2D () | |
![]() | |
Motion (QPointF initial, double strength, double smoothness) | |
Motion (const Motion< QPointF > &other) | |
~Motion () | |
QPointF | value () const |
void | setValue (const QPointF value) |
QPointF | target () const |
void | setTarget (const QPointF target) |
QPointF | velocity () const |
void | setVelocity (const QPointF velocity) |
double | strength () const |
void | setStrength (const double strength) |
double | smoothness () const |
void | setSmoothness (const double smoothness) |
QPointF | startValue () |
QPointF | distance () const |
void | calculate (const int msec) |
void | finish () |
A single 2D motion dynamics object.
This class represents a single object that can be moved around a 2D space. Although it can be used directly by itself it is recommended to use a motion manager instead.
Definition at line 134 of file motionmanager.h.
|
explicit |
Definition at line 36 of file motionmanager.cpp.
KWin::Motion2D::Motion2D | ( | const Motion2D & | other | ) |
Definition at line 41 of file motionmanager.cpp.
KWin::Motion2D::~Motion2D | ( | ) |
Definition at line 46 of file motionmanager.cpp.