Package: cairo

Function cairo-copy-clip-rectangle-list

Lambda List

cairo-copy-clip-rectangle-list (cr)

Arguments

c -- a cairo-t context

Return Value

The current clip region as a list of rectangles in user coordinates, which should be destroyed using the cairo-rectangle-list-destroy function.

Details

Gets the current clip region as a list of rectangles in user coordinates. Never returns NULL.

The status in the list may be :clip-not-representable to indicate that the clip region cannot be represented as a list of user-space rectangles. The status may have other values to indicate other errors.
 

See also

2021-12-12