Package: gtk

Function gtk:snapshot-append-cairo

Lambda List

gtk:snapshot-append-cairo (snapshot bounds)

Arguments

snapshot -- a gtk:snapshot object
bounds -- a graphene:rect-t instance for the bounds of the new node

Return Value

The cairo:context-t instance suitable for drawing the contents of the newly created render node.

Details

Creates a new gsk:cairo-node instance and appends it to the current render node of snapshot, without changing the current node.
 

See also

2025-2-12