RectGrow
void RectGrow (Rect *rectangle, int dx, int dy);
Purpose
Modifies the values in a Rect structure so that the rectangle it defines grows or shrinks around its current center point.
Parameters
Input | ||
Name | Type | Description |
dx | int | Amount to grow the rectangle horizontally. Use a negative value to shrink the rectangle horizontally. |
dy | int | Amount to grow the rectangle vertically. Use a negative value to shrink the rectangle vertically. |
Output | ||
Name | Type | Description |
rectangle | Rect | On input, the size and location of a rectangle. On output, a rectangle of a different size but the same center point. |
Return Value
None.
Additional Information
Library: User Interface Library
Include file: userint.h
LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later