|
Size: 1512
Comment: Fixed typo.
|
← Revision 3 as of 2016-07-15 20:54:04 ⇥
Size: 1271
Comment: Added remark.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 40: | Line 40: |
| ''You can add useful comments here'' ##Leave this section as-is unless you have a remark to put in. In that case, replace ''You can add useful comments here'' with your remark(s) following the Style Guide instructions. Leave the rest of the markup alone and delete this comment. |
Both '''p''' and '''r''' must not be NULL. |
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.
