get_draw_context


Description:

public Context get_draw_context ()

Creates a Cairo context for drawing using the surface associated to the render node.

If no surface exists yet, a surface will be created optimized for rendering to renderer.

Parameters:

this

a `GskRenderNode` for a Cairo surface

Returns:

a Cairo context used for drawing; use cairo_destroy when done drawing