DRAFT |
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 |
the points to be enclosed |
count |
the number of points |
clip |
a pointer to the SDL_Rect to be enclosed |
result |
the SDL_Rect to be created |
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
