RectSetCenter
void RectSetCenter (Rect *rectangle, Point center);
Purpose
Sets the values of a Rect structure so that it retains its current size but is centered around a specified point.
Parameters
Input | ||
Name | Type | Description |
center | Point | The location of the new center point of the rectangle. |
Output | ||
Name | Type | Description |
rectangle | Rect | On input, the size and location of a rectangle. On output, a rectangle of the same size but with a different center point. |
Return Value
None.
Additional Information
Library: User Interface Library
Include file: userint.h
LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later