/// <summary> /// convert D2dArcSegment to SharpDX.ArcSegment.</summary> internal static ArcSegment ToSharpDX(this D2dArcSegment arc) { return(new ArcSegment { Point = arc.Point.ToSharpDX(), Size = arc.Size.ToSharpDX(), RotationAngle = arc.RotationAngle, ArcSize = (ArcSize)arc.ArcSize, SweepDirection = (SweepDirection)arc.SweepDirection }); }
/// <summary> /// Adds arc to the current path</summary> /// <param name="arc">Arc to add</param> public void AddArc(D2dArcSegment arc) { m_sink.AddArc(arc.ToSharpDX()); }
public void AddArc(D2dArcSegment arc) { m_sink.AddArc(arc.ToSharpDX()); }