CRenderTarget::SaveDrawingState

Saves the current drawing state to the specified ID2D1DrawingStateBlock.

void SaveDrawingState(
   ID2D1DrawingStateBlock& drawingStateBlock
) const;

Parameters

  • drawingStateBlock
    When this method returns, contains the current drawing state of the render target. This parameter must be initialized before passing it to the method.

Requirements

Header: afxrendertarget.h

See Also

Reference

CRenderTarget Class