DrawingStateDescription function
Creates a D2D1_DRAWING_STATE_DESCRIPTION structure.
Syntax
D2D1_DRAWING_STATE_DESCRIPTION DrawingStateDescription(
D2D1_ANTIALIAS_MODE antialiasMode = D2D1_ANTIALIAS_MODE_PER_PRIMITIVE,
D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode = D2D1_TEXT_ANTIALIAS_MODE_DEFAULT,
D2D1_TAG tag1 = 0,
D2D1_TAG tag2 = 0,
_In_ const D2D1_MATRIX_3X2_F &transform = D2D1::IdentityMatrix()
);
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.
- transform [in, ref]
-
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
|
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 |
|