getmcolor() — Silicon Graphics
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: Short);
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.4 — May 08, 1986