Virtual Method
ClutterAnimatableinterpolate_value
since: 1.8
Declaration [src]
gboolean
interpolate_value (
ClutterAnimatable* animatable,
const gchar* property_name,
ClutterInterval* interval,
gdouble progress,
GValue* value
)
Description [src]
Asks a ClutterAnimatable
implementation to interpolate a
a named property between the initial and final values of
a ClutterInterval
, using progress
as the interpolation
value, and store the result inside value
.
This function should be used for every property animation
involving ClutterAnimatable
s.
This function replaces clutter_animatable_animate_property().
Available since: 1.8
Parameters
property_name
-
Type:
const gchar*
The name of the property to interpolate.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. interval
-
Type:
ClutterInterval
A
ClutterInterval
with the animation range.The data is owned by the caller of the function. progress
-
Type:
gdouble
The progress to use to interpolate between the initial and final values of the
interval
. value
-
Type:
GValue
Return location for an initialized
GValue
using the same type of theinterval
.The argument will be set by the function. The data is owned by the caller of the function.