D2D1_DRAWING_STATE_DESCRIPTION structure (d2d1.h)

Describes the drawing state of a render target.

Syntax

typedef struct D2D1_DRAWING_STATE_DESCRIPTION {
  D2D1_ANTIALIAS_MODE      antialiasMode;
  D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode;
  D2D1_TAG                 tag1;
  D2D1_TAG                 tag2;
  D2D1_MATRIX_3X2_F        transform;
} D2D1_DRAWING_STATE_DESCRIPTION;

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.

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

See also

ID2D1DrawingStateBlock

ID2D1RenderTarget

RestoreDrawingState

SaveDrawingState