Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 SmoothingMode {
SmoothingModeInvalid,
SmoothingModeDefault,
SmoothingModeHighSpeed,
SmoothingModeHighQuality,
SmoothingModeNone,
SmoothingModeAntiAlias,
SmoothingModeAntiAlias8x4,
SmoothingModeAntiAlias8x8
} ;
Constants
SmoothingModeInvalidReserved. |
SmoothingModeDefaultSpecifies that smoothing is not applied. |
SmoothingModeHighSpeedSpecifies that smoothing is not applied. |
SmoothingModeHighQualitySpecifies that smoothing is applied using an 8 X 4 box filter. |
SmoothingModeNoneSpecifies that smoothing is not applied. |
SmoothingModeAntiAliasSpecifies that smoothing is applied using an 8 X 4 box filter. |
SmoothingModeAntiAlias8x4Specifies that smoothing is applied using an 8 X 4 box filter. |
SmoothingModeAntiAlias8x8Specifies 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
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Header | gdiplusenums.h (include Gdiplus.h) |