int RectContainsRect (Rect containerRect, Rect containedRect);
Returns 1 if the first rectangle you specify encloses the second rectangle you specify. The function returns 0 otherwise.
A rectangle is considered to enclose another rectangle if every point of the second rectangle is in the interior or on the frame of the first rectangle. A rectangle encloses itself.
Input | ||
Name | Type | Description |
containerRect | Rect | The rectangle tested to determine whether it encloses another rectangle. |
containedRect | Rect | The rectangle tested to determine whether it is enclosed by another rectangle. |
Name | Type | Description | ||||||
containsRect | integer | Indicates if containerRect encloses containedRect.
|