ImagerDeviceProcs.mesa
Copyright Ó 1990, 1991 by Xerox Corporation. All rights reserved.
Michael Plass, October 11, 1991 12:51 pm PDT
Created by Michael Plass, June 20, 1990
Procedures for reducing special cases of device masking procedure to a more general case. Useful inside a device implementation, when the special case turns out to be inapplicable.
DIRECTORY
ImagerDevice USING [Device],
ImagerMaskCache USING [CharMask],
ImagerSample USING [EdgeAction, RawDescriptor, SampleMap],
SF USING [Box, BoxGenerator, Vec];
ImagerDeviceProcs: CEDAR DEFINITIONS
~
BEGIN
OPEN ImagerDevice;
DMaskRegion:
PROC [device: Device, bounds:
SF.Box, edgeGenerator:
PROC [ImagerSample.EdgeAction]];
DMaskBitmap:
PROC [device: Device, bitmap: ImagerSample.SampleMap, delta:
SF.Vec, bounds:
SF.Box, boxes:
SF.BoxGenerator];
DMaskRawBitmaps:
PROC [device: Device, list:
LIST
OF ImagerSample.RawDescriptor];
DDrawBitmap:
PROC [device: Device, bitmap: ImagerSample.SampleMap, delta:
SF.Vec, bounds:
SF.Box, boxes:
SF.BoxGenerator];
DMaskChar:
PROC [device: Device, delta:
SF.Vec, mask: ImagerMaskCache.CharMask];
END.