ID2D1DrawingStateBlock interface

Represents the drawing state of a render target: the antialiasing mode, transform, tags, and text-rendering options.

Methods

The ID2D1DrawingStateBlock interface has these methods.

Method Description
ID2D1DrawingStateBlock::GetDescription Retrieves the antialiasing mode, transform, and tags portion of the drawing state.
ID2D1DrawingStateBlock::GetTextRenderingParams Retrieves the text-rendering configuration of the drawing state.
ID2D1DrawingStateBlock::SetDescription Specifies the antialiasing mode, transform, and tags portion of the drawing state.
ID2D1DrawingStateBlock::SetDescription Specifies the antialiasing mode, transform, and tags portion of the drawing state.
ID2D1DrawingStateBlock::SetTextRenderingParams Specifies the text-rendering configuration of the drawing state.

Remarks

Creating ID2D1DrawingStateBlock Objects

To create an ID2D1DrawingStateBlock, use the ID2D1Factory::CreateDrawingStateBlock method.

A drawing state block is a device-independent resource; you can create it once and retain it for the life of your application. For more information about resources, see the Resources Overview.

Requirements

   
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]
Target Platform Windows
Header d2d1.h

See Also

ID2D1Resource