getcolor() — Silicon Graphics
NAME
getcolor − returns the current color
SPECIFICATION
C
long getcolor()
FORTRAN
integer*4 function getcol()
Pascal
function getcolor: longint;
DESCRIPTION
getcolor returns the current color. It is an index into the color map, and is meaningful in both single and double buffer mode. getcolor is ignored in RGB mode.
SEE ALSO
color, singlebuffer, doublebuffer IRIS Graphics Programming, Section 6.3, Colors and Writemasks
NOTE
This routine is available only in immediate mode.
Version 2.5r1 — October 29, 1986