mapcolor() — Silicon Graphics
NAME
mapcolor - changes a color map entry
SPECIFICATION
C
mapcolor(color, red, green, blue)
Colorindex color;
short red, green, blue;
FORTRAN
subroutine mapcol(color, red, green, blue)
integer*4 color, red, green, blue
Pascal
procedure mapcolor(color: Colorindex; red, green,
blue: Short);
DESCRIPTION
mapcolor changes a single color map entry to the specified RGB value. Its arguments are a color map index and eight bits each of red, green, and blue intensities. Pixels written with color color will be displayed with the specified RGB intensities.
In multimap mode only the currently selected color map can be updated with mapcolor . Invalid indices are ignored.
SEE ALSO
multimap, onemap, setmap
NOTE
This command can be used only in immediate mode.
Version 2.4 — May 08, 1986