Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mapcolor(3g) — GL2 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

mapcolor()  —  Silicon Graphics Beta Release

NAME

mapcolor - changes a color map entry

SPECIFICATION

C
mapcolor(color, red, green, blue)
Colorindex color;
short red, green, blue;

FORTRAN
subroutine mapcol(color, red, green, blue)
integer*4 color, red, green, blue

Pascal
procedure mapcolor(color: Colorindex; red, green,
blue: RGBvalue);

DESCRIPTION

mapcolor changes a single color map entry to the specified RGB value.  Its arguments are a color map index and eight bits each of red, green, and blue intensities.  Pixels written with color color will be displayed with the specified RGB intensities. 

In multimap mode only the currently selected color map can be updated with mapcolor .  Invalid indices are ignored. 

SEE ALSO

multimap, onemap, setmap

NOTE

This command can be used only in immediate mode. 

Version 2.3  —  July 04, 1985

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