Migrated ClutterPathNode to use ClutterPoint

Removed the use of ClutterKnot almost everywhere
Updated casting to get the data from the variable arguments list
This commit is contained in:
Erick Pérez Castellanos
2013-04-13 13:01:10 -04:00
parent 7c6d0251dd
commit b1fa6434e1
7 changed files with 83 additions and 65 deletions

View File

@ -143,7 +143,7 @@ _clutter_bezier_clone_and_move (const ClutterBezier *b,
void
_clutter_bezier_advance (const ClutterBezier *b,
gfloat L,
ClutterKnot *knot)
ClutterPoint *knot)
{
gfloat t;
t = L;
@ -231,7 +231,7 @@ _clutter_bezier_init (ClutterBezier *b,
*/
void
_clutter_bezier_adjust (ClutterBezier *b,
ClutterKnot *knot,
ClutterPoint *knot,
guint indx)
{
gfloat x[4], y[4];