drawmode(3G) drawmode(3G)
NAME
drawmode - sets the current mode for the color and writemask
routines
SPECIFICATION
C drawmode(mode)
Boolean mode;
FORTRAN subroutine drawmo(mode)
logical mode
DESCRIPTION
drawmode sets the drawing mode, i.e., the current mode for
the color and writemask routines. mode defines the drawing
mode. Calls to color, getcolor, writemask, getwritemask,
mapcolor, and getmcolor affect only the current drawing
mode.
Drawing modes include: UNDERDRAW, which sets operations for
the background; NORMALDRAW, which sets operations for 12-bit
color map mode or RGB mode; OVERDRAW, which sets operations
for the overlay; PUPDRAW, which sets operations for the
pop-up menu; and CURSORDRAW, which sets operations for the
cursor. In cursor mode, only mapcolor and getmcolor perform
a function.
In FORTRAN, the drawing modes are UNDRDR, NORMDR, OVERDR,
PUPDRW, and CURSDR.
SEE ALSO
color, cmode, getcolor, getmcolor, getwritemask, mapcolor,
overlay, RGBwritemask, underlay, writemask
Programming Guide, Section 6.8, Drawing Modes
NOTE
This routine is available only in immediate mode.
Page 1 (printed 8/20/87)