/// <summary>Clip the polyline to viewport, using specified clipping rectangle</summary> public static eClipResult clip(this iPolylinePath source, iPolylinePath dest, Rect clipRect, Matrix3x2 transform, float strokeWidth = 0) { unsafe { Rect *clip = &clipRect; source.clip(strokeWidth, ref transform, (IntPtr)clip, dest, out var res); return(res); } }
/// <summary>Clip the polyline to viewport, using default clipping rectangle</summary> public static eClipResult clip(this iPolylinePath source, iPolylinePath dest, Matrix3x2 transform, float strokeWidth = 0) { source.clip(strokeWidth, ref transform, IntPtr.Zero, dest, out var res); return(res); }