<<>> <> <> <> DIRECTORY Draw2d, G2dBasic, ImagerSample, Rope, SF; G2dScan: CEDAR DEFINITIONS ~ BEGIN Error: ERROR [code: ATOM, reason: ROPE]; <> ROPE: TYPE ~ Rope.ROPE; PixelProc: TYPE ~ Draw2d.PixelProc; IntegerPair: TYPE ~ G2dBasic.IntegerPair; Vertex: TYPE ~ RECORD [x, y, val: INTEGER]; <> ScanTriangle: PROC [p0, p1, p2: IntegerPair, pixelProc: PixelProc]; <> <<>> FlatShade: PROC [map: ImagerSample.SampleMap, pairs: LIST OF IntegerPair, value: INTEGER] RETURNS [affectedRegion: SF.Box]; <> <<>> GouraudShade: PROC [map: ImagerSample.SampleMap, vertices: LIST OF Vertex] RETURNS [affectedRegion: SF.Box]; <> END.