MagGlassPaintScaling property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

TPaintScaling MagGlassPaintScaling

Delphi Syntax

MagGlassPaintScaling: TPaintScaling

Overview

Refer to Using the Magnifying Glass

Remarks

(Persistent property, available at design time.) Type of resizing to use when painting the Magnify Glass.

Default is psNormal, which is the fastest. Possible values are:

Value

Meaning

psNormal

normal resize (fastest)

psResample

bilinear interpolation (slower than psNormal, but produces better looking results)

psBicubic

bicubic interpolation (slowest, best quality)

For 1-bit images, the MagGlassPaintScaling is considered only if MagGlassBitonalScaling is btsNormal. Otherwise, the FavorBlack and ScaleToGray options take precedence over MagGlassPaintScaling.

psBicubic produces the same result as psResample when zooming out on an image.

See Also

Elements:

StartMagGlass method, StopMagGlass method, MagGlassPaintPalette property, MagGlassBitonalScaling property, MagGlassPaintDither property, MagGlassMaskCount property, MagGlassMask property, MagGlassPointer property.

Topics:

Raster Images: Displaying Images