Returns true if point resides inside a rectangle.
Defined in SDL_rect.h
SDL_FORCE_INLINE SDL_bool SDL_PointInRect(const SDL_Point *p, const SDL_Rect *r);| const SDL_Point * | p | the point to test. |
| const SDL_Rect * | r | the rectangle to test. |
(SDL_bool) Returns SDL_TRUE if p is contained by r, SDL_FALSE otherwise.