DrawingContext.getCairoContext

Retrieves a Cairo context to be used to draw on the #GdkWindow that created the #GdkDrawingContext.

The returned context is guaranteed to be valid as long as the #GdkDrawingContext is valid, that is between a call to gdk_window_begin_draw_frame() and gdk_window_end_draw_frame().

class DrawingContext
getCairoContext
()

Return Value

Type: Context

a Cairo context to be used to draw the contents of the #GdkWindow. The context is owned by the #GdkDrawingContext and should not be destroyed

Meta

Since

3.22