D2D1_DRAWING_STATE_DESCRIPTION1 structure

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

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

   
Windows version Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps] 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