|
|
|
|
MGL_ptInRect
Returns true if supplied point is within the definition of a rectangle, otherwise false.
Declaration
ibool MGL_ptInRect(
point_t p,
rect_t r)
Prototype In
mgraph.h
Parameters
p |
Point to test |
r |
Rectangle to test |
Return Value
True if supplied point is within the definition of the specified rectangle.
Description
This function tests whether a point is within the bounds of a rectangle or not. This version takes the coordinates of the rectangle as two points.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com