4 references to DrawBezier
System.Drawing.Common.Tests (4)
System\Drawing\Graphics_DrawBezierTests.cs (4)
15graphics.DrawBezier(pen, new(10, 10), new(20, 1), new(35, 5), new(50, 10));
66AssertExtensions.Throws<ArgumentNullException>("pen", () => graphics.DrawBezier(null, Point.Empty, Point.Empty, Point.Empty, Point.Empty));
79AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawBezier(pen, Point.Empty, Point.Empty, Point.Empty, Point.Empty));
93Assert.Throws<InvalidOperationException>(() => graphics.DrawBezier(pen, Point.Empty, Point.Empty, Point.Empty, Point.Empty));