5 references to AddClosedCurve
System.Drawing.Common.Tests (5)
System\Drawing\Drawing2D\GraphicsPathTests.cs (5)
630gpf.AddClosedCurve(new PointF[3] { new(1, 1), new(2, 2), new(3, 3) });
644gpf.AddClosedCurve(new PointF[3] { new(1, 1), new(1, 1), new(1, 1) });
646gpf.AddClosedCurve(new PointF[3] { new(1, 1), new(1, 1), new(1, 1) });
666AssertExtensions.Throws<ArgumentNullException>("points", () => gp.AddClosedCurve((PointF[])null));
697AssertExtensions.Throws<ArgumentException>(null, () => gp.AddClosedCurve(points));