D2D1_DRAWING_STATE_DESCRIPTION1 structure (d2d1_1.h)

Describes the drawing state of a device context.

Syntax

typedef struct D2D1_DRAWING_STATE_DESCRIPTION1 {
  D2D1_ANTIALIAS_MODE      antialiasMode;
  D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode;
  D2D1_TAG                 tag1;
  D2D1_TAG                 tag2;
  D2D1_MATRIX_3X2_F        transform;
  D2D1_PRIMITIVE_BLEND     primitiveBlend;
  D2D1_UNIT_MODE           unitMode;
} D2D1_DRAWING_STATE_DESCRIPTION1;

Members

antialiasMode

Type: D2D1_ANTIALIAS_MODE

The antialiasing mode for subsequent nontext drawing operations.

textAntialiasMode

Type: D2D1_TEXT_ANTIALIAS_MODE

The antialiasing mode for subsequent text and glyph drawing operations.

tag1

Type: D2D1_TAG

A label for subsequent drawing operations.

tag2

Type: D2D1_TAG

A label for subsequent drawing operations.

transform

Type: D2D1_MATRIX_3X2_F

The transformation to apply to subsequent drawing operations.

primitiveBlend

Type: D2D1_PRIMITIVE_BLEND

The blend mode for the device context to apply to subsequent drawing operations.

unitMode

Type: D2D1_UNIT_MODE

D2D1_UNIT_MODE

Requirements

Requirement Value
Minimum supported client Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]
Header d2d1_1.h

See also

ID2D1DrawingStateBlock

ID2D1RenderTarget

RestoreDrawingState

SaveDrawingState