MGL_unionRect

Computes the union of two rectangles.

Declaration

void MGLAPI MGL_unionRect(
    rect_t r1,
    rect_t r2,
    rect_t *d)

Prototype In

mgraph.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

MGL_unionRectCoord, MGL_sectRect

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