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