Added a line drawing function that takes a dot polygon.