All Manuals > CAPI Reference Manual > 2 GP Reference Entries

NextPrevUpTopContentsIndex

apply-scale

Function
Summary

Modifies a transform such that a scaling occurs on any points multiplied by the transform.

Package

graphics-ports

Signature

apply-scale transform sx sy => transform

Arguments

transform

A transform.

sx

A real number.

sy

A real number.

Description

The function apply-scale modifies transform such that a scaling of sx in x and sy in y is performed on any points multiplied by the transform. Any operations already contained in the transform occur before the new scaling.

apply-scale returns the transform.

Examples

examples/capi/graphics/metafile-rotation.lisp

See also

apply-rotation
apply-rotation-around-point
apply-translation


CAPI Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex