MapAACelToCRect

Maps an anti-aliased cel to a CRect.

Synopsis

void MapAACelToCRect (CCB *aacel, CRect *rect)

Description

Maps an anti-aliased cel to the specified rectangle. This is much faster than a standard MapCel() call because the function only has to calculate a simple rectangular projection. It stores its results into both the data and alpha-channel CCBs. It also works correctly if aacel points to a single standalone cel.

Arguments

aacel
Pointer to the cel to be mapped.
rect
Pointer to the CRect to which the cel is to be mapped.

Implementation

Library call implemented in lib3do.lib.

Associated Files

lib3do.lib, celutils.h

See Also

MapAACelToSRect, MapCelToCRect, MapCelListToCRect