OffsetCelListByIDelta

Moves a list of cels.

Synopsis

void OffsetCelListByIDelta(CCB *list, IPoint *deltaXY, Boolean copyPerspective)

Description

Adjusts the location of all the cels in a list by adding the delta values to the X/Y coordinates in cels' CCBs.

This function can optionally propagate the size and perspective values already present in the first cel to the rest of the cels in the list. This is useful if you are manipulating size and perspective values manually. If you want to just copy the size and perspective values from the first cel to the rest of the cels without changing the cel positions, use a NULL deltaXY pointer and TRUE for copyPerspective.

Arguments

list
Pointer to the list of cels to be moved.
deltaXY
Pointer to an IPoint containing the movement delta values.
copyPerspective
TRUE to copy the size and perspective fields from the first cel to the rest of the list. FALSE to leave all size and perspective fields as is.

Implementation

Library call implemented in lib3do.lib.

Associated Files

lib3do.lib, celutils.h

See Also

OffsetCelListByFDelta, OffsetAACelByIDelta, OffsetCelByIDelta