void RectGrow (Rect *rect, int dx, int dy);
Modifies the values in a Rect structure so that the rectangle it defines grows or shrinks around its current center point.
Input | ||
Name | Type | Description |
dx | integer | Amount to grow the rectangle horizontally. Use a negative value to shrink the rectangle horizontally. |
dy | integer | Amount to grow the rectangle vertically. Use a negative value to shrink the rectangle vertically. |
Output | ||
Name | Type | Description |
rect | Rect | On input, the size and location of a rectangle. On output, a rectangle of a different size but the same center point. |
None.