====== CenterRectCelOverIPoint ====== Centers a cel over a point. ==== Synopsis ==== ''%%void CenterRectCelOverIPoint (CCB *cel, IPoint *point)%%'' ==== Description ==== Centers a single cel over a specified point. The ccb_XPos and ccb_YPos fields are modified in the CCB; 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. ==== Arguments ==== * **cel** Pointer to a cel to be centered. * **point** Pointer to an IPoint over which the cel is to be centered. ==== Implementation ==== Library call implemented in lib3do.lib. ==== Associated Files ==== lib3do.lib, celutils.h ==== See Also ==== [[:documentation:development:opera:pf25:ppgfldr:smmfldr:ldofldr:01ldo029#xref16009|''%%CenterRectCelOverFPoint%%'']], [[:documentation:development:opera:pf25:ppgfldr:smmfldr:ldofldr:01ldo020#xref42484|CenterRectAACelOverIPoint]], [[:documentation:development:opera:pf25:ppgfldr:smmfldr:ldofldr:01ldo028#xref31246|CenterRectCelListOverIPoint]]