void CenterRectCelInCRect(CCB *cel, CRect *rect)
The ccb_XPos and ccb_YPos fields are modified. Other CCB fields are not modified. The centering is based on the cel's projected size, not its source data size. If the cel is projected to a non-rectangular shape, the result is invalid.
CenterRectCelInSRect
, CenterRectAACelInCRect, CenterRectCelListInCRect