2007-10-01 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-fixed.h: Add CLUTTER_FIXED_TO_INT() and deprecate CLUTTER_FIXED_INT(), for symmetry with CLUTTER_FIXED_FROM_INT(). * clutter/clutter-alpha.c: * clutter/clutter-behaviour-depth.c: * clutter/clutter-behaviour-ellipse.c: * clutter/clutter-behaviour-path.c: * clutter/clutter-fixed.h: Use CLUTTER_FIXED_TO_INT().
This commit is contained in:
@ -103,8 +103,8 @@ interpolate (const ClutterKnot *begin,
|
||||
ClutterKnot *out,
|
||||
ClutterFixed t)
|
||||
{
|
||||
out->x = begin->x + CLUTTER_FIXED_INT (t * (end->x - begin->x));
|
||||
out->y = begin->y + CLUTTER_FIXED_INT (t * (end->y - begin->y));
|
||||
out->x = begin->x + CLUTTER_FIXED_TO_INT (t * (end->x - begin->x));
|
||||
out->y = begin->y + CLUTTER_FIXED_TO_INT (t * (end->y - begin->y));
|
||||
}
|
||||
|
||||
static gint
|
||||
|
Reference in New Issue
Block a user