Package: gdk

Function gdk:paintable-snapshot

Lambda List

gdk:paintable-snapshot (paintable snapshot width height)

Arguments

paintable -- a gdk:paintable object
snapshot -- a gdk:snapshot object
width -- a number coerced to a double float for the width to snapshot in
height -- a number coerced to a double float for the height to snapshot in

Return Value

The gdk:snapshot object to snapshot to.

Details

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

See also

2025-2-16