Specifications
CHAPTER 3
Application Program Interface
40 VPTEngine Component
VPTEngineGetActualGamut 3
This function allows your application to determine the gamut the display is capable of
reproducing.
pascal VPTEngineResult
VPTEngineGetActualGamut( VPTEngineComponent engineComponent,
Tristim* red,
Tristim* green,
Tristim* blue )
engineComponent
A valid instance of the VPTEngine component.
red A structure that is passed back to the caller containing the color and
intensity of the brightest red the display is capable of reproducing.
green A structure that is passed back to the caller containing the color and
intensity of the brightest green the display is capable of reproducing.
blue A structure that is passed back to the caller containing the color and
intensity of the brightest blue the display is capable of reproducing.
Supplementary Information
The gamut is the entire range of colors that can be represented by a given device. For
displays, the gamut can be deļ¬ned as the area enclosed by three points in a color space,
since there are three electron guns (R, G, and B) in the display.
VPTEngineRGBToTristim 3
This function allows your application to translate a standard RGB QuickDraw color into
an equivalent Tristimulus color value for the display. In effect, it allows your application
to translate an RGB QuickDraw color into a real color space.
pascal VPTEngineResult
VPTEngineRGBToTristim( VPTEngineComponent engineComponent,
RGBColor* theColor,
Tristim* theTristim )
engineComponent
A valid instance of the VPTEngine component.
theColor A structure passed to this function containing an RGB QuickDraw
color.
theTristim A structure that is passed back to the caller containing the
equivalent Tristimulus color value.