CenterCRectInDisplay

Centers a CRect within the display.

Synopsis

CRect * CenterCRectInDisplay (CRect *dst)

Description

Centers the destination rectangle (dst) over or within the display. The function assumes your display is 320 x 240.

Arguments

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

Return Value

Returns dst.

Implementation

Library call implemented in lib3do.lib.

Associated Files

lib3do.lib, celutils.h

See Also

CenterSRectInDisplay