DIRECTORY AdjustColorStd USING [TRC], IO USING [STREAM], Rope USING [ROPE], SampleArrays USING [SampleArray], SampleMapOps USING [SampleMap], SelectRegions USING [Rectangle]; ColorEditOps: CEDAR DEFINITIONS ~ BEGIN Rectangle: TYPE ~ SelectRegions.Rectangle; ROPE: TYPE ~ Rope.ROPE; SampleArray: TYPE ~ SampleArrays.SampleArray; SampleMap: TYPE ~ SampleMapOps.SampleMap; TRC: TYPE ~ AdjustColorStd.TRC; LogApply: PROC [trc: REF TRC, sm: SampleMap, extent: Rectangle] RETURNS [rope: ROPE]; ApplyLog: PROC [changeLog: ROPE, sa: SampleArray]; SaveExtentOfMask: PROC [mask: SampleMap, extent: Rectangle, fileName: ROPE]; ReadExtentOfMask: PROC [mask: SampleMap, fileName: ROPE] RETURNS [extent: Rectangle]; SaveExtentOfMaskToStream: PROC [stream: IO.STREAM, mask: SampleMap, extent: Rectangle]; ReadExtentOfMaskFromStream: PROC [stream: IO.STREAM, mask: SampleMap] RETURNS [extent: Rectangle]; END. ColorEditOps.mesa Copyright c 1986 by Xerox Corporation. All rights reserved. Eric Nickell, January 7, 1986 8:38:53 am PST Compresses the information used for an Apply into a rope. Takes a ROPE which is the concatentation of ROPEs created by LogApply, and applies them to sa. Saves the contents of mask within the extent to the named file. Reads the contents of the file into mask, and returns the extent which has bits in it. Same as SaveExtentOfMask, except to a stream. Same as ReadExtentOfMask, except from a stream. Κ©˜™Icodešœ Οmœ1™