D2D1_ANTIALIAS_MODE enumeration (d2d1.h)

Specifies how the edges of nontext primitives are rendered.

Syntax

typedef enum D2D1_ANTIALIAS_MODE {
  D2D1_ANTIALIAS_MODE_PER_PRIMITIVE = 0,
  D2D1_ANTIALIAS_MODE_ALIASED = 1,
  D2D1_ANTIALIAS_MODE_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_ANTIALIAS_MODE_PER_PRIMITIVE
Value: 0
Edges are antialiased using the Direct2D per-primitive method of high-quality antialiasing.
D2D1_ANTIALIAS_MODE_ALIASED
Value: 1
Objects are aliased in most cases. Objects are antialiased only when they are drawn to a render target created by the CreateDxgiSurfaceRenderTarget method and Direct3D multisampling has been enabled on the backing DirectX Graphics Infrastructure (DXGI) surface.
D2D1_ANTIALIAS_MODE_FORCE_DWORD
Value: 0xffffffff

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]
Header d2d1.h