[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.GeometryRealization

Class GeometryRealization

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

ID2D1GeometryRealization

[Guid("a16907d7-bc02-4801-99e8-8cf7f485f774")]
public class GeometryRealization : Resource, IDisposable, IUnknown
Inheritance
object
GeometryRealization
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

GeometryRealization(IntPtr)

Initializes a new instance of the GeometryRealization class.

public GeometryRealization(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

Create(DeviceContext1, Geometry, float, float, StrokeStyle)

Creates a device-dependent representation of the stroke of a geometry that can be subsequently rendered.

public static GeometryRealization Create(DeviceContext1 context, Geometry geometry, float flatteningTolerance, float strokeWidth, StrokeStyle strokeStyle)

Parameters

context DeviceContext1

The device context where the created instance should be attached to.

geometry Geometry

The geometry to realize.

flatteningTolerance float

The flattening tolerance to use when converting Beziers to line segments. This parameter shares the same units as the coordinates of the geometry.

strokeWidth float

The width of the stroke. This parameter shares the same units as the coordinates of the geometry.

strokeStyle StrokeStyle

The stroke style (optional).

Returns

GeometryRealization

Create(DeviceContext1, Geometry, float)

Creates a device-dependent representation of the fill of the geometry that can be subsequently rendered.

public static GeometryRealization Create(DeviceContext1 context, Geometry geometry, float flatteningTolerance)

Parameters

context DeviceContext1

The device context where the created instance should be attached to.

geometry Geometry

The geometry to realize.

flatteningTolerance float

The flattening tolerance to use when converting Beziers to line segments. This parameter shares the same units as the coordinates of the geometry.

Returns

GeometryRealization

Operators

explicit operator GeometryRealization(IntPtr)

Performs an explicit conversion from System.IntPtr to GeometryRealization.

public static explicit operator GeometryRealization(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

GeometryRealization