Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getwritemask(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



getwritemask(3G)                                              getwritemask(3G)



NAME
     getwritemask - 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.

DESCRIPTION
     getwritemask 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



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