OffsetCelListByFDelta

Moves a list of cels.

Synopsis

void OffsetCelListByFDelta (CCB *list, FPoint *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 cel's 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, set deltaXY to NULL and copyPerspective to TRUE.

Arguments

list
Pointer to the list of cels to be moved.
deltaXY
Pointer to an FPoint 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

OffsetCelListByIDelta, OffsetAACelByFDelta, OffsetCelByFDelta