Getting the lines to draw.