getcolor(3G)
getcolor - returns the current color
As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.
NAME getcolor - returns the current color C SPECIFICATION long getcolor() PARAMETERS none FUNCTION RETURN VALUE Returns an index into the color map. DESCRIPTION getcolor returns the current color for the current drawing mode. In NORMALDRAW, it is an index into the color map, and is meaningful in both single and double buffer modes. getcolor is ignored in RGB mode. In OVERDRAW mode, getcolor returns the color that is drawn into the overlay bitplanes, etc. SEE ALSO color, doublebuffer, drawmode, getmcolor, singlebuffer NOTE This routine is available only in immediate mode.