Struct
ClutterActorBox
Description [src]
struct ClutterActorBox {
gfloat x1;
gfloat y1;
gfloat x2;
gfloat y2;
}
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.
Structure members
x1X coordinate of the top left corner.
y1Y coordinate of the top left corner.
x2X coordinate of the bottom right corner.
y2Y coordinate of the bottom right corner.
Constructors
clutter_actor_box_new
Allocates a new ClutterActorBox using the passed coordinates
for the top left and bottom right points.
Instance methods
clutter_actor_box_free
Frees a ClutterActorBox allocated using clutter_actor_box_new()
or clutter_actor_box_copy().
clutter_actor_box_from_vertices
Calculates the bounding box represented by the four vertices; for details
of the vertex array see clutter_actor_get_abs_allocation_vertices().
clutter_actor_box_interpolate
Interpolates between initial and final ClutterActorBoxes using progress.
clutter_actor_box_is_initialized
Checks if box has been initialized, a ClutterActorBox is uninitialized
if it has a size of -1 at an origin of 0, 0.
clutter_actor_box_set_origin
Changes the origin of box, maintaining the size of the ClutterActorBox.