Apply constraints to the rectangle.
PointF AdjustByConstraints(const PointF &size, const RectF &constraints);