Package: gtk

Function gtk:snapshot-append-texture

Lambda List

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

Arguments

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

Details

Creates a new render node drawing the texture into the given bounds and appends it to the current render node of snapshot. If the texture needs to be scaled to fill bounds, linear filtering is used. See the gtk:snapshot-append-scaled-texture function if you need other filtering, such as nearest-neighbour.
 

See also

2025-2-12