⇤ ← Revision 1 as of 2010-01-11 01:46:17
Size: 1103
Comment: create page, add content
|
Size: 1123
Comment: minor change
|
Deletions are marked like this. | Additions are marked like this. |
Line 25: | Line 25: |
Returns SDL_TRUE if any points were within the clipping rect. ^What does it do if there are no points within the clipping rect?^ | Returns SDL_TRUE if any points were within the clipping rect. <<Color2(green,What does it do if there are no points within the clipping rect?)>> |
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