Function
ClutterActorBoxnew
Declaration [src]
ClutterActorBox*
clutter_actor_box_new (
gfloat x_1,
gfloat y_1,
gfloat x_2,
gfloat y_2
)
Description [src]
Allocates a new ClutterActorBox using the passed coordinates
for the top left and bottom right points.
This function is the logical equivalent of:
clutter_actor_box_init (clutter_actor_box_alloc (),
x_1, y_1,
x_2, y_2);
Parameters
x_1-
Type:
gfloatX coordinate of the top left point.
y_1-
Type:
gfloatY coordinate of the top left point.
x_2-
Type:
gfloatX coordinate of the bottom right point.
y_2-
Type:
gfloatY coordinate of the bottom right point.
Return value
Type: ClutterActorBox
The newly allocated ClutterActorBox.
Use clutter_actor_box_free() to free the resources.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |