Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getmcolor(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

getmcolor(3G)  —  Silicon Graphics

NAME

getmcolor − returns a color map entry

SPECIFICATION

C
getmcolor(i, red, green, blue)
Colorindex i;
short *red, *green, *blue;

FORTRAN
subroutine getmco(i, red, green, blue)
integer*4 i
integer*2 red, green, blue

Pascal
procedure getmcolor(color: Colorindex; var r, g, b:
Short);

DESCRIPTION

getmcolor returns the red, green, and blue components of a color map entry. 

SEE ALSO

mapcolor Programming Guide, Section 6.2, Color Maps

NOTE

This routine is available only in immediate mode. 

Version 3.6  —  December 20, 1987

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