Help Center
Help CenterAfxNovaCGdiPlus

CGpBase.SmoothingModemethod

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

GraphicsmethodCGdiPlus.incdoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

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