IPointIsInSRect

Determines whether a point is within a rectangle.

Synopsis

Boolean IPointIsInSRect (IPoint *point, SRect *rect)

Description

Determines whether a point is within a rectangle. Points on the edge are considered within the rectangle.

Arguments

point
Pointer to an IPoint.
rect
Pointer to an SRect.

Return Value

TRUE if the point is in the rectangle, FALSE if it is not.

Implementation

Library call implemented in lib3do.lib.

Associated Files

lib3do.lib, celutils.h

See Also

IPointIsInCRect