RectUnion
void RectUnion (Rect rect1, Rect rect2, Rect *unionRect);
Purpose
Calculates the smallest rectangle that encloses the two rectangles you specify.
Parameters
| Input | ||
| Name | Type | Description | 
| rect1 | Rect | The size and location of a rectangle. | 
| rect2 | Rect | The size and location of a rectangle. | 
| Output | ||
| Name | Type | Description | 
| unionRect | Rect | Rect structure that specifies the smallest rectangle that encloses both rect1 and rect2. | 
Return Value
None.
Additional Information
Library: User Interface Library
Include file: userint.h
LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later
