Package: graphene

Function graphene:rect-scale

Lambda List

graphene:rect-scale (r sh sv result)

Arguments

r -- a graphene:rect-t instance
sh -- a number coerced to a float with the horizontal scale factor
sv -- a number coerced to a float with the vertical scale factor
result -- a graphene:rect-t instance

Return Value

The graphene:rect-t instance with the scaled rectangle.

Details

Scales the size and origin of a rectangle horizontaly by sh, and vertically by sv. The returned rectangle is normalized.
 

See also

#2023-11-20