20 references to AddLine
System.Drawing.Common.Tests (20)
System\Drawing\Drawing2D\CustomLineCapTests.cs (10)
27strokePath.AddLine(new Point(0, 0), new Point(0, 5)); 28strokePath.AddLine(new Point(0, 5), new Point(5, 1)); 29strokePath.AddLine(new Point(5, 1), new Point(3, 1)); 34fillPath.AddLine(new Point(-5, -10), new Point(0, 10)); 35fillPath.AddLine(new Point(0, 10), new Point(5, -10)); 36fillPath.AddLine(new Point(5, -10), new Point(-5, -10)); 71fillPath.AddLine(new Point(0, -10), new Point(0, 10)); 80fillPath.AddLine(new Point(-5, 5), new Point(5, 5)); 81fillPath.AddLine(new Point(5, 5), new Point(5, 1)); 82fillPath.AddLine(new Point(5, 1), new Point(-5, 5));
System\Drawing\Drawing2D\GraphicsPathIteratorTests.cs (1)
271gp.AddLine(new(0, 0), new(1, 1));
System\Drawing\Drawing2D\GraphicsPathTests.cs (9)
220gpPointsInt.AddLine(new Point(1, 1), new Point(2, 2)); 232gpi.AddLine(new Point(49, 157), new Point(75, 196)); 233gpi.AddLine(new Point(75, 196), new Point(102, 209)); 237gpi.AddLine(new Point(102, 209), new Point(75, 196)); 1331gp.AddLine(new Point(1, 1), new Point(2, 2)); 1342gp.AddLine(new Point(1, 1), new Point(2, 2)); 1363gp.AddLine(new Point(1, 1), new Point(2, 2)); 1381gp.AddLine(new Point(1, 1), new Point(2, 2)); 1383gp.AddLine(new Point(3, 3), new Point(4, 4));