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

NextPrevUpTopContentsIndex

apply-rotation-around-point

Function
Summary

Modifies a transform such that a specified rotation around a specified point is performed on any points multiplied by the transform.

Package

graphics-ports

Signature

apply-rotation-around-point transform theta x y => transform

Arguments

transform

A transform.

theta

A real number.

x

A real number.

y

A real number.

Description

The function apply-rotation-around-point modifies transform such that a clockwise rotation of theta radians around the point ( x , y ) is performed on any points multiplied by the transform. Any operations already contained in the transform occur before the new rotation.

apply-rotation-around-point returns the transform.

Notes

See graphics-state for details of how a transform is used.

Examples
(example-edit-file "capi/graphics/rotation-around-point")

There are further examples in Self-contained examples.

See also

apply-rotation
graphics-state
transform


CAPI User Guide and Reference Manual (Windows version) - 25 Feb 2015

NextPrevUpTopContentsIndex