Sets the current color in RGB mode.
FORTRAN (libfgl.a)
RGBcolor (short red, short green, short blue)
SUBROUTINE RGBCOL(red, green, blue) INTEGER*4 red, green, blue
The RGBcolor subroutine sets the current color when the system is in RGB mode. The lower-order 8 bits of the three arguments control the intensity of red, green, and blue colors displayed on the screen. The system writes these numbers directly into the bitplanes whenever it draws a pixel.
Note: This subroutine is available only in RGB mode.
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. |
Setting the current color in RGB mode with the c subroutine.
Setting the current color in color map mode with the color subroutine.
Setting the current color as a packed 32-bit integer with the cpack subroutine.
Returning the current RGB value with the gRGBcolor subroutine.
Setting Drawing Attributes, Understanding the Hardware Used by GL,Working in Color Map and RGB Modes.