[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.DrawingStateBlock

DrawingStateBlock Class

ID2D1DrawingStateBlock

Implements
Namespace: C1.Util.DX.Direct2D
Assembly: C1.Win.C1DX.4.8.dll
Syntax
[Guid("28506e39-ebf6-46a1-bb47-fd85565ab957")]
public class DrawingStateBlock : Resource, IDisposable, IUnknown

Constructors

Name Description
DrawingStateBlock(IntPtr)

Initializes a new instance of the DrawingStateBlock class.

Properties

Name Description
Description

GetDescription / SetDescription

Methods

Name Description
Create(Factory)

Creates an DrawingStateBlock that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.

Create(Factory, DrawingStateDescription)

Creates an DrawingStateBlock that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.

Create(Factory, RenderingParams)

Creates an DrawingStateBlock that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.

Create(Factory, DrawingStateDescription?, RenderingParams)

Creates an DrawingStateBlock that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.

GetDescription(out DrawingStateDescription)

void ID2D1DrawingStateBlock::GetDescription([Out] D2D1_DRAWING_STATE_DESCRIPTION* stateDescription)

GetTextRenderingParams()

void ID2D1DrawingStateBlock::GetTextRenderingParams([Out, Optional] IDWriteRenderingParams** textRenderingParams)

SetDescription(ref DrawingStateDescription)

void ID2D1DrawingStateBlock::SetDescription([In] const D2D1_DRAWING_STATE_DESCRIPTION* stateDescription)

SetTextRenderingParams(RenderingParams)

void ID2D1DrawingStateBlock::SetTextRenderingParams([In, Optional] IDWriteRenderingParams* textRenderingParams)

Operators

Name Description
explicit operator DrawingStateBlock(IntPtr)

Performs an explicit conversion from IntPtr to DrawingStateBlock.