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);
@constructor
@param x1 X coordinate of the top left point
@param y1 Y coordinate of the top left point
@param x2 X coordinate of the bottom right point
@param y2 Y coordinate of the bottom right point
X coordinate of the top left corner
X coordinate of the bottom right corner
Y coordinate of the top left corner
Y coordinate of the bottom right corner
Clamps the components of box
to the nearest integer
Checks whether a point with x,
y
coordinates is contained
withing box
X coordinate of the point
Y coordinate of the point
Copies box
Checks box_a
and box_b
for equality
a #ClutterActorBox
Frees a #ClutterActorBox allocated using clutter_actor_box_new() or clutter_actor_box_copy()
Calculates the bounding box represented by the four vertices; for details of the vertex array see clutter_actor_get_abs_allocation_vertices().
array of four #ClutterVertex
Retrieves the area of box
Retrieves the height of the box
Retrieves the origin of box
Retrieves the size of box
Retrieves the width of the box
Retrieves the X coordinate of the origin of box
Retrieves the Y coordinate of the origin of box
Initializes box
with the given coordinates.
X coordinate of the top left point
Y coordinate of the top left point
X coordinate of the bottom right point
Y coordinate of the bottom right point
Initializes box
with the given origin and size.
X coordinate of the origin
Y coordinate of the origin
width of the box
height of the box
Changes the origin of box,
maintaining the size of the #ClutterActorBox.
the X coordinate of the new origin
the Y coordinate of the new origin
Sets the size of box,
maintaining the origin of the #ClutterActorBox.
the new width
the new height
Allocates a new #ClutterActorBox.
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);
@constructor
@param x1 X coordinate of the top left point
@param y1 Y coordinate of the top left point
@param x2 X coordinate of the bottom right point
@param y2 Y coordinate of the bottom right point
Bounding box of an actor. The coordinates of the top left and right bottom corners of an actor. The coordinates of the two points are expressed in pixels with sub-pixel precision