Constructor

ClutterPathConstraintnew

Declaration [src]

ClutterConstraint*
clutter_path_constraint_new (
  ClutterPath* path,
  gfloat offset
)

Description [src]

Creates a new ClutterPathConstraint with the given path and offset.

Available since:1.6

Parameters

path ClutterPath
 

A ClutterPath, or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.
offset gfloat
 

The offset along the ClutterPath.

Return value

Returns: ClutterConstraint
 

The newly created ClutterPathConstraint.

 The data is owned by the called function.