Snapshot.scale

void scale(float factorX, float factorY)

Scales snapshot's coordinate system in 2-dimensional space by the given factors.

Use [gtk.snapshot.Snapshot.scale3d] to scale in all 3 dimensions.

Parameters

factorXscaling factor on the X axis
factorYscaling factor on the Y axis