GGTransform.mesa
Copyright © 1985 by Xerox Corporation. All rights reserved.
Last edited by Bier on July 28, 1986 10:13:07 pm PDT
Contents: A layer on top of ImagerTransformation for use in Gargoyle.
Pier, December 6, 1985 10:00:49 am PST
DIRECTORY
ImagerTransformation,
GGBasicTypes;
GGTransform: CEDAR DEFINITIONS =
BEGIN
Point: TYPE = GGBasicTypes.Point;
Identity: PROC RETURNS [id: ImagerTransformation.Transformation];
Transform: PROC [m: ImagerTransformation.Transformation, p: Point] RETURNS [newP: Point];
RotateAboutPoint: PROC [origin: Point, degrees: REAL] RETURNS [m: ImagerTransformation.Transformation];
ScaleAboutPoint: PROC [origin: Point, scalar: REAL] RETURNS [m: ImagerTransformation.Transformation];
ScaleUnevenAboutPoint: PROC [origin: Point, scalarX: REAL, scalarY: REAL] RETURNS [m: ImagerTransformation.Transformation];
SixPoints: PROC [pts: ARRAY [0..5] OF Point] RETURNS [transform: ImagerTransformation.Transformation];
FourPoints: PROC [pts: ARRAY [0..3] OF Point] RETURNS [transform: ImagerTransformation.Transformation];
END.