Drawing user lines, converting point coordinates, refactor