GGParseOut.mesa
Copyright © 1986 by Xerox Corporation. All rights reserved.
Last edited by Bier on January 6, 1986 6:05:44 pm PST
Contents: Routines which turn various Gargoyle data structures into Rope.ROPEs and write them onto a file stream.
DIRECTORY
GGBasicTypes, Imager, ImagerTransformation, IO, Rope;
GGParseOut: CEDAR DEFINITIONS = BEGIN
Color: TYPE = Imager.Color;
Point: TYPE = GGBasicTypes.Point;
StrokeEnd: TYPE = Imager.StrokeEnd;
WriteColor: PROC [f: IO.STREAM, color: Color];
WriteStrokeEnd: PROC [f: IO.STREAM, lineEnds: StrokeEnd];
WritePoint: PROC [f: IO.STREAM, point: Point];
WriteTransformation: PROC [f: IO.STREAM, transform: ImagerTransformation.Transformation];
WriteBOOL: PROC [f: IO.STREAM, bool: BOOL];
WriteProps: PROC [f: IO.STREAM, props: LIST OF REF ANY];
END.