public void Bezier(IList<PointD> coordinates) { using (PointInfoCollection pointInfo = new PointInfoCollection(coordinates)) { _NativeInstance.Bezier(pointInfo, pointInfo.Count); } }
public void Bezier(IList <PointD> coordinates) { using (PointInfoCollection pointInfo = new PointInfoCollection(coordinates)) { _nativeInstance.Bezier(pointInfo, pointInfo.Count); } }
public void Polyline(IList <PointD> coordinates) { using (var pointInfo = new PointInfoCollection(coordinates)) { _nativeInstance.Polyline(pointInfo, pointInfo.Count); } }
internal static IntPtr GetInstance(PointInfoCollection instance) { if (instance == null) { return(IntPtr.Zero); } return(instance._NativeInstance.Instance); }
public void Polyline(IList <PointD> coordinates) { DebugThrow.IfNull(nameof(coordinates), coordinates); using (PointInfoCollection pointInfo = new PointInfoCollection(coordinates)) { _nativeInstance.Polyline(pointInfo, pointInfo.Count); } }
public void Polyline(IList <PointD> coordinates) { Debug.Assert(coordinates != null); using (PointInfoCollection pointInfo = new PointInfoCollection(coordinates)) { _NativeInstance.Polyline(pointInfo, pointInfo.Count); } }
public void Polyline(IList <PointD> coordinates) { if (coordinates == null) { return; } using (PointInfoCollection pointInfo = new PointInfoCollection(coordinates)) { _NativeInstance.Polyline(pointInfo, pointInfo.Count); } }
public void Bezier(PointInfoCollection coordinates, int length) { IntPtr exception = IntPtr.Zero; #if ANYCPU if (NativeLibrary.Is64Bit) #endif #if WIN64 || ANYCPU NativeMethods.X64.DrawingWand_Bezier(Instance, PointInfoCollection.GetInstance(coordinates), (UIntPtr)length, out exception); #endif #if ANYCPU else #endif #if !WIN64 || ANYCPU NativeMethods.X86.DrawingWand_Bezier(Instance, PointInfoCollection.GetInstance(coordinates), (UIntPtr)length, out exception); #endif CheckException(exception); }
public void Polyline(IList<PointD> coordinates) { if (coordinates == null) return; using (PointInfoCollection pointInfo = new PointInfoCollection(coordinates)) { _NativeInstance.Polyline(pointInfo, pointInfo.Count); } }
internal static IntPtr GetInstance(PointInfoCollection pointInfoCollection) => pointInfoCollection._nativeInstance.Instance;
internal static IntPtr GetInstance(PointInfoCollection instance) { if (instance == null) return IntPtr.Zero; return instance._NativeInstance.Instance; }