Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

getmcolor()  —  Silicon Graphics

NAME

getmcolor − returns a color map entry

SPECIFICATION

C
getmcolor(color, r, g, b)
Colorindex color;
short *r, *g, *b;

FORTRAN
subroutine getmco(color, r, g, b)
integer*4 color
integer*2 r, g, b

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

DESCRIPTION

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

SEE ALSO

mapcolor IRIS Graphics Programming, Section 6.2, Color Maps

NOTE

This routine is available only in immediate mode. 

Version 2.5  —  April 22, 1987

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