7 references to DrawCurve
System.Drawing.Common.Tests (7)
mono\System.Drawing\GraphicsTests.cs (1)
716g.DrawCurve(Pens.Black, s_tooSmallCurve, 0.5f);
System\Drawing\GraphicsTests.cs (6)
2458AssertExtensions.Throws<ArgumentNullException>("pen", () => graphics.DrawCurve(null, new Point[2], 1)); 2475AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawCurve(pen, new Point[2], 1)); 2490AssertExtensions.Throws<ArgumentNullException>("points", () => graphics.DrawCurve(pen, (Point[])null, 1)); 2507AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawCurve(pen, new Point[length], 1)); 2541Assert.Throws<InvalidOperationException>(() => graphics.DrawCurve(pen, new Point[2], 1)); 2563AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawCurve(pen, new Point[2], 1));