Add a helper function to convert QPointF to QPoint using floor instead of round
In a bunch of cases, we want to floor when converting to QPoint rather than rounding. As it gets tedious to repeat the same code over and over, add a helper function.
parent
a1191bea