getmcolor() — Silicon Graphics Beta Release
NAME
getmcolor - returns a color map entry
SPECIFICATION
C
getmcolor(color, r, g, b)
Colorindex color;
short *r, *g, *b;
FORTRAN
subroutine getmco(color, r, g, b)
integer*4 color
integer*2 r, g, b
Pascal
procedure getmcolor(color: Colorindex; var r, g, b: RGBvalue);
DESCRIPTION
getmcolor returns the red, green, and blue components of a color map entry.
SEE ALSO
mapcolor
NOTE
This command can be used only in immediate mode.
Version 2.3 — July 04, 1985