File: GGFileOut.mesa
Last edited by Bier on November 18, 1986 3:01:58 pm PST
Copyright © 1986 by Xerox Corporation. All rights reserved.
Contents: Facilities for creating text files and writing out a human-readable version of a gargoyle object database
DIRECTORY
GGModelTypes, GGInterfaceTypes, IO, Rope;
GGFileOut: CEDAR DEFINITIONS =
BEGIN
GargoyleData: TYPE = GGInterfaceTypes.GargoyleData;
Scene: TYPE = GGModelTypes.Scene;
FileoutSceneOnly: PROC [f: IO.STREAM, scene: Scene, fileName: Rope.ROPE];
Writes a description of a Gargoyle scene. The client must already have opened a STREAM onto a file. The fileName argument is just so FileoutSceneOnly can put the name of the file in the file.
FileoutSceneAndOptions: PROC [f: IO.STREAM, gargoyleData: GargoyleData, fileName: Rope.ROPE];
Writes a description of a Gargoyle scene, and some of the user interface state into a file (including which alignments are selected and so forth). The client must already have opened a STREAM onto a file. The fileName argument is just so FileoutSceneOnly can put the name of the file in the file.
END.