Package: gdk

Function gdk:surface-create-cairo-context

Lambda List

gdk:surface-create-cairo-context (surface)

Arguments

surface -- a gdk:surface object

Return Value

The newly created gdk:cairo-context object.

Details

Creates a new gdk:cairo-context object for rendering on surface.

Warning

This function is deprecated since 4.18. Drawing content with Cairo should be done via Cairo rendernodes, not by using the Cairo renderer.
 

See also

2025-09-23