Package: gsk

Function gsk:cairo-node-draw-context

Lambda List

gsk:cairo-node-draw-context (node)

Arguments

node -- a gsk:cairo-node instance for a Cairo surface

Return Value

The Cairo context used for drawing, use the cairo:destroy function when done drawing.

Details

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.
 

See also

#2023-10-27