Site Tools


documentation:development:opera:pf25:ppgfldr:smmfldr:ldofldr:01ldo123

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

documentation/development/opera/pf25/ppgfldr/smmfldr/ldofldr/01ldo123.txt · Last modified: 2022/10/10 16:53 by 127.0.0.1