Method
GdkWindowget_clip_region
Declaration [src]
cairo_region_t*
gdk_window_get_clip_region (
GdkWindow* window
)
Description [src]
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.
Return value
Type: cairo_region_t
A #cairo_region_t. This must be freed with cairo_region_destroy()
when you are done.
The caller of the method takes ownership of the returned data, and is responsible for freeing it. |