Method

ClutterPathget_position

Declaration [src]

guint
clutter_path_get_position (
  ClutterPath* path,
  gdouble progress,
  ClutterKnot* position
)

Description [src]

The value in progress represents a position along the path where 0.0 is the beginning and 1.0 is the end of the path. An interpolated position is then stored in position.

Available since:1.0

Parameters

progress gdouble
 

A position along the path as a fraction of its length.

position ClutterKnot
 

Location to store the position.

 The argument will be set by the function.
 The data is owned by the caller of the function.

Return value

Returns: guint
 

Index of the node used to calculate the position.