SDL_EnclosePoints
Use this function to calculate a minimal rectangle enclosing a set of points.
Contents
Syntax
SDL_bool SDL_EnclosePoints(const SDL_Point* points,
int count,
const SDL_Rect* clip,
SDL_Rect* result)
Function Parameters
points |
a pointer to an array of SDL_Points to be enclosed |
count |
the number of points |
clip |
|
result |
a pointer to an SDL_Rect to be filled in |
Return Value
Returns SDL_TRUE if any points were within the clipping rect.
green
Code Examples
You can add your code example here
Remarks
You can add useful comments here
