testRectPoint(r: Rect, pt: Vec2): boolean

Check if a point is inside a rectangle.