Package: cairo

Function cairo:region-subtract-rectangle

Lambda List

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

Arguments

region -- a cairo:region-t instance
x -- an integer for the x coordinate
y -- an integer for the y coordinate
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 result or nil if an error occured.

Details

Subtracts rectangle from region and places the result in region.
 

See also

2025-1-26