DRAFT |
SDL_PointInRect
Use this function to check if a point resides inside a rectangle.
Syntax
SDL_bool SDL_PointInRect(const SDL_Point* p,
const SDL_Rect* r)
Function Parameters
Return Value
Returns SDL_TRUE if point resides inside rectangle or SDL_FALSE if not.
Code Examples
You can add your code example here
Remarks
Both p and r must not be NULL.
Version
This function is available since SDL 2.0.4.