Modifies a transform such that a translation is performed on any points multiplied by the transform.
graphics-ports
apply-translation transform dx dy => transform
transform⇩ |
A transform. |
dx⇩ |
A real number. |
dy⇩ |
A real number. |
transform |
A transform. |
The function apply-translation
modifies transform such that a translation of (dx dy) is performed on any points multiplied by the transform. Any operations already contained in the transform occur before the new translation.
apply-translation
returns the transform.
See graphics-state for details of how a transform is used.
(example-edit-file "capi/graphics/metafile-rotation")
apply-rotation
apply-rotation-around-point
apply-scale
graphics-state
transform
CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:34:15