| Home
| Previous
| Next
| Up

MGL_unionRectCoord

Computes the union of two rectangles.

Declaration

void MGLAPI MGL_unionRectCoord(
int left1,
int top1,
int right1,
int bottom1,
int left2,
int top2,
int right2,
int bottom2,
rect_t *d)

Prototype In

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

MGL_sectRect

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