LibreOffice Module sd (master) 1
|
#include <SlsAnimationFunction.hxx>
Public Member Functions | |
AnimationBezierFunction (const double nX1, const double nY1) | |
Create a cubic bezier curve whose start and end points are given implicitly as P0=(0,0) and P3=(1,1). More... | |
::basegfx::B2DPoint | operator() (const double nT) |
Static Private Member Functions | |
static double | EvaluateComponent (const double nT, const double nV1, const double nV2) |
Private Attributes | |
const double | mnX1 |
const double | mnY1 |
const double | mnX2 |
const double | mnY2 |
Definition at line 30 of file SlsAnimationFunction.hxx.
sd::slidesorter::controller::AnimationBezierFunction::AnimationBezierFunction | ( | const double | nX1, |
const double | nY1 | ||
) |
Create a cubic bezier curve whose start and end points are given implicitly as P0=(0,0) and P3=(1,1).
The second control point is implicitly given as P2=(1-nY1,1-nX1).
Definition at line 30 of file SlsAnimationFunction.cxx.
|
staticprivate |
Definition at line 47 of file SlsAnimationFunction.cxx.
Referenced by operator()().
basegfx::B2DPoint sd::slidesorter::controller::AnimationBezierFunction::operator() | ( | const double | nT | ) |
Definition at line 40 of file SlsAnimationFunction.cxx.
References EvaluateComponent(), mnX1, mnX2, mnY1, and mnY2.
|
private |
Definition at line 44 of file SlsAnimationFunction.hxx.
Referenced by operator()().
|
private |
Definition at line 46 of file SlsAnimationFunction.hxx.
Referenced by operator()().
|
private |
Definition at line 45 of file SlsAnimationFunction.hxx.
Referenced by operator()().
|
private |
Definition at line 47 of file SlsAnimationFunction.hxx.
Referenced by operator()().