ID2D1RenderTarget::SetAntialiasMode method (d2d1.h)

Sets the antialiasing mode of the render target. The antialiasing mode applies to all subsequent drawing operations, excluding text and glyph drawing operations.

Syntax

void SetAntialiasMode(
  D2D1_ANTIALIAS_MODE antialiasMode
);

Parameters

antialiasMode

Type: D2D1_ANTIALIAS_MODE

The antialiasing mode for future drawing operations.

Return value

None

Remarks

To specify the antialiasing mode for text and glyph operations, use the SetTextAntialiasMode method.

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header d2d1.h
Library D2d1.lib
DLL D2d1.dll

See also

GetAntialiasMode

ID2D1RenderTarget

SetTextAntialiasMode