Package: gtk

Function gtk:snapshot-push-fill

Lambda List

gtk:snapshot-push-fill (snapshot path rule)

Arguments

snapshot -- a gtk:snapshot object
path -- a gsk:path instance for the path describing the area to fill
rule -- a gsk:fill-rule value to use

Details

Fills the area given by path and rule with an image and discards everything outside of it. The image is recorded until the next call to the gtk:snapshot-pop function. If you want to fill the path with a color, the gtk:snapshot-append-fill function may be more convenient.

Since 4.14
 

See also

2025-2-12