Gets the current RGB color values.
(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.
|red||Specifies the pointer to the location into which to copy the current red value.|
|green||Specifies the pointer to the location into which to copy the current green value.|
|blue||Specifies the pointer to the location into which to copy the current blue value.|
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.