Package: gtk

Function gtk:snapshot-append-scaled-texture

Lambda List

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

Arguments

snapshot -- a gtk:snapshot object
texture -- a gdk:texture object for the texture to render
filter -- a gsk:scaling-filter value for the filter to use
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. In contrast to the gtk:snapshot-append-texture function, this function provides control over the filter that is used for scaling.

Since 4.10
 

See also

#2025-2-12