Constructor
ClutterAlignConstraintnew
Declaration [src]
ClutterConstraint*
clutter_align_constraint_new (
ClutterActor* source,
ClutterAlignAxis axis,
gfloat factor
)
Description [src]
Creates a new constraint, aligning a ClutterActor
‘s position with
regards of the size of the actor to source
, with the given
alignment factor
.
Available since: | 1.4 |
Parameters
source |
ClutterActor |
The |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
axis |
ClutterAlignAxis |
The axis to be used to compute the alignment. |
|
factor |
gfloat |
The alignment factor, between 0.0 and 1.0 |
Return value
Returns: | ClutterConstraint |
The newly created |
|
The data is owned by the called function. |