file: rectangle.aus

class: GdkRectangleLayout

[12:14] static extends: object

Generated struct layout helper for GIR record Rectangle.

Methods

class: GdkRectangle

[37:7] extends: object

Represents a rectangle. GdkRectangle is identical to cairo_rectangle_t. Together with Cairo’s cairo_region_t data type, these are the central types for representing sets of pixels. The intersection of two rectangles can be computed with [method@Gdk.Rectangle.intersect]; to find the union of two rectangles use [method@Gdk.Rectangle.union]. The cairo_region_t type provided by Cairo is usually used for managing non-rectangular clipping of graphical operations. The Graphene library has a number of other data types for regions and volumes in 2D and 3D.

Members

Methods