Snapshot.pushClip

void pushClip(graphene.rect.Rect bounds)

Clips an image to a rectangle.

The image is recorded until the next call to gtk.snapshot.Snapshot.pop.

Parameters

boundsthe rectangle to clip to