public void Line(IDrawingTarget target) { target.Line(1, 1, target.Width - 1, target.Height - 1); }
public void ThickLine(IDrawingTarget target) { target.Stroke(weight: 5); target.Line(10, 10, target.Width - 10, target.Height - 10); }
public void CrispTranslatedLine(IDrawingTarget target) { target.PixelAlign(); target.Translate(10, 20); target.Line(0, 0, 60, 0); }
public void CrispLine(IDrawingTarget target) { target.PixelAlign(); target.Line(10, 20, 70, 20); }
public void Line(Point p1, Point p2) { _target.Line(pixelAlign(p1), pixelAlign(p2)); }
public void Line(IDrawingTarget target) { target.Line(1, 1, target.Width-1, target.Height-1); }