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.
| Method | Description |
|---|---|
| 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] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also