just test for slope == 0 and change if necessary
now exporting QPointF instead of QPoint to represent world space