void RectSetBottom (Rect *rect, int bottom);
Sets the height of a Rect structure so that the bottom edge of the rectangle it defines is at the specified location.
The bottom edge of the rectangle is not enclosed by the rectangle and is equal to the top plus the height.
Input | ||
Name | Type | Description |
bottom | integer | Y-coordinate of the new bottom edge. |
Output | ||
Name | Type | Description |
rect | Rect | On input, the size and location of a rectangle. On output, the same rectangle with a different bottom edge. |
None.