Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phrectunion.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phrectunion.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phrectunion.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phrectunion.html on line 8
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.
- 0
- The resulting rectangle is inverted (only possible if inverted
rectangles are provided as parameters i.e. ul >
lr ).
- 1
- The resulting rectangle is a regular rectangle (i.e. ul
< lr).
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PhRect_t,
PhRectIntersect()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phrectunion.html on line 100
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phrectunion.html on line 100