The max possible up-half of the circle
placed on the bottom of the bounding rectangle :) :
void GetCenterAndRadius(const CRect& cRect,
CPoint& cpCenter,
int& iRadius)
{
cRect.NormalizeRect();
iRadius = min(cRect.Width() / 2, cRect.Height());
cpCenter.y = cRect.bottom;
cpCenter.x = (cRect.right - cRect.left) / 2;
}