Snapshot.scale

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

Use [method@Gtk.Snapshot.scale_3d] to scale in all 3 dimensions.

class Snapshot
void
scale
(
float factorX
,
float factorY
)

Parameters

factorX float

scaling factor on the X axis

factorY float

scaling factor on the Y axis

Meta