ID2D1Factory3::CreateDrawingStateBlock method
[This documentation is preliminary and is subject to change.]
Creates an ID2D1DrawingStateBlock2 that can be used with the SaveDrawingState and RestoreDrawingState methods of a device context.
HRESULT CreateDrawingStateBlock(
const D2D1_DRAWING_STATE_DESCRIPTION2 &drawingStateDescription,
[out] ID2D1DrawingStateBlock2 **drawingStateBlock
);
drawingStateDescription [ref]
Type: const D2D1_DRAWING_STATE_DESCRIPTION2A structure that contains antialiasing, transform, and tags information.
drawingStateBlock [out]
Type: ID2D1DrawingStateBlock2**When this method returns, contains the address of a pointer to the new drawing state block created by this method.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Header |
D2d1_3.h |
Library |
D2d1_3.lib |
DLL |
D2d1_3.dll |