D2D1_ANTIALIAS_MODE Enumeration

Specifies how the edges of nontext primitives are rendered.

Syntax

typedef enum D2D1_ANTIALIAS_MODE {
  D2D1_ANTIALIAS_MODE_PER_PRIMITIVE  ,
  D2D1_ANTIALIAS_MODE_ALIASED        ,
  D2D1_ANTIALIAS_MODE_FORCE_DWORD
} ;

Constants

D2D1_ANTIALIAS_MODE_PER_PRIMITIVE Edges are antialiased using the Direct2D per-primitive method of high-quality antialiasing.
D2D1_ANTIALIAS_MODE_ALIASED 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

Requirements

   
Windows version Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps] Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Header d2d1.h