Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATRect::InRect
bool CATRect::InRect ( const CATPOINT point  )  const [inline]

InRect() returns true if the point is inside the rectangle, and false if it is outside.

A point is outside the rectangle if it is on the bottom right corner. e.g. (top,left) is inclusive, (bottom,right) is exclusive.

Definition at line 298 of file CATRect.h.

References CATPOINT::x, and CATPOINT::y.

Referenced by CATTab::HitTest(), and CATLayer::HitTest().


Generated on Mon Feb 11 04:10:51 2008 for Game Accessibility Suite by doxygen 1.5.4