All Manuals > CAPI Reference Manual > 2 GP Reference Entries

NextPrevUpTopContentsIndex

apply-translation

Function
Summary

Modifies a transform such that a translation is performed on any points multiplied by the transform.

Package

graphics-ports

Signature

apply-translation transform dx dy => transform

Arguments

transform

A transform.

dx

A real number.

dy

A real number.

Description

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.

Examples

examples/capi/graphics/metafile-rotation.lisp

See also

apply-rotation
apply-rotation-around-point
apply-scale


CAPI Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex