*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/getmcolor (3)              
Title
Content
Arch
Section
 

Contents


getmcolor(3G)							 getmcolor(3G)


NAME    [Toc]    [Back]

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

C SPECIFICATION    [Toc]    [Back]

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

PARAMETERS    [Toc]    [Back]

     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    [Toc]    [Back]

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

SEE ALSO    [Toc]    [Back]

      
      
     drawmode, mapcolor, gRGBcolor

NOTE    [Toc]    [Back]

     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.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
DXmColorMixSetNewColor Tru64 Sets the new color red, green, and blue values in the color mixing widget.
DXmColorMixGetNewColor Tru64 Retrieves (returns) the color mixing widget's current new color red, green, and blue values.
glcopycolortablesgi IRIX copy pixels into a color table
glcopycolortable IRIX copy pixels into a color table
grgbcolor IRIX gets the current RGB color values
glclearcolor IRIX specify clear values for the color buffers
glClearColor Tru64 specify clear values for the color buffers
c IRIX sets the RGB (or RGBA) values for the current color vector
mapcolor IRIX changes a color map entry
csa_read_entry_attributes HP-UX read and return the calendar entry attribute values for a specified calendar entry
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service