push_clip


Description:

public void push_clip (Rect bounds)

Clips an image to a rectangle.

The image is recorded until the next call to [method@Gtk.Snapshot.pop].

Parameters:

this

a `GtkSnapshot`

bounds

the rectangle to clip to