54 references to AddLine
System.Drawing.Common.Tests (44)
System\Drawing\Drawing2D\GraphicsPathIteratorTests.cs (4)
176gp.AddLine(0, 1, 2, 3); 179gp.AddLine(20, 21, 22, 23); 207gp.AddLine(0, 1, 2, 3); 210gp.AddLine(20, 21, 22, 23);
System\Drawing\Drawing2D\GraphicsPathTests.cs (40)
213gpInt.AddLine(1, 1, 2, 2); 217gpFloat.AddLine(1, 1, 2, 2); 1403gp.AddLine(1, 1, 2, 2); 1405gp.AddLine(10, 10, 20, 20); 1418gp.AddLine(1, 1, 2, 2); 1420gp.AddLine(10, 10, 20, 20); 1433gp.AddLine(1, 1, 2, 2); 1441gp.AddLine(10, 10, 20, 20); 1454gp.AddLine(1, 1, 2, 2); 1456gp.AddLine(10, 10, 20, 20); 1470path.AddLine(1, 1, 2, 2); 1472path.AddLine(10, 10, 20, 20); 1485gp.AddLine(1, 1, 2, 2); 1487gp.AddLine(10, 10, 20, 20); 1501path.AddLine(1, 1, 2, 2); 1502path.AddLine(5, 5, 10, 10); 1503path.AddLine(10, 10, 20, 20); 1516gp.AddLine(1, 1, 2, 2); 1518gp.AddLine(10, 10, 20, 20); 1533gp.AddLine(1, 1, 2, 2); 1535gp.AddLine(10, 10, 20, 20); 1550path.AddLine(1, 1, 2, 2); 1552path.AddLine(10, 10, 20, 20); 1565path.AddLine(1, 1, 2, 2); 1567path.AddLine(10, 10, 20, 20); 1582gp.AddLine(1, 1, 2, 2); 1584gp.AddLine(10, 10, 20, 20); 1598gp.AddLine(1, 1, 2, 2); 1600gp.AddLine(10, 10, 20, 20); 1614gp.AddLine(1, 1, 2, 2); 1621gp.AddLine(10, 10, 20, 20); 1635gp.AddLine(1, 1, 2, 2); 1637gp.AddLine(10, 10, 20, 20); 1896gp.AddLine(1, 2, 3, 4); 1904gp.AddLine(1, 2, 3, 4); 1959inner.AddLine(1, 2, 3, 4); 2017gp.AddLine(0, 1, 2, 3); 2028gp.AddLine(0, 1, 2, 3); 2031gp.AddLine(20, 21, 22, 23); 2244gp.AddLine(10, 1, 14, 1);
System.Windows.Forms (10)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\SystemButtonDarkModeRenderer.cs (10)
210path.AddLine(bounds.Left + radius, bounds.Top, bounds.Right - radius, bounds.Top); 217path.AddLine( 224path.AddLine(bounds.Right, bounds.Top + bounds.Height / 2, bounds.Left + bounds.Width / 2, bounds.Bottom); 227path.AddLine(bounds.Left + bounds.Width / 2, bounds.Bottom, bounds.Left, bounds.Bottom - bounds.Height / 2); 230path.AddLine(bounds.Left, bounds.Bottom - bounds.Height / 2, bounds.Left, bounds.Top + radius); 245path.AddLine(bounds.Left + bounds.Width / 2, bounds.Top, bounds.Right, bounds.Top + bounds.Height / 2); 248path.AddLine(bounds.Right, bounds.Top + bounds.Height / 2, bounds.Right, bounds.Bottom - radius); 255path.AddLine(bounds.Right - radius, bounds.Bottom, bounds.Left + radius, bounds.Bottom); 262path.AddLine( 269path.AddLine(bounds.Left, bounds.Top + bounds.Height / 2, bounds.Left + bounds.Width / 2, bounds.Top);