Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ grgbcolor(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

gRGBcolor(3G)  —  Silicon Graphics

NAME

gRGBcolor − returns the current RGB value

SPECIFICATION

C
gRGBcolor(red, green, blue)
short *red, *green, *blue;

FORTRAN
subroutine gRGBco(red, green, blue)
integer*2 red, green, blue

Pascal
procedure gRGBcolor(var red, green, blue: Short);

DESCRIPTION

gRGBcolor returns the current RGB color values.  red, green, blue are the addresses of three locations that are filled with the red, green, and blue values.  The system must be in RGB mode when gRGBcolor executes. 

SEE ALSO

RGBcolor, RGBmode Programming Guide, Section 6.3,  Colors and Writemasks

NOTE

This routine is available only in immediate mode. 

Version 3.6  —  December 20, 1987

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026