append_scaled_texture


Description:

[ Version ( since = "4.10" ) ]
public void append_scaled_texture (Texture texture, ScalingFilter filter, Rect bounds)

Creates a new render node drawing the texture into the given bounds and appends it to the current render node of this.

In contrast to [method@Gtk.Snapshot.append_texture], this function provides control about how the filter that is used when scaling.

Parameters:

this

a `GtkSnapshot`

texture

the texture to render

filter

the filter to use

bounds

the bounds for the new node