getmcolor man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



getmcolor(3G)							 getmcolor(3G)

NAME
     getmcolor - gets a copy of the RGB values for a color map entry

C SPECIFICATION
     void getmcolor(i, red, green, blue)
     Colorindex i;
     short *red, *green, *blue;

PARAMETERS
     i	 expects an index into the color map

     r	 expects a pointer to the location into which you want to copy the red
	 value of the color at the color map index specified by i.

     g	 expects a pointer to the location into which you want to copy the
	 green value of the color at the color map index specified by i.

     b	 expects a pointer to the location into which you want to copy the
	 blue value of the color at the color map index specified by i.

DESCRIPTION
     getmcolor gets the red, green, and blue components of a color map entry
     and copies them to the specified locations.

SEE ALSO
     drawmode, mapcolor, gRGBcolor

NOTE
     This routine is available only in immediate mode.

     The values of the red, green, and blue components for a color map cell
     that is transparent are undefined.

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net