Site Tools


documentation:development:opera:pf25:ppgfldr:smmfldr:ldofldr:01ldo047

CRectBounds

Calculates the bounding box of two CRects.

Synopsis

CRect * CRectBounds (CRect *dst, CRect *rect1, CRect *rect2)

Description

Calculates the bounding box of two rectangles, returning a rectangle that encompasses all the area described by the two source rectangles. The destination rectangle can be the same as either source rectangle.

Arguments

  • dst Pointer to a CRect where the results are to be stored.
  • rect1 Pointer to one of the source CRects.
  • rect2 Pointer to the other source CRect.

Return Value

Returns dst.

Implementation

Library call implemented in lib3do.lib.

Associated Files

lib3do.lib, celutils.h

See Also

CRectIntersection, SRectBounds

documentation/development/opera/pf25/ppgfldr/smmfldr/ldofldr/01ldo047.txt · Last modified: 2022/10/10 16:53 by 127.0.0.1