Table of Contents

Class DrawingStateBlock1

Namespace
SharpDX.Direct2D1
Assembly
SharpDX.Direct2D1.dll
[Guid("689f1f85-c72e-4e33-8f19-85754efd5ace")]
public class DrawingStateBlock1 : DrawingStateBlock
Inheritance
DrawingStateBlock1
Inherited Members

Constructors

DrawingStateBlock1(Factory1)

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

public DrawingStateBlock1(Factory1 factory)

Parameters

factory Factory1

an instance of Factory1

DrawingStateBlock1(Factory1, DrawingStateDescription1)

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

public DrawingStateBlock1(Factory1 factory, DrawingStateDescription1 drawingStateDescription)

Parameters

factory Factory1

an instance of Factory1

drawingStateDescription DrawingStateDescription1

A structure that contains antialiasing, transform, and tags information.

DrawingStateBlock1(Factory1, DrawingStateDescription1, RenderingParams)

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

public DrawingStateBlock1(Factory1 factory, DrawingStateDescription1 drawingStateDescription, RenderingParams textRenderingParams)

Parameters

factory Factory1

an instance of Factory1

drawingStateDescription DrawingStateDescription1

A structure that contains antialiasing, transform, and tags information.

textRenderingParams RenderingParams

Optional text parameters that indicate how text should be rendered.

DrawingStateBlock1(Factory1, RenderingParams)

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

public DrawingStateBlock1(Factory1 factory, RenderingParams textRenderingParams)

Parameters

factory Factory1

an instance of Factory1

textRenderingParams RenderingParams

Optional text parameters that indicate how text should be rendered.

DrawingStateBlock1(nint)

public DrawingStateBlock1(nint nativePtr)

Parameters

nativePtr nint

Properties

Description

Gets or sets the antialiasing mode, transform, tags, primitive blend, and unit mode portion of the drawing state.

public DrawingStateDescription1 Description { get; set; }

Property Value

DrawingStateDescription1

Operators

explicit operator DrawingStateBlock1(nint)

public static explicit operator DrawingStateBlock1(nint nativePtr)

Parameters

nativePtr nint

Returns

DrawingStateBlock1