CRectFromCel

Calculates CRect describing a cel.

Synopsis

CRect * CRectFromCel (CRect *dst, CCB *cel)

Description

Calculates a CRect that describes the cel's projection, and stores the results into *dst. If the cel is projected to a non-rectangular shape, the result is invalid.

Arguments

dst
Pointer to a CRect where the results are to be stored.
cel
Pointer to the cel.

Return Value

Returns dst.

Implementation

Library call implemented in lib3do.lib.

Associated Files

lib3do.lib, celutils.h

See Also

SRectFromCel()