ScanConverter.mesa
Based on CubicScan.mesa, by Michael Plass
Last edited by:
Michael Plass, June 20, 1983 8:49 am
Doug Wyatt, April 11, 1983 3:53 pm
DIRECTORY
ImagerBasic USING [Pair];
ScanConverter: CEDAR DEFINITIONS
= BEGIN
Pair: TYPE ~ ImagerBasic.Pair;
DevicePath: TYPE ~ REF DevicePathRec;
DevicePathRec: TYPE;
Allocate: PROC RETURNS[DevicePath];
Reset: PROC[devicePath: DevicePath];
Release: PROC[devicePath: DevicePath];
PushPath: PROC[devicePath: DevicePath,
gen: PROC[move: PROC[Pair], line: PROC[Pair], curve: PROC[Pair, Pair, Pair]],
exclude: BOOLEANFALSE
];
PopPath: PROC[devicePath: DevicePath];
ScanConvert: PROC[devicePath: DevicePath,
proc: PROC[x, y, w, h: INTEGER], -- called for each rectangle in result
ymin: INTEGERFIRST[INTEGER], ymax: INTEGERLAST[INTEGER],
parityFill: BOOLEANFALSE
];
END.