GA_unionRectCoord
Computes the union of two rectangles.
Declaration
void GA_unionRectCoord(
int left1,
int top1,
int right1,
int bottom1,
int left2,
int top2,
int right2,
int bottom2,
GA_rect *d)
Prototype In
snap/graphics.h
Parameters
left1 |
Left coordinate of first rectangle to compute union of |
top1 |
Top coordinate of first rectangle to compute union of |
right1 |
Right coordinate of first rectangle to compute union of |
bottom1 |
Bottom coordinate of first rectangle to compute union of |
left2 |
Left coordinate of second rectangle to compute union of |
top2 |
Top coordinate of second rectangle to compute union of |
right2 |
Right coordinate of second rectangle to compute union of |
bottom2 |
Bottom coordinate of second rectangle to compute union of |
d |
Place to store resulting union rectangle |
Description
This function computes the union of two rectangles, and stores the result in a third rectangle.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com