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
factorX | scaling factor on the X axis |
factorY | scaling factor on the Y axis |