gRGBma(3G)

gRGBma - returns the current RGB writemask

As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.

NAME
     gRGBma - returns the current RGB writemask

FORTRAN 77 SPECIFICATION
     subroutine gRGBma(redm, greenm, bluem)
     integer*2 redm, greenm, bluem

PARAMETERS
     redm     expects the variable into which you want the system to copy the
              current red writemask value.

     greenm   expects the variable into which you want the system to copy the
              current green writemask value.

     bluem    expects the variable into which you want the system to copy the
              current blue writemask value.

DESCRIPTION
     gRGBma gets the current RGB writemask as three 8-bit masks and copies
     them into the parameters.  gRGBma places masks in the low order 8-bits of
     the variables.  The system must be in RGB mode when this routine
     executes.

SEE ALSO
     getwri, RGBwri

NOTE
     This routine is available only in immediate mode.