![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Determine a bounding box for two rectangles
int PhRectUnion( PhRect_t *rect1, 
                 PhRect_t const *rect2 );
ph
This function changes the rectangle pointed to by rect1 to a rectangle that encompasses rect2 using rect1 as a starting point. The result is a bounding box for the two original rectangles.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
![]()  | 
![]()  | 
![]()  | 
![]()  |