D2D1_DRAWING_STATE_DESCRIPTION1 structure

Describes the drawing state of a device context.

Syntax


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

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2D1_1.h

See also

SaveDrawingState
RestoreDrawingState
ID2D1DrawingStateBlock
ID2D1RenderTarget

 

 

Show: