GA_ptInRect
Returns true if supplied point is within the definition of a rectangle, otherwise false.
Declaration
ibool GA_ptInRect(
int x,
int y,
GA_rect r)
Prototype In
snap/graphics.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.
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com