Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getcolor(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



getcolor(3G)                                                      getcolor(3G)



NAME
     getcolor - returns the current color

C SPECIFICATION
     long getcolor()

PARAMETERS
     none

FUNCTION RETURN VALUE
     Returns an index into the color map.

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 mode, getcolor returns the color that is drawn into the overlay
     bitplanes, etc.

SEE ALSO
     color, doublebuffer, drawmode, getmcolor, singlebuffer

NOTE
     This routine is available only in immediate mode.































                                                                        Page 1



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