13 references to AddLines
System.Drawing.Common.Tests (13)
System\Drawing\Drawing2D\GraphicsPathIteratorTests.cs (5)
62gp.AddLines(_twoPoints); 89gp.AddLines(_twoPoints); 122gp.AddLines(_twoPoints); 133gp.AddLines(_twoPoints); 142gp.AddLines(_twoPoints);
System\Drawing\Drawing2D\GraphicsPathTests.cs (7)
259gpf.AddLines(new PointF[] { new(1, 1), new(2, 2) }); 268gpi.AddLines(new PointF[] { new(1, 1) }); 272gpf.AddLines(new PointF[] { new(1, 1) }); 303gpf.AddLines(floatPoints); 307gpf.AddLines(floatPoints); 317AssertExtensions.Throws<ArgumentNullException>("points", () => new GraphicsPath().AddLines((PointF[])null)); 324AssertExtensions.Throws<ArgumentException>("points", null, () => new GraphicsPath().AddLines(Array.Empty<PointF>()));
System\Drawing\Drawing2D\PathGradientBrushTests.cs (1)
114path.AddLines(new PointF[] { new(1, 1) });