Remove unused _clutter_bezier_clone_and_move
Never used in mutter AFAICT. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3178>
This commit is contained in:
parent
f045475b7f
commit
e00424f4dd
@ -117,18 +117,6 @@ _clutter_bezier_free (ClutterBezier * b)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ClutterBezier *
|
|
||||||
_clutter_bezier_clone_and_move (const ClutterBezier *b, gint x, gint y)
|
|
||||||
{
|
|
||||||
ClutterBezier * b2 = _clutter_bezier_new ();
|
|
||||||
memcpy (b2, b, sizeof (ClutterBezier));
|
|
||||||
|
|
||||||
b2->dx += x;
|
|
||||||
b2->dy += y;
|
|
||||||
|
|
||||||
return b2;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef CBZ_L2T_INTERPOLATION
|
#ifdef CBZ_L2T_INTERPOLATION
|
||||||
/*
|
/*
|
||||||
* L is relative advance along the bezier curve from interval <0,1>
|
* L is relative advance along the bezier curve from interval <0,1>
|
||||||
|
@ -40,10 +40,6 @@ ClutterBezier *_clutter_bezier_new (void);
|
|||||||
|
|
||||||
void _clutter_bezier_free (ClutterBezier * b);
|
void _clutter_bezier_free (ClutterBezier * b);
|
||||||
|
|
||||||
ClutterBezier *_clutter_bezier_clone_and_move (const ClutterBezier *b,
|
|
||||||
gint x,
|
|
||||||
gint y);
|
|
||||||
|
|
||||||
void _clutter_bezier_advance (const ClutterBezier *b,
|
void _clutter_bezier_advance (const ClutterBezier *b,
|
||||||
gint L,
|
gint L,
|
||||||
ClutterKnot *knot);
|
ClutterKnot *knot);
|
||||||
|
Loading…
Reference in New Issue
Block a user