DrawingStateDescription function (d2d1helper.h)
Creates a D2D1_DRAWING_STATE_DESCRIPTION structure.
Syntax
D2D1_DRAWING_STATE_DESCRIPTION DrawingStateDescription(
D2D1_ANTIALIAS_MODE antialiasMode,
D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode,
D2D1_TAG tag1,
D2D1_TAG tag2,
[in, ref] const D2D1_MATRIX_3X2_F & transform
);
Parameters
antialiasMode
Type: D2D1_ANTIALIAS_MODE
The antialiasing mode for subsequent non-text drawing operations. The default value is D2D1_ANTIALIAS_MODE_PER_PRIMITIVE.
textAntialiasMode
Type: D2D1_TEXT_ANTIALIAS_MODE
The antialiasing mode for subsequent text and glyph drawing operations. The default value is D2D1_TEXT_ANTIALIAS_MODE_DEFAULT.
tag1
Type: D2D1_TAG
A label for subsequent drawing operations. The default value is 0.
tag2
Type: D2D1_TAG
A label for subsequent drawing operations. The default value is 0.
[in, ref] transform
Type: const D2D1_MATRIX_3X2_F
The transformation to be applied to subsequent drawing operations. The default value is provided by the D2D1::IdentityMatrix function, which returns the identity matrix.
Return value
Type: D2D1_DRAWING_STATE_DESCRIPTION
A structure that describes the drawing state of a render target.
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 | d2d1helper.h |
Library | D2d1.lib |
DLL | D2d1.dll |