Help Center

CGpGraphics.GetSmoothingModemethod

Determines whether smoothing (antialiasing) is applied to the **Graphics** object.

GraphicsmethodCGpGraphics.incdocumented

Syntax

FUNCTION GetSmoothingMode () AS SmoothingMode

Return value

If smoothing (antialiasing) is applied to this Graphics object, this method returns SmoothingModeAntiAlias. If smoothing (antialiasing) is not applied to this Graphics object, this method returns SmoothingModeAntiAlias and SmoothingModeNone are elements of the SmoothingMode enumeration.

Description

Determines whether smoothing (antialiasing) is applied to the Graphics object.

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.

Reference

  • Include file CGpGraphics.inc
  • Defined in AfxNova/CGpGraphics.inc:237
  • Documented in Graphics/GdiPlus Classes/CGpGraphics Classes.md
  • Topic: CGpGraphics Class