10 references to DrawCurve
System.Drawing.Common.Tests (10)
mono\System.Drawing\GraphicsTests.cs (3)
800g.DrawCurve(Pens.Black, s_largeCurveF, 0, 2, 0.5f); 811g.DrawCurve(Pens.Black, s_largeCurveF, 1, 2, 0.5f); 823g.DrawCurve(Pens.Black, s_largeCurveF, 2, 1, 0.5f);
System\Drawing\GraphicsTests.cs (7)
2462AssertExtensions.Throws<ArgumentNullException>("pen", () => graphics.DrawCurve(null, new PointF[2], 0, 2, 1)); 2479AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawCurve(pen, new PointF[2], 0, 2, 1)); 2494AssertExtensions.Throws<ArgumentNullException>("points", () => graphics.DrawCurve(pen, (PointF[])null, 0, 2, 1)); 2511AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawCurve(pen, new PointF[length], 0, length, 1)); 2527AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawCurve(pen, new PointF[length], offset, numberOfSegments, 1)); 2545Assert.Throws<InvalidOperationException>(() => graphics.DrawCurve(pen, new PointF[2], 0, 2, 1)); 2567AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawCurve(pen, new PointF[2], 0, 2, 1));