This is a simple algorithm for drawing lines that is between any two points. Place the two points using the mouse(drag and drop) and hit space-bar, aline will be drawn.