cmode(3G) cmode(3G)
NAME
cmode - sets color mode as the current mode.
SPECIFICATION
C cmode()
FORTRAN subroutine cmode()
DESCRIPTION
cmode sets color map mode as the current mode. You can write
color indices between 0 and 4095 into the standard bitplanes
(if your workstation has more than 12 standard bitplanes).
drawmode must be set to NORMALDRAW to write into the
standard bitplanes. NORMALDRAW is the default drawing mode.
The system is either in color map mode or RGB mode; color
map mode is the default. Call gconfig after cmode to
activate the cmode setting. Since cmode is the default, you
do not have to call it unless the system was previously set
to RGB.
SEE ALSO
drawmode, gconfig, RGBmode
Programming Guide, Section 6.2, Color Map Mode
NOTE
This routine is available only in immediate mode.
Page 1 (printed 8/20/87)