Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

getcolor(3G)  —  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 buffer and double buffer mode.  getcolor is ignored in RGB mode. 

SEE ALSO

color, doublebuffer, singlebuffer Programming Guide, Section 6.3, Colors and Writemasks

NOTE

This routine is available only in immediate mode. 

Version 3.6  —  December 20, 1987

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026