Gets the current RGB color values.
FORTRAN (libfgl.a)
(Int16 red, Int16 green, Int16 blue)
SUBROUTINE GRGBCO(red, green, blue)
INTEGER*2 red, green, blue
The gRGBcolor subroutine gets the current RGB color values and copies them into the parameters.
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
/usr/include/gl/gl.h Contains C language constant and variable type definitions for GL.
/usr/include/gl/fgl.h Contains FORTRAN constant and variable type definitions for GL.
Returning the current color with the getcolor subroutine.
Getting a copy of the RGB values for a color map entry with the getmcolor subroutine.
Setting the current color in RGB mode with the RGBcolor subroutine.
Setting a display mode that bypasses the color map with the RGBmode subroutine.
Understanding the Adapter, Working in Color Map and RGB Modes, Setting Drawing Attributes, and Querying the System.