Package: gtk

Function gtk:snapshot-scale

Lambda List

gtk:snapshot-scale (snapshot xfactor yfactor)

Arguments

snapshot -- a gtk:snapshot object
xfactor -- a number coerced to a single float for the scaling factor on the X axis
yfactor -- a number coerced to a single float for the scaling factor on the Y axis

Details

Scales the coordinate system of the snapshot in 2-dimensional space by the given factors. Use the gtk:snapshot-scale-3d function to scale in all 3 dimensions.
 

See also

2025-2-12