ImagerDeviceBitmapPrivate.mesa
Copyright © 1985, 1986 by Xerox Corporation. All rights reserved.
Michael Plass, June 26, 1985 9:45:19 am PDT
Doug Wyatt, March 4, 1986 10:47:26 am PST
Private definitions for ImagerDeviceBitmapImpl.
DIRECTORY
ImagerSample USING [Function, nullFunction, PixelBuffer, PixelMap, Sample, SampleMap],
ImagerTransformation USING [Transformation];
ImagerDeviceBitmapPrivate: CEDAR DEFINITIONS
~ BEGIN
Case: TYPE ~ {nil, fill, tile, sampledBlack, sampledColor};
Data: TYPE ~ REF DataRep;
DataRep: TYPE ~ RECORD[
frame: ImagerSample.SampleMap, -- the target bitmap
case: Case ← nil, -- what type of color
value: ImagerSample.Sample ← 0, -- value for fill
function: ImagerSample.Function ← ImagerSample.nullFunction, -- for fill, tile, sampledBlack
tile: ImagerSample.SampleMap ← NIL, -- for tile, sampledBlack
s0, f0: INT ← 0, phase: NAT ← 0, -- origin and phase for tile
pixelMap: ImagerSample.PixelMap ← NIL, -- for sampledColor
paToDevice: ImagerTransformation.Transformation ← NIL, -- from pixel [s, f] to frame [s, f]
brick: ImagerSample.PixelBuffer ← NIL, -- halftone brick
extras: REFNIL
];
END.