Method

GdkDrawingContextget_clip

since: 3.22

Declaration [src]

cairo_region_t*
gdk_drawing_context_get_clip (
  GdkDrawingContext* context
)

Description [src]

Retrieves a copy of the clip region used when creating the context.

Available since: 3.22

Return value

Type: cairo_region_t

A Cairo region.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.