Package: cairo

Function cairo:region-intersect-rectangle

Lambda List

cairo:region-intersect-rectangle (region x y width height)

Arguments

region -- a cairo:region-t instance
x -- an integer for the x coordinate with the left side of the rectangle
y -- an integer for the y coordinate with 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 passed in cairo:region-t instance with the intersection or nil if an error occured.

Details

Computes the intersection of region with the given rectangle and places the result in region.
 

See also

2025-1-26