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

premultiply-transforms Function

Summary

Premultiplies two transforms.

Package

graphics-ports

Signature

premultiply-transforms transform1 transform2

Arguments
transform1
A transform object.
transform2
A transform object.
Description

The function premultiply-transforms premultiplies the partial 3 x 3 matrix represented by transform1 by the partial 3 x 3 matrix represented by transform2, storing the result in transform1. In the result, the translation, scaling and rotation operations contained in transform2 are effectively performed before those in transform1.

transform1 = transform2 . transform1

CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:44