IIBitmapContext.mesa
Copyright Ó 1986 by Xerox Corporation. All rights reserved.
Michael Plass, September 15, 1986 9:17:36 am PDT
DIRECTORY
II USING [Context, SampleMap, ScanMode, VEC],
IIDevice USING [FontTuner],
SF USING [Vec];
IIBitmapContext: CEDAR DEFINITIONS
~
BEGIN
classCode:
READONLY
ATOM;
Create:
PROC [deviceSpaceSize:
SF.Vec, scanMode:
II.ScanMode, surfaceUnitsPerInch:
II.
VEC, pixelUnits:
BOOL ←
FALSE, fontCacheName:
ATOM ←
NIL, fontTuner: IIDevice.FontTuner ←
NIL]
RETURNS [
II.Context];
SetBitmap:
PROC [context:
II.Context, bitmap:
II.SampleMap];
GetBitmap:
PROC [context:
II.Context]
RETURNS [
II.SampleMap];
Brick:
TYPE ~
RECORD [maxSample:
CARDINAL, sampleMap:
II.SampleMap, phase:
NAT];
SetHalftoneProperties:
PROC [context:
II.Context, separation:
ATOM, brick: Brick];
END.