Struct

ClutterPaintVolume

Description [src]

struct ClutterPaintVolume {
  /* No available fields */
}

A ClutterPaintVolume represents a bounding volume whose internal representation isn’t defined but can be set and queried in terms of an axis aligned bounding box.

A ClutterPaintVolume for a ClutterActor is defined to be relative from the current actor modelview matrix.

Other internal representation and methods for describing the bounding volume may be added in the future.

Instance methods

clutter_paint_volume_copy

Copies pv into a new ClutterPaintVolume.

clutter_paint_volume_free

Frees the resources allocated by pv.

clutter_paint_volume_get_depth

Retrieves the depth of the volume’s, axis aligned, bounding box.

clutter_paint_volume_get_height

Retrieves the height of the volume’s, axis aligned, bounding box.

clutter_paint_volume_get_origin

Retrieves the origin of the ClutterPaintVolume.

clutter_paint_volume_get_width

Retrieves the width of the volume’s, axis aligned, bounding box.

clutter_paint_volume_set_depth

Sets the depth of the paint volume. The depth is measured along the z axis in the actor coordinates that pv is associated with.

clutter_paint_volume_set_from_allocation

Sets the ClutterPaintVolume from the allocation of actor.

clutter_paint_volume_set_height

Sets the height of the paint volume. The height is measured along the y axis in the actor coordinates that pv is associated with.

clutter_paint_volume_set_origin

Sets the origin of the paint volume.

clutter_paint_volume_set_width

Sets the width of the paint volume. The width is measured along the x axis in the actor coordinates that pv is associated with.

clutter_paint_volume_union

Updates the geometry of pv to encompass pv and another_pv.

clutter_paint_volume_union_box

Unions the 2D region represented by box to a ClutterPaintVolume.