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