CGpBase.SmoothingModemethod
Specifies the type of smoothing (antialiasing) that is applied to lines and curves.
Description
The SmoothingMode enumeration specifies the type of smoothing (antialiasing) that is applied to lines and curves. This enumeration is used by the GdipGetSmoothingMode and GdipSetSmoothingMode functions.
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.
Example
SmoothingModeInvalid = QualityModeInvalid SmoothingModeDefault = QualityModeDefault SmoothingModeHighSpeed = QualityModeLow SmoothingModeHighQuality = QualityModeHigh SmoothingModeNone = 3 SmoothingModeAntiAlias = 4
Reference
- Include file
CGdiPlus.inc - Documented in Graphics/GdiPlus Classes/CGdiPlus.md
- Topic: CGdiPlus