# MapAACelToSRect

Maps an anti-aliased cel to an SRect.

### Synopsis

`void MapAACelToSRect (CCB *aacel, SRect *rect)`

### Description

Maps an anti-aliased cel to the specified rectangle.

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.

### Arguments

aacel
  Pointer to the cel to be mapped.

rect
  Pointer to the SRect to which the cel is to be mapped.

### Implementation

Library call implemented in lib3do.lib.

### Associated Files

lib3do.lib, celutils.h

### See Also

`MapAACelToCRect`, MapCelListToSRect, MapCelToSRect