All Manuals > CAPI Reference Manual > 2 GP 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.

Examples
examples/capi/graphics/rotation-around-point.lisp
See also

apply-rotation


CAPI Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex