Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents the drawing state of a render target: the antialiasing mode, transform, tags, and text-rendering options.
Inheritance
The ID2D1DrawingStateBlock interface inherits from ID2D1Resource. ID2D1DrawingStateBlock also has these types of members:
Methods
The ID2D1DrawingStateBlock interface has these methods.
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. (overload 1/2) |
ID2D1DrawingStateBlock::SetDescription Specifies the antialiasing mode, transform, and tags portion of the drawing state. (overload 2/2) |
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
Requirement | Value |
---|---|
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 |