|
|
|
|
MGL_getPaletteEntry
Returns the value of a single palette entry.
Declaration
void MGLAPI MGL_getPaletteEntry(
MGLDC *dc,
int entry,
uchar *red,
uchar *green,
uchar *blue)
Prototype In
mgraph.h
Parameters
dc |
Device context of interest |
entry |
Palette index to read |
red |
Place to store the red component |
green |
Place to store the green component |
blue |
Place to store the blue component |
Description
This function returns the value of a single color palette entry. If you wish to obtain more than a single palette entry you should use the MGL_getPalette routine which is faster for multiple entries.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com