getwritemask(3G)getwritemask(3G)NAMEgetwritemask - returns the current writemask
C SPECIFICATION
long getwritemask()PARAMETERS
none
FUNCTION RETURN VALUE
The returned value of this function is the current writemask for the
current drawing mode.
DESCRIPTIONgetwritemask returns the current writemask of the current drawing mode.
Each bit in the writemask corresponds to an available bitplane. Thus, bit
2 describes bitplane 2 and so on. When a bit is set to zero in the
writemask, the corresponding bitplane is read only. This routine is
undefined in RGB mode.
SEE ALSO
RGBwritemask, writemask, drawmode
NOTE
This routine is available only in immediate mode.
Page 1