summaryrefslogtreecommitdiff
path: root/src/lib/ecore/efl_sinusoidal_interpolator.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore/efl_sinusoidal_interpolator.eo')
-rw-r--r--src/lib/ecore/efl_sinusoidal_interpolator.eo13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/lib/ecore/efl_sinusoidal_interpolator.eo b/src/lib/ecore/efl_sinusoidal_interpolator.eo
index e0701aa..ad48232 100644
--- a/src/lib/ecore/efl_sinusoidal_interpolator.eo
+++ b/src/lib/ecore/efl_sinusoidal_interpolator.eo
@@ -1,19 +1,22 @@
1class @beta Efl.Sinusoidal_Interpolator extends Efl.Object implements Efl.Interpolator 1class @beta Efl.Sinusoidal_Interpolator extends Efl.Object implements Efl.Interpolator
2{ 2{
3 [[Efl sinusoidal interpolator class 3 [[Sinusoidal interpolator. It starts slow, then moves quickly and then slows down
4 again before stopping.
4 5
5 output = (1 - cos(input * Pi)) / 2; 6 How long it stays in the quick zone (the slope of the curve) can be customized.
6 ]] 7 ]]
7 data: Efl_Sinusoidal_Interpolator_Data; 8 data: Efl_Sinusoidal_Interpolator_Data;
8 methods { 9 methods {
9 @property factor { 10 @property slope {
10 [[Factor property]] 11 [[Customize the sinusoidal effect.]]
11 set { 12 set {
12 } 13 }
13 get { 14 get {
14 } 15 }
15 values { 16 values {
16 factor: double; [[Factor of the interpolation function.]] 17 slope: double; [[How steep is the effect. $[0] performs a linear interpolation,
18 $[1] corresponds to a sinus function and higher numbers produce
19 an increasingly steep effect.]]
17 } 20 }
18 } 21 }
19 } 22 }