PtInRect returns true if the point, P, lies inside the rectangle, Rect, and false if P is not in Rect.
PtInRect does not consider a point inside a rectangle if the rectangle has a negative width or height. A point is considered inside a rectangle if it lies on the left or top edge, but not if it lies on the right or bottom edge.