4 references to AddCurve
System.Drawing.Common.Tests (4)
System\Drawing\Drawing2D\GraphicsPathTests.cs (4)
546gp.AddCurve(points, i, 1, 0.5f); 574AssertExtensions.ThrowsAny<ArgumentException, ArgumentOutOfRangeException>(() => gp.AddCurve(points, 0, 2, 0.5f)); 604() => gp.AddCurve(new PointF[2] { new(1f, 1f), new(2f, 2f) }, 0, segment, 0.5f)); 615() => gp.AddCurve(new PointF[3] { new(1f, 1f), new(0f, 20f), new(20f, 0f) }, 1, 2, 0.5f));