PaintableT.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.

template PaintableT(TStruct)
void
snapshot
(
Snapshot snapshot
,
double width
,
double height
)

Parameters

snapshot Snapshot

a GdkSnapshot to snapshot to

width double

width to snapshot in

height double

height to snapshot in

Meta