BoundingRectFromPoints
1.0 2.0
Calculates a
rectangle that bounds a range of points.
void BoundingRectFromPoints( LPPOINT lppt,
UINT cPt, LPRECT lprect )
Parameters
lppt
Address of an
array of POINT
cPt
Number of POINT
structures in the array. This parameter can be 0.
lprect
Address of a RECT
Return Value
This function
does not return a value.
Comments
The bounding
rectangle is empty at [0,0] if there are no points. For a single point, the
rectangle is empty at that point.