10 references to DrawBeziers
System.Drawing.Common (3)
System\Drawing\Graphics.cs (3)
2788
/// <inheritdoc cref="
DrawBeziers
(Pen, Point[])"/>
2792
/// <inheritdoc cref="
DrawBeziers
(Pen, Point[])"/>
2823
/// <inheritdoc cref="
DrawBeziers
(Pen, Point[])"/>
System.Drawing.Common.Tests (7)
System\Drawing\Graphics_DrawBezierTests.cs (7)
34
graphics.
DrawBeziers
(pen, points);
121
AssertExtensions.Throws<ArgumentNullException>("pen", () => graphics.
DrawBeziers
(null, new Point[2]));
133
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawBeziers
(pen, new Point[2]));
143
AssertExtensions.Throws<ArgumentNullException>("points", () => graphics.
DrawBeziers
(pen, (Point[])null));
153
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawBeziers
(pen, Array.Empty<Point>()));
166
Assert.Throws<InvalidOperationException>(() => graphics.
DrawBeziers
(pen, new Point[2]));
183
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawBeziers
(pen, new Point[2]));