Package: cairo

Function cairo:region-extents

Lambda List

cairo:region-extents (region)

Syntax

(cairo:region-extents region) => (list x y width height)

Arguments

region -- a cairo:region-t instance
x -- an integer for the x coordinate of the left side of the rectangle
y -- an integer for the y coordinate of the top side of the rectangle
width -- an integer for the width of the rectangle
height -- an integer for the height of the rectangle

Return Value

The (x y width height) list with the coordinates of the bounding rectangle.

Details

Gets the bounding rectangle of region as a list of the coordinates.
 

See also

2025-1-26