Paintable.snapshot

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.

interface Paintable
void
snapshot

Parameters

snapshot gdk.snapshot.Snapshot

a gdk.snapshot.Snapshot to snapshot to

width double

width to snapshot in

height double

height to snapshot in