Enum IGDIPlus.TGPSmoothingMode

From Mitov Wiki Doc
Revision as of 07:06, 1 November 2012 by David Alm (Talk | contribs)
Jump to: navigation, search

This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.

Package: SignalLabBasicPkg

Unit: IGDIPlus

Contents

Syntax

Delphi:

type TGPSmoothingMode = (SmoothingModeInvalid, Ord, QualityModeInvalid, SmoothingModeDefault, Ord, QualityModeDefault, SmoothingModeHighSpeed, Ord, QualityModeLow, SmoothingModeHighQuality, Ord, QualityModeHigh, SmoothingModeNone, SmoothingModeAntiAlias, SmoothingModeAntiAlias8x4, SmoothingModeAntiAlias, SmoothingModeAntiAlias8x8);

C++ Builder:

enum TGPSmoothingMode {SmoothingModeInvalid, Ord, QualityModeInvalid, SmoothingModeDefault, Ord, QualityModeDefault, SmoothingModeHighSpeed, Ord, QualityModeLow, SmoothingModeHighQuality, Ord, QualityModeHigh, SmoothingModeNone, SmoothingModeAntiAlias, SmoothingModeAntiAlias8x4, SmoothingModeAntiAlias, SmoothingModeAntiAlias8x8};

Visual C++ (MFC):

enum CTGPSmoothingMode {SmoothingModeInvalid, Ord, QualityModeInvalid, SmoothingModeDefault, Ord, QualityModeDefault, SmoothingModeHighSpeed, Ord, QualityModeLow, SmoothingModeHighQuality, Ord, QualityModeHigh, SmoothingModeNone, SmoothingModeAntiAlias, SmoothingModeAntiAlias8x4, SmoothingModeAntiAlias, SmoothingModeAntiAlias8x8};

Summary

Specifies the type of smoothing (antialiasing) that is applied to lines and curves.

Description

The TGPSmoothingMode enumeration specifies the type of smoothing (antialiasing) that is applied to lines and curves. This enumeration is used by the GetSmoothingMode and SetSmoothingMode methods of the TGPGraphics class. Remarks Smoothing performed by an 8 X 4 box filter gives better results for nearly vertical lines than it does for nearly horizontal lines. Smoothing performed by an 8 X 8 box filter gives equally good results for nearly vertical and nearly horizontal lines. The 8x8 algorithm produces higher quality smoothing but is slower than the 8 X 4 algorithm.

Values

SmoothingModeInvalid Reserved.
Ord
QualityModeInvalid
SmoothingModeDefault Specifies that smoothing is not applied.
Ord
QualityModeDefault
SmoothingModeHighSpeed Specifies that smoothing is not applied.
Ord
QualityModeLow
SmoothingModeHighQuality Specifies that smoothing is applied using an 8 X 4 box filter.
Ord
QualityModeHigh
SmoothingModeNone Specifies that smoothing is not applied.
SmoothingModeAntiAlias Specifies that smoothing is applied using an 8 X 4 box filter.
SmoothingModeAntiAlias8x4 Specifies that smoothing is applied using an 8 X 4 box filter.
SmoothingModeAntiAlias Specifies that smoothing is applied using an 8 X 4 box filter.
SmoothingModeAntiAlias8x8 Specifies that smoothing is applied using an 8 X 8 box filter.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox