SRectFromCel

Returns SRect describing cel as currently projected.

Synopsis

SRect * SRectFromCel (SRect *dst, CCB *cel)

Description

Calculates the rectangle occupied by a cel as projected and stores the results into *dst. If the cel is projected to a non-rectangular shape the results will be invalid.

Arguments

dst
Pointer to an SRect where the results are to be stored.
cel
Pointer to the cel.

Return Value

The input parameter dst.

Implementation

Library call implemented in lib3do.lib.

Associated Files

lib3do.lib, celutils.h

See Also

CRectFromCel