RGBwritemask(3G) RGBwritemask(3G)
NAME
RGBwritemask - grants write access to a subset of the
available bitplanes
SPECIFICATION
C RGBwritemask(red, green, blue)
short red, green, blue;
FORTRAN subroutine RGBwri(red, green, blue)
integer*4 red, green, blue
DESCRIPTION
RGBwritemask shields bitplanes that are not used for
ordinary drawing routines in RGB mode. red, green, blue are
masks for each of the three sets of bitplanes. Wherever the
digit 1 is in the writemask, the system writes the
corresponding bits in the RGB color into the bitplanes.
Zeros in the writemask mark bitplanes as read-only. These
bitplanes are not changed, regardless of the bits in the RGB
color.
SEE ALSO
gRGBmask, RGBcolor, writemask
Programming Guide, Section 6.7, Writemasks
Page 1 (printed 8/20/87)