CenterCRectOverIPoint

Centers a CRect over a point.

Synopsis

CRect * CenterCRectOverIPoint(CRect *dst, IPoint *point)

Description

Centers the destination rectangle (dst) over the specified point.

Arguments

dst
Pointer to a CRect where the results are to be stored.
point
Pointer to an IPoint over which the dst is to be centered.

Return Value

Returns dst.

Implementation

Library call implemented in lib3do.lib.

Associated Files

lib3do.lib, celutils.h

See Also

CenterSRectOverIPoint