MagGlassPaintGamma property (ILEADRasterView)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short MagGlassPaintGamma

Overview

Refer to Using the Magnifying Glass

Remarks

(Persistent property, available at design time) Gamma correction value used by the Magnifying Glass when it paints the zoomed area.

Setting the Magnifying Glass gamma correction that is used by the Magnifying Glass lets you adjust the displayed brightness of the zoomed area without changing the bitmap data.

Intensity values ideally follow a logarithmic progression, because the eye perceives changes in intensity as being equal when the ratio of change is equal. For example, we would see a change from 0.1 to 0.2 as being equal to a change from 0.2 to 0.4.

Gamma is a standard constant that is used to calculate the progression. For most CRTs the gamma constant is in the range of 2.2 to 2.5.

Because this property is an unsigned integer, it is 100 times the actual gamma value. For example, use 235 to set a gamma value of 2.35.

See Also

Elements:

MagGlassPaintContrast property, MagGlassPaintIntensity property, StartMagGlass method, StopMagGlass method

Topics:

Raster Images: Displaying Images

 

Using the Zoom View