Function

Gdkcairo_get_drawing_context

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 cairo_t
 

A Cairo context.

 The data is owned by the caller of the function.

Return value

Returns: GdkDrawingContext
 

A GdkDrawingContext, if any is set.

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