|
|
|
|
MGL_getGammaRamp
Returns the currently active hardware gamma correction ramp.
Declaration
ibool MGLAPI MGL_getGammaRamp(
MGLDC *dc,
palette_ext_t *gamma,
int num,
int index)
Prototype In
mgraph.h
Parameters
dc |
Device context of interest |
gamma |
Place to store the retrieved values |
num |
Number of gamma entries to retrieve |
index |
Starting gamma entry index to retrieve |
Description
This function copies part or all of the currently active hardware gamma correction ramp and stores it in the gamma array. You can specify only a subset of the gamma entries to be retrieved with the startIndex and numColors arguments.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com