Package: cairo

Function cairo:region-rectangle

Lambda List

cairo:region-rectangle (region nth)

Syntax

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

Arguments

region -- a cairo:region-t instance
nth -- an integer indicating which rectangle should be returned
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 nth rectangle.

Details

Returns the nth rectangle from the region as a list with the coordinates of the rectangle.
 

See also

2025-1-26