CenterIPointInSRect

Calculates the center point of an SRect.

Synopsis

IPoint* CenterIPointInSRect(IPoint *dst, SRect *rect)

Description

Calculates the center point of a 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 SRect 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

CenterIPointInCRect