GA_unionRect

Computes the union of two rectangles.

Declaration

void GA_unionRect(
GA_rect r1,
GA_rect r2,
GA_rect *d)

Prototype In

snap/graphics.h

Parameters

r1 | First rectangle to compute union of
r2 | 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

GA_unionRectCoord, GA_sectRect

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com