void MapAACelToSRect (CCB *aacel, SRect *rect)
This function is much faster than a standard MapCel()
call because it 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.
MapAACelToCRect
, MapCelListToSRect, MapCelToSRect