mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
2007-07-25 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-behaviour-rotate.c: * clutter/clutter-behaviour-rotate.h: Split 'center' prop into 3 seperate props for each axis. Use clutter_behaviour_actors_foreach() rather than clutter_behaviour_get_actors() to avoid copying list. Call fixed point rotation funcs internally. * clutter/clutter-effect.c: * clutter/clutter-effect.h: Add new simple rotation based effect funcs.
This commit is contained in:
@ -117,6 +117,36 @@ ClutterTimeline *clutter_effect_scale (ClutterEffectTemplate *template_,
|
||||
ClutterEffectCompleteFunc completed_func,
|
||||
gpointer completed_data);
|
||||
|
||||
ClutterTimeline * clutter_effect_rotate_x (ClutterEffectTemplate *template_,
|
||||
ClutterActor *actor,
|
||||
gdouble angle_begin,
|
||||
gdouble angle_end,
|
||||
gint center_y,
|
||||
gint center_z,
|
||||
ClutterRotateDirection direction,
|
||||
ClutterEffectCompleteFunc completed_func,
|
||||
gpointer completed_data);
|
||||
ClutterTimeline * clutter_effect_rotate_y (ClutterEffectTemplate *template_,
|
||||
ClutterActor *actor,
|
||||
gdouble angle_begin,
|
||||
gdouble angle_end,
|
||||
gint center_x,
|
||||
gint center_z,
|
||||
ClutterRotateDirection direction,
|
||||
ClutterEffectCompleteFunc completed_func,
|
||||
gpointer completed_data);
|
||||
|
||||
ClutterTimeline * clutter_effect_rotate_z (ClutterEffectTemplate *template_,
|
||||
ClutterActor *actor,
|
||||
gdouble angle_begin,
|
||||
gdouble angle_end,
|
||||
gint center_x,
|
||||
gint center_y,
|
||||
ClutterRotateDirection direction,
|
||||
ClutterEffectCompleteFunc completed_func,
|
||||
gpointer completed_data);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* _CLUTTER_EFFECT */
|
||||
|
Reference in New Issue
Block a user