append_texture


Description:

public void append_texture (Texture texture, Rect bounds)

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

If the texture needs to be scaled to fill bounds, linear filtering is used. See [method@Gtk.Snapshot.append_scaled_texture] if you need other filtering, such as nearest-neighbour.

Parameters:

this

a `GtkSnapshot`

texture

the texture to render

bounds

the bounds for the new node