Specifications
CHAPTER 3
Application Program Interface
VPTEngine Component 39
VPTEngineGetDirectAmbientLight 3
This function allows your application to determine the amount of ambient light falling
on the surface of the display. The user determines the amount of light using the Accurate
Color control panel.
pascal VPTEngineResult
VPTEngineGetDirectAmbientLight( VPTEngineComponent
engineComponent,
CIE1931* directAmbientLight )
engineComponent
A valid instance of the VPTEngine component.
directAmbientLight
A structure that is passed back to the caller containing the color and
intensity of the ambient light falling on the surface of the display.
▲
WARNING
Since the information returned by this function is essentially determined
by the user (with the help of the Accurate Color control panel), your
application should be cautious about assuming the information is
absolutely accurate. ▲
VPTEngineGetActualGammaCurveTable 3
This function gives your application access to a table representing the measured gamma
curve of this monitor.
pascal VPTEngineResult
VPTEngineGetActualGammaCurveTable( VPTEngineComponent
engineComponent,
VPTGammaPtr actualGamma )
engineComponent
A valid instance of the VPTEngine component.
actualGamma A structure that is passed back to the caller containing the color and
intensity of the ambient light falling on the surface of the display.
Supplementary Information
The gamma curve table returned by this function is the system gamma curve table. In
other words, the data returned represents the overall gamma curve produced by the
combination of the particular display and the video output device to which it is attached.
This differs from the gamma correction, which is not available from the VPTEngine
component. Gamma correction is the technique that adjusts the gamma curve to
compensate for the loss of detail in dark objects.