[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.PathGeometry

Class PathGeometry

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

ID2D1PathGeometry

[Guid("2cd906a5-12e2-11dc-9fed-001143a055f9")]
public class PathGeometry : Geometry, IDisposable, IUnknown
Inheritance
object
PathGeometry
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

PathGeometry(IntPtr)

Initializes a new instance of the PathGeometry class.

public PathGeometry(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

Create(Factory)

Creates an empty PathGeometry.

public static PathGeometry Create(Factory factory)

Parameters

factory Factory

an instance of Factory

Returns

PathGeometry

GetFigureCount()

HRESULT ID2D1PathGeometry::GetFigureCount([Out] unsigned int* count)

public int GetFigureCount()

Returns

int

GetSegmentCount()

HRESULT ID2D1PathGeometry::GetSegmentCount([Out] unsigned int* count)

public int GetSegmentCount()

Returns

int

Open()

HRESULT ID2D1PathGeometry::Open([Out] ID2D1GeometrySink** geometrySink)

public GeometrySinkNative Open()

Returns

GeometrySinkNative

Stream(IGeometrySink)

Copies the contents of the path geometry to the specified IGeometrySink.

public void Stream(IGeometrySink geometrySink)

Parameters

geometrySink IGeometrySink

The sink to which the path geometry's contents are copied. Modifying this sink does not change the contents of this path geometry.

Operators

explicit operator PathGeometry(IntPtr)

Performs an explicit conversion from System.IntPtr to PathGeometry.

public static explicit operator PathGeometry(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

PathGeometry