Table of Contents

CenterRectAACelOverIPoint

Centers an anti-aliased cel over a point.

Synopsis

void CenterRectAACelOverIPoint (CCB *cel, IPoint *point)

Description

Centers an anti-aliased cel over the specified point.

The ccb_XPos and ccb_YPos fields in both the data and alpha- channel CCBs 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.

Arguments

Implementation

Library call implemented in lib3do.lib.

Associated Files

lib3do.lib, celutils.h

See Also

''%%CenterRectAACelOverFPoint%%'', CenterRectCelListOverIPoint, CenterRectCelOverIPoint