Window.getClipRegion

Computes the region of a window that potentially can be written to by drawing primitives. This region may not take into account other factors such as if the window is obscured by other windows, but no area outside of this region will be affected by drawing primitives.

class Window
getClipRegion
()

Return Value

Type: Region

a cairo_region_t. This must be freed with cairo_region_destroy() when you are done.

Meta