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