RectSetFromPoints
void RectSetFromPoints (Rect *rectangle, Point point1, Point point2);
Purpose
Sets the values in a Rect structure so that it defines the smallest rectangle that encloses the two points you specify. Each point is located on a corner of the frame of the rectangle.
Parameters
| Input | ||
| Name | Type | Description |
| point1 | Point | One of the two points that defines the rectangle. |
| point2 | Point | One of the two points that defines the rectangle. |
| Output | ||
| Name | Type | Description |
| rectangle | Rect | Rect structure that is set to enclose the specified points. |
Return Value
None.
Additional Information
Library: User Interface Library
Include file: userint.h
LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later