Package: gtk

Function gtk:snapshot-append-color

Lambda List

gtk:snapshot-append-color (snapshot color bounds)

Arguments

snapshot -- a gtk:snapshot object
color -- a gdk:rgba instance for the color to draw
bounds -- a graphene:rect-t instance for the bounds of the node

Details

Creates a new render node drawing the color into the given bounds and appends it to the current render node of snapshot. You should try to avoid calling this function if color is transparent.
 

See also

2025-2-12