D2D1_DRAWING_STATE_DESCRIPTION structure

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;
};

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

   
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

See Also

ID2D1DrawingStateBlock

ID2D1RenderTarget

RestoreDrawingState

SaveDrawingState