RectOffset
void RectOffset (Rect *rectangle, int dx, int dy);
Purpose
Modifies the values in a Rect structure to shift the location of the rectangle it defines.
Parameters
Input | ||
Name | Type | Description |
dx | int | Amount to shift the rectangle horizontally. Use a positive value to shift the rectangle to the right. Use a negative value to shift the rectangle to the left. |
dy | int | Amount to shift the rectangle vertically. Use a positive value to shift the rectangle down. Use a negative value to shift the rectangle up. |
Output | ||
Name | Type | Description |
rectangle | Rect | On input, the size and location of a rectangle. On output, a rectangle of the same size but a different location. |
Return Value
None.
Additional Information
Library: User Interface Library
Include file: userint.h
LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later