All Manuals > CAPI User Guide and Reference Manual > 22 GRAPHICS-PORTS Reference Entries

transform-distance Function

Summary

Transforms a distance vector by the rotation and scale of a transform.

Package

graphics-ports

Signature

transform-distance transform dx dy => dx2, dy2

Arguments
transform
dx
A real number.
dy
A real number.
Values
dx2
A real number.
dy2
A real number.
Description

The function transform-distance transforms the distance (dx dy) by the rotation and scale in transform. The translation in transform is ignored. The transformed distance is returned as two values.

See also

transform


CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:33:02