[]
ID2D1GeometryRealization
[Guid("a16907d7-bc02-4801-99e8-8cf7f485f774")]
public class GeometryRealization : Resource, IDisposable, IUnknown
Initializes a new instance of the GeometryRealization class.
public GeometryRealization(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
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)
context
DeviceContext1The device context where the created instance should be attached to.
geometry
GeometryThe geometry to realize.
flatteningTolerance
floatThe flattening tolerance to use when converting Beziers to line segments. This parameter shares the same units as the coordinates of the geometry.
strokeWidth
floatThe width of the stroke. This parameter shares the same units as the coordinates of the geometry.
strokeStyle
StrokeStyleThe stroke style (optional).
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)
context
DeviceContext1The device context where the created instance should be attached to.
geometry
GeometryThe geometry to realize.
flatteningTolerance
floatThe flattening tolerance to use when converting Beziers to line segments. This parameter shares the same units as the coordinates of the geometry.
Performs an explicit conversion from System.IntPtr to GeometryRealization.
public static explicit operator GeometryRealization(IntPtr nativePointer)
nativePointer
System.IntPtr