Snapshot.appendScaledTexture

void appendScaledTexture(gdk.texture.Texture texture, gsk.types.ScalingFilter filter, graphene.rect.Rect bounds)

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 gtk.snapshot.Snapshot.appendTexture, this function provides control about how the filter that is used when scaling.

Parameters

texturethe texture to render
filterthe filter to use
boundsthe bounds for the new node