pub fn norm_rect(rect: Rect) -> Rect
normRect: the rectangle with xMin <= xMax and yMin <= yMax.
normRect
xMin <= xMax
yMin <= yMax