DoLine calls Line to draw from x1, y1 to x2, y2.
Source position: graphics.pp line 1073
protected procedure TCanvas.DoLine(
x1: Integer;
y1: Integer;
x2: Integer;
y2: Integer
); override;