Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ID2D1DrawingStateBlock interface

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

When to implement

Custom implementations are not supported.

Members

The ID2D1DrawingStateBlock interface inherits from ID2D1Resource. ID2D1DrawingStateBlock also has these types of members:

Methods

The ID2D1DrawingStateBlock interface has these methods.

MethodDescription
GetDescription

Retrieves the antialiasing mode, transform, and tags portion of the drawing state.

GetTextRenderingParams

Retrieves the text-rendering configuration of the drawing state.

SetDescription Overloaded.

Specifies the antialiasing mode, transform, and tags portion of the drawing state.

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 | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Header

D2d1.h

Library

D2d1.lib

DLL

D2d1.dll

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.