Context.copyClipRectangleList

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

The status in the list may be cairo.types.Status.ClipNotRepresentable 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.

class Context
copyClipRectangleList
()

Return Value

Type: cairo.rectangle_list.RectangleList

the current clip region as a list of rectangles in user coordinates, which should be destroyed using cairo.rectangle_list.RectangleList.destroy.