Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
glutGetColor.man
Package: glut23-src.zip [view]
Upload User: xk288cn
Upload Date: 2007-05-28
Package Size: 4876k
Code Size: 1k
Category:
GIS program
Development Platform:
Visual C++
- ."
- ." Copyright (c) Mark J. Kilgard, 1996.
- ."
- .TH glutGetColor 3GLUT "3.7" "GLUT" "GLUT"
- .SH NAME
- glutGetColor - retrieves a red, green, or blue component for a given
- color index colormap entry for the layer in use's logical colormap for the
- current window.
- .SH SYNTAX
- .nf
- .LP
- GLfloat glutGetColor(int cell, int component);
- .fi
- .SH ARGUMENTS
- .IP fIcellfP 1i
- Color cell index (starting at zero).
- .IP fIcomponentfP 1i
- One of GLUT_RED, GLUT_GREEN, or GLUT_BLUE.
- .SH DESCRIPTION
- glutGetColor retrieves a red, green, or blue component for a given
- color index colormap entry for the current window's logical colormap.
- The current window should be a color index window. cell should be
- zero or greater and less than the total number of colormap entries for the
- window. For valid color indices, the value returned is a floating point
- value between 0.0 and 1.0 inclusive. glutGetColor will return -1.0 if
- the color index specified is an overlay's transparent index, less than zero,
- or greater or equal to the value returned by
- glutGet(GLUT_WINDOW_COLORMAP_SIZE), that is if the color index
- is transparent or outside the valid range of color indices.
- .SH SEE ALSO
- glutGet, glutSetColor, glutCopyColormap
- .SH AUTHOR
- Mark J. Kilgard (mjk@nvidia.com)