UnionRect
To calculate the smallest rectangle that encloses two rectangles, use theUnionRectprocedure.
PROCEDURE UnionRect (src1,src2:æRect; VAR dstRect: Rect);
src1- The first of two rectangles to enclose.
src2- The second of two rectangles to enclose.
dstRect- The rectangle that encloses them.
DESCRIPTION
TheUnionRectprocedure returns in thedstRectparameter the smallest rectangle that encloses both of the rectangles you specify in thesrc1andsrc2parameters. One of the source rectangles may also be the destination.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help