4 references to AddLine
System.Drawing.Common (3)
System\Drawing\Drawing2D\GraphicsPath.cs (3)
303
public void AddLine(PointF pt1, PointF pt2) =>
AddLine
(pt1.X, pt1.Y, pt2.X, pt2.Y);
346
public void AddLine(Point pt1, Point pt2) =>
AddLine
((float)pt1.X, pt1.Y, pt2.X, pt2.Y);
348
public void AddLine(int x1, int y1, int x2, int y2) =>
AddLine
((float)x1, y1, x2, y2);
System.Drawing.Common.Tests (1)
System\Drawing\Drawing2D\GraphicsPathTests.cs (1)
1237
gp.
AddLine
(10f, 10f, 100f, 100f);