|
⇤ ← Revision 1 as of 2014-07-17 19:44:32
Size: 1511
Comment: Added page using content from header.
|
Size: 1512
Comment: Fixed typo.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 9: | Line 9: |
| Use this function to check if a point resides inside a rectangle | Use this function to check if a point resides inside a rectangle. |
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
You can add useful comments here
Version
This function is available since SDL 2.0.4.
