MapAACelToIPoint

Sets an anti-aliased cel's location to a point.

Synopsis

void MapAACelToIPoint(CCB *aacel, IPoint *newPosition)

Description

Sets an anti-aliased cel's location to the given coordinates. Stores the coordinates into both the data and alpha-channel CCBs. Also works correctly if aacel points to a single standalone cel. Only the ccb_XPos and ccb_YPos values in the CCB are modified; other CCB fields are not touched.

Arguments

aacel
Pointer to the cel to be mapped.
newPosition
Pointer to the FPoint to which the cel is to be mapped.

Implementation

Library call implemented in lib3do.lib.

Associated Files

lib3do.lib, celutils.h

See Also

MapAACelToFPoint, MapCelToIPoint, MapCelListToIPoint