Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getcolor(3g) — 4D1 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     getcolor(3G)                                         getcolor(3G)



NAME
getcolor - returns the current color
SPECIFICATION
C long getcolor()
FORTRAN integer*4 function getcol()
DESCRIPTION
getcolor returns the current color for the current drawing
mode. In NORMALDRAW, it is an index into the color map, and
is meaningful in both single and double buffer modes.
getcolor is ignored in RGB mode. In OVERDRAW, getcolor
returns the color that is drawn into the overlay bitplanes,
etc.
SEE ALSO
color, doublebuffer, drawmode, singlebuffer
Programming Guide, Section 6.2, Color Map Mode
NOTE
This routine is available only in immediate mode.
Page 1 (printed 8/20/87)

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