D2D1_PATCH_EDGE_MODE enumeration

Specifies how to render gradient mesh edges.

Syntax


typedef enum D2D1_PATCH_EDGE_MODE { 
  D2D1_PATCH_EDGE_MODE_ALIASED           = 0,
  D2D1_PATCH_EDGE_MODE_ANTIALIASED       = 1,
  D2D1_PATCH_EDGE_MODE_ALIASED_INFLATED  = 2
} D2D1_PATCH_EDGE_MODE;

Constants

D2D1_PATCH_EDGE_MODE_ALIASED

Render this patch edge aliased. Use this value for the internal edges of your gradient mesh.

D2D1_PATCH_EDGE_MODE_ANTIALIASED

Render this patch edge antialiased. Use this value for the external (boundary) edges of your mesh.

D2D1_PATCH_EDGE_MODE_ALIASED_INFLATED

Render this patch edge aliased and also slightly inflated. Use this for the internal edges of your gradient mesh when there could be t-junctions among patches. Inflating the internal edges mitigates seams that can appear along those junctions.

Requirements

Header

D2d1_3.h

 

 

Show: