CtPix.mesa
Copyright Ó 1985, 1992 by Xerox Corporation. All rights reserved.
Bloomenthal, July 3, 1992 1:26 pm PDT
Andrew Glassner November 9, 1990 4:58 pm PST
Fill or modify a sample map.
DIRECTORY CtBasic;
CtPix: CEDAR DEFINITIONS
~ BEGIN
SampleMap: TYPE ~ CtBasic.SampleMap;
Vec:   TYPE ~ CtBasic.Vec;
Color Display Picture Creation Procedures:
Dither: PROC [map: SampleMap, intensity: CARDINAL];
Dither the SampleMap to produce the given intensity.
RampH: PUBLIC PROC [map: SampleMap];
Put a horizontal ramp in the SampleMap.
RampV: PROC [map: SampleMap];
Put a vertical ramp in the SampleMap.
Pie: PROC [map: SampleMap, center: Vec, nRings: INTEGER];
Put a circular ramp in the SampleMap.
END.