SmoothingMode enumeration
Applies to: desktop apps only
The SmoothingMode enumeration specifies the type of smoothing (antialiasing) that is applied to lines and curves. This enumeration is used by the Graphics::GetSmoothingMode and Graphics::SetSmoothingMode methods of the Graphics class.
Syntax
typedef enum {
SmoothingModeInvalid = QualityModeInvalid,
SmoothingModeDefault = QualityModeDefault,
SmoothingModeHighSpeed = QualityModeLow,
SmoothingModeHighQuality = QualityModeHigh,
SmoothingModeNone,
SmoothingModeAntiAlias8x4,
SmoothingModeAntiAlias = SmoothingModeAntiAlias8x4,
SmoothingModeAntiAlias8x8
} SmoothingMode;
Constants
- SmoothingModeInvalid
-
Reserved.
- SmoothingModeDefault
-
Specifies that smoothing is not applied.
- SmoothingModeHighSpeed
-
Specifies that smoothing is not applied.
- SmoothingModeHighQuality
-
Specifies that smoothing is applied using an 8 X 4 box filter.
- SmoothingModeNone
-
Specifies that smoothing is not applied.
- 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.
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.
Requirements
|
Minimum supported client | Windows Vista |
|---|---|
|
Minimum supported server | Windows Server 2008 |
|
Product | GDI+ 1.1 |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 3/6/2012