[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.DrawingStateBlock1

Class DrawingStateBlock1

Namespace
GrapeCity.Documents.DX.Direct2D
Assembly
GcDocs.DX.Windows.dll

ID2D1DrawingStateBlock1

[Guid("689f1f85-c72e-4e33-8f19-85754efd5ace")]
public class DrawingStateBlock1 : DrawingStateBlock, IDisposable, IUnknown
Inheritance
object
DrawingStateBlock1
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

DrawingStateBlock1(IntPtr)

Initializes a new instance of the DrawingStateBlock1 class.

public DrawingStateBlock1(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

Description

GetDescription / SetDescription

public DrawingStateDescription1 Description { get; set; }

Property Value

DrawingStateDescription1

Methods

Create(Factory1, DrawingStateDescription1, RenderingParams)

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

public static DrawingStateBlock1 Create(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.

Returns

DrawingStateBlock1

Create(Factory1, DrawingStateDescription1)

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

public static DrawingStateBlock1 Create(Factory1 factory, DrawingStateDescription1 drawingStateDescription)

Parameters

factory Factory1

an instance of Factory1

drawingStateDescription DrawingStateDescription1

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

Returns

DrawingStateBlock1

Create(Factory1, RenderingParams)

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

public static DrawingStateBlock1 Create(Factory1 factory, RenderingParams textRenderingParams)

Parameters

factory Factory1

an instance of Factory1

textRenderingParams RenderingParams

Optional text parameters that indicate how text should be rendered.

Returns

DrawingStateBlock1

Create(Factory1)

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

public static DrawingStateBlock1 Create(Factory1 factory)

Parameters

factory Factory1

an instance of Factory1

Returns

DrawingStateBlock1

GetDescription(out DrawingStateDescription1)

void ID2D1DrawingStateBlock1::GetDescription([Out] D2D1_DRAWING_STATE_DESCRIPTION1* stateDescription)

public void GetDescription(out DrawingStateDescription1 stateDescription)

Parameters

stateDescription DrawingStateDescription1

SetDescription(ref DrawingStateDescription1)

void ID2D1DrawingStateBlock1::SetDescription([In] const D2D1_DRAWING_STATE_DESCRIPTION1* stateDescription)

public void SetDescription(ref DrawingStateDescription1 stateDescription)

Parameters

stateDescription DrawingStateDescription1

Operators

explicit operator DrawingStateBlock1(IntPtr)

Performs an explicit conversion from System.IntPtr to DrawingStateBlock1.

public static explicit operator DrawingStateBlock1(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

DrawingStateBlock1