Export (0) Print
Expand All
Expand Minimize

D2D1_ANTIALIAS_MODE enumeration

Specifies how the edges of nontext primitives are rendered.

Syntax


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

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.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft