getcolor(3) — Unix Programmer’s Manual
NAME
getcolor - return the current color
SYNOPSIS
C
Colorindex getcolor()
FORTRAN
integer∗2 function getcol()
Pascal
function getcolor: Colorindex;
DESCRIPTION
Getcolor returns the current color. It is an index into the color map, and is meaningful in either single or double buffer mode. The command is ignored in RGB mode.
SEE ALSO
color, singlebuffer, doublebuffer
NOTE
This command can only be used in immediate mode.
Silicon Graphics — R1c