Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gRGBcolor(3g) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

gRGBcolor()  —  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, and 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 IRIS Graphics Programming, Section 6.3, Colors and Writemasks

NOTE

This routine is available only in immediate mode. 

Version 2.5r1  —  October 29, 1986

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