int RectContainsPoint (Rect rect, Point point);
Returns 1 if the specified rectangle encloses the point you specify. The function returns 0 otherwise.
The rectangle is considered to enclose the point if the point is in the interior of the rectangle or on its frame.
Input | ||
Name | Type | Description |
rect | Rect | The location and size of a rectangle. |
point | Point | The location of the center of the rectangle. |
Name | Type | Description | ||||||
containsPoint | integer | Indicates if rect contains point.
|