Package: gsk

Function gsk:render-node-draw

Lambda List

gsk:render-node-draw (node cr)

Arguments

node -- a gsk:render-node instance
cr -- a cairo:context-t instance to draw to

Details

Draw the contents of node to the given Cairo context. Typically, you will use this function to implement fallback rendering of render nodes on an intermediate Cairo context, instead of using the drawing context associated to the rendering buffer of a gdk:surface object.

For advanced nodes that cannot be supported using Cairo, in particular for nodes doing 3D operations, this function may fail.
 

See also

2023-10-26