Function

Gdkcairo_get_drawing_context

since: 3.22

Declaration [src]

GdkDrawingContext*
gdk_cairo_get_drawing_context (
  cairo_t* cr
)

Description [src]

Retrieves the GdkDrawingContext that created the Cairo context cr.

Available since: 3.22

Parameters

cr

Type: cairo_t

A Cairo context.

The data is owned by the caller of the function.

Return value

Type: GdkDrawingContext

A GdkDrawingContext, if any is set.

The data is owned by the called function.
The return value can be NULL.