gRGBco(3G)
gRGBco - gets the current RGB color values
As shipped in IRIX 6.5.22. Unchanged since IRIX 6.5.
NAME gRGBco - gets the current RGB color values FORTRAN 77 SPECIFICATION subroutine gRGBco(red, green, blue) integer*2 red, green, blue PARAMETERS red expects the variable into which you want the system to copy the current red value. green expects the variable into which you want the system to copy the current green value. blue expects the variable into which you want the system to copy the current blue value. DESCRIPTION gRGBco gets the current RGB color values and copies them into the parameters. The system must be in RGB mode when you call gRGBco. SEE ALSO RGBcol, RGBmod, getmco NOTE This routine is available only in immediate mode.