[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.Factory2

Class Factory2

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

ID2D1Factory2

[Guid("94f81a73-9212-4376-9c58-b16a3a0d3992")]
public class Factory2 : Factory1, IDisposable, IUnknown
Inheritance
object
Factory2
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

Factory2(IntPtr)

Initializes a new instance of the Factory2 class.

public Factory2(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

Create(FactoryType)

Creates a new instance of the Factory2 class with the specified FactoryType.

public static Factory2 Create(FactoryType factoryType)

Parameters

factoryType FactoryType

The factory threading type.

Returns

Factory2

CreateDevice1(Device)

HRESULT ID2D1Factory2::CreateDevice([In] IDXGIDevice* dxgiDevice,[Out, Fast] ID2D1Device1** d2dDevice1)

public Device1 CreateDevice1(Device dxgiDevice)

Parameters

dxgiDevice Device

Returns

Device1

Operators

explicit operator Factory2(IntPtr)

Performs an explicit conversion from System.IntPtr to Factory2.

public static explicit operator Factory2(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

Factory2