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);
Available since: | 1.0 |
Parameters
x_1 |
gfloat |
X coordinate of the top left point. |
|
y_1 |
gfloat |
Y coordinate of the top left point. |
|
x_2 |
gfloat |
X coordinate of the bottom right point. |
|
y_2 |
gfloat |
Y coordinate of the bottom right point. |
Return value
Returns: | ClutterActorBox |
The newly allocated |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |