getcol(3G)
getcol - returns the current color
As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.
NAME getcol - returns the current color FORTRAN 77 SPECIFICATION integer*4 function getcol() PARAMETERS none FUNCTION RETURN VALUE Returns an index into the color map. DESCRIPTION getcol returns the current color for the current drawing mode. In NORMDR, it is an index into the color map, and is meaningful in both single and double buffer modes. getcol is ignored in RGB mode. In OVRDRW mode, getcol returns the color that is drawn into the overlay bitplanes, etc. SEE ALSO color, double, drawmo, getmco, single NOTE This routine is available only in immediate mode.