GammaLib REALbasic Plugin

Gamma.SetDisplayGammaRamp Method

Sets a GammaRamp and color for a specific display device.

SetDisplayGammaRamp(
   displayNumber as Integer,
   ramp as GammaRamp,
   value as Color)

Parameters

displayNumber
The number of the display device. (1 is the first display device)
ramp
The gamma ramp with base values to set.
value
The color value to set.

Remarks

Use this function to restore a saved Gamma ramp for a specific display device and set a new color value.

Calling this function is equal to calling the other variation of SetDisplayGammaRamp and SetDisplayGammaValue, except doing it in one call will eliminate unwanted Gamma flickering.

This is a MacOS X only feature

See Also

Gamma Class