create_cairo_context


Description:

public CairoContext create_cairo_context ()

Creates a new `GdkCairoContext` for rendering on this.

Note:

Drawing content with Cairo should be done via Cairo rendernodes, not by using the Cairo renderer.

Parameters:

this

a `GdkSurface`

Returns:

the newly created `GdkCairoContext`