2008-02-08 Emmanuele Bassi <ebassi@openedhand.com>
authorEmmanuele Bassi <ebassi@openedhand.com>
Fri, 8 Feb 2008 14:34:58 +0000 (14:34 +0000)
committerEmmanuele Bassi <ebassi@openedhand.com>
Fri, 8 Feb 2008 14:34:58 +0000 (14:34 +0000)
* clutter/clutter-behaviour-path.c: Add a paragraph describing
the effects of different alpha functions on the path behaviour.

ChangeLog
clutter/clutter-behaviour-path.c

index 854293c..1d9d577 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-02-08  Emmanuele Bassi  <ebassi@openedhand.com>
 
+       * clutter/clutter-behaviour-path.c: Add a paragraph describing
+       the effects of different alpha functions on the path behaviour.
+
+2008-02-08  Emmanuele Bassi  <ebassi@openedhand.com>
+
        * clutter/clutter-actor.c: Reference the newly added event-flow.png
 
        * clutter/clutter-alpha.c: Ditto, with alpha-func.png
index 63099a5..ff4aee8 100644 (file)
  *   <graphic fileref="path-alpha-func.png" format="PNG"/>
  * </figure>
  *
+ * The actors position between the path's end points directly correlates
+ * to the #ClutterAlpha's current alpha value driving the behaviour. With
+ * the #ClutterAlpha's function set to %CLUTTER_ALPHA_RAMP_INC the actor
+ * will follow the path at a constant velocity, but when changing to
+ * %CLUTTER_ALPHA_SINE_INC the actor initially accelerates quickly before
+ * quickly decelerating.
+ *
+ * <note>If the alpha function is a periodic function, i.e. it returns to
+ * 0 after reaching %CLUTTER_ALPHA_MAX_ALPHA, then the actors will walk
+ * the path back to the starting #ClutterKnot.</note>
+ *
  * #ClutterBehaviourPath is available since Clutter 0.2
  */