getcol(3G)getcol(3G)NAMEgetcol - returns the current color
FORTRAN 77 SPECIFICATION
integer*4 function getcol()PARAMETERS
none
FUNCTION RETURN VALUE
Returns an index into the color map.
DESCRIPTIONgetcol 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.
Page 1