Package: gsk

Function gsk:transform-scale

Lambda List

gsk:transform-scale (transform xfactor yfactor)

Arguments

transform -- a gsk:transform instance
xfactor -- a number coerced to a single float with the scaling factor on the x axis
yfactor -- a number coerced to a single float with the scaling factor on the y axis

Return Value

The new gsk:transform instance.

Details

Scales transform in 2-dimensional space by the given factors. Use the gsk:transform-scale-3d function to scale in all 3 dimensions.
 

See also

2024-4-21