ImagerMaskCapture.mesa
Copyright Ó 1985, 1986, 1987, 1989, 1991 by Xerox Corporation. All rights reserved.
Michael Plass, September 8, 1989 3:33:39 pm PDT
Doug Wyatt, March 7, 1986 2:59:58 pm PST
DIRECTORY
Imager USING [Context, SampleMap, Transformation],
ImagerManhattan USING [Polygon],
ImagerMaskCache USING [Parameters],
SF USING [Box, BoxAction];
ImagerMaskCapture: CEDAR DEFINITIONS
~ BEGIN OPEN ImagerMaskCache;
CaptureBounds: PROC [operator: PROC [Imager.Context], m: Imager.Transformation, parameters: Parameters ¬ NIL] RETURNS [SF.Box];
m is the client-to-device transformation.
Cant: SIGNAL [why: ATOM];
Raised by the following whenever a situation is detected where the result would not be well-defined; If checkColor is TRUE on the following, attempts to change color will rasie this signal.
CaptureBoxes: PROC [operator: PROC [Imager.Context], m: Imager.Transformation, boxAction: SF.BoxAction, checkColor: BOOL ¬ FALSE, parameters: Parameters ¬ NIL];
CaptureBitmap: PROC [operator: PROC [Imager.Context], m: Imager.Transformation, checkColor: BOOL ¬ FALSE, parameters: Parameters ¬ NIL] RETURNS [Imager.SampleMap];
CaptureManhattan: PROC [operator: PROC [Imager.Context], m: Imager.Transformation, checkColor: BOOL ¬ FALSE, parameters: Parameters ¬ NIL] RETURNS [ImagerManhattan.Polygon];
END.