CenterIPointInCRect

Calculates the center point of a CRect.

Synopsis

IPoint* CenterIPointInCRect (IPoint *dst, CRect *rect)

Description

Calculates the center point of the specified rectangle and stores the result at *dst.

Arguments

dst
Pointer to an IPoint where the results are to be stored.
rect
Pointer to the CRect for which the center point is to be calculated.

Return Value

Returns dst.

Implementation

Library call implemented in lib3do.lib.

Associated Files

lib3do.lib, celutils.h

See Also

CenterIPointInSRect