gRGBcolor(3G) gRGBcolor(3G)
gRGBcolor - gets the current RGB color values
void gRGBcolor(red, green, blue)
short *red, *green, *blue;
red expects a pointer to the location into which you want the system
to copy the current red value.
green expects a pointer to the location into which you want the system
to copy the current green value.
blue expects a pointer to the location into which you want the system
to copy the current blue value.
gRGBcolor gets the current RGB color values and copies them into the
parameters. The system must be in RGB mode when you call gRGBcolor.
RGBcolor, RGBmode, getmcolor
This routine is available only in immediate mode.
PPPPaaaaggggeeee 1111 [ Back ]
|