MGL_ptInRectCoord
Returns true if supplied point is within the definition of a rectangle, otherwise false.
Declaration
ibool MGL_ptInRectCoord(
int x,
int y,
rect_t r)
Prototype In
mgraph.h
Parameters
x |
X coordinate of rectangle to test |
y |
Y coordinate of rectangle 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.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com