get_clip_region


Description:

public Region get_clip_region ()

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.

Parameters:

this

a Window

Returns:

a Region. This must be freed with cairo_region_destroy when you are done.