diff options
author | Neil Roberts <neil@linux.intel.com> | 2008-12-16 15:39:53 +0000 |
---|---|---|
committer | Neil Roberts <neil@linux.intel.com> | 2008-12-16 15:39:53 +0000 |
commit | ff92cc9766cfceb0cf390253b6c369099678691d (patch) | |
tree | 1ce711c4f214f5260ae89a30557d2a65e9d718f7 /clutter/clutter-path.h | |
parent | c68cf3564e4899f8a4f34326dee439b0ab7944f3 (diff) | |
download | clutter-ff92cc9766cfceb0cf390253b6c369099678691d.tar.gz |
Convert clutter_path_get_position to take a gdouble instead of an alpha value
The gdouble value represents an interval along the path from 0.0 to
1.0. This makes more sense than using an alpha value because paths are
not directly related to ClutterAlphas and the rest of the Clutter API
tends to expose gdouble arguments.
Diffstat (limited to 'clutter/clutter-path.h')
-rw-r--r-- | clutter/clutter-path.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter/clutter-path.h b/clutter/clutter-path.h index 08ab77f6b..52969eee1 100644 --- a/clutter/clutter-path.h +++ b/clutter/clutter-path.h @@ -226,7 +226,7 @@ gboolean clutter_path_set_description (ClutterPath *path, void clutter_path_clear (ClutterPath *path); guint clutter_path_get_position (ClutterPath *path, - guint alpha, + gdouble progress, ClutterKnot *position); guint clutter_path_get_length (ClutterPath *path); |