RectSameSize
int RectSameSize (Rect rect1, Rect rect2);
Purpose
Returns 1 if the two rectangles you specify have the same height and
width. The function returns 0 otherwise.
Parameters
| Input |
| Name |
Type |
Description |
| rect1 |
Rect |
The location and size of the first rectangle. |
| rect2 |
Rect |
The location and size of the second rectangle. |
Return Value
| Name |
Type |
Description |
| sameSize |
integer |
Indicates if the height and width values in rect1 are
identical to those of rect2.
| Code |
Description |
| 1 |
rect1 and rect2 have the identical height and width. |
| 0 |
rect1 and rect2 do not have the identical height and width. |
|