8 references to DrawCurve
System.Drawing.Common.Tests (8)
mono\System.Drawing\GraphicsTests.cs (2)
750
g.
DrawCurve
(Pens.Black, s_smallCurveF, -0.9f);
761
g.
DrawCurve
(Pens.Black, s_smallCurveF, 0.9f);
System\Drawing\GraphicsTests.cs (6)
2459
AssertExtensions.Throws<ArgumentNullException>("pen", () => graphics.
DrawCurve
(null, new PointF[2], 1));
2476
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawCurve
(pen, new PointF[2], 1));
2491
AssertExtensions.Throws<ArgumentNullException>("points", () => graphics.
DrawCurve
(pen, (PointF[])null, 1));
2508
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawCurve
(pen, new PointF[length], 1));
2542
Assert.Throws<InvalidOperationException>(() => graphics.
DrawCurve
(pen, new PointF[2], 1));
2564
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawCurve
(pen, new PointF[2], 1));