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