Paintable.snapshot

void snapshot(gdk.snapshot.Snapshot snapshot, double width, double height)

Snapshots the given paintable with the given width and height.

The paintable is drawn at the current (0,0) offset of the snapshot. If width and height are not larger than zero, this function will do nothing.

Parameters

snapshota [gdk.snapshot.Snapshot] to snapshot to
widthwidth to snapshot in
heightheight to snapshot in