All Manuals > CAPI Reference Manual > 2 GP Reference Entries

NextPrevUpTopContentsIndex

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

A transform.

dx

A real number.

dy

A real number.

Values

dx2

A real number.

dy2

A real number.

Description

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


CAPI Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex