Maps a list of cels to a CRect.
void MapCelListToCRect (CCB *list, CRect *rect)
This function maps a list of cels to the specified rectangle. It is much faster than a standard MapCel()
call because it only has to calculate a simple rectangular projection. It performs a MapCelToCRect()
on the first cel in the list. It then adjusts the X/Y coordinates of the rest of the cels in the list such that all the cels maintain the same relative X/Y relationships to each other. It also copies the size and perspective fields from the first cel into all the rest of the cels in the list. The net effect is that the list of cels moves and scales as if it were a single unit.
Library call implemented in lib3do.lib.
lib3do.lib, celutils.h
MapAACelToCRect
, MapCelToCRect