create_cairo_context


Description:

[ Version ( deprecated = true , deprecated_since = "4.18" ) ]
public CairoContext create_cairo_context ()

Warning: create_cairo_context is deprecated since 4.18.

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`