|
Size: 1155
Comment: added DRAFT to top for removal after page is edited
|
Size: 1187
Comment: update function names
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 5: | Line 5: |
| = SDL_RenderRects = | = SDL_RenderDrawRects = |
| Line 12: | Line 12: |
| int SDL_RenderRects(const SDL_Rect** rect, int count) |
int SDL_RenderDrawRects(const SDL_Rect** rect, int count) |
| Line 35: | Line 35: |
| .[[SDL_RenderLine]]??? .[[SDL_RenderLines]]??? .[[SDL_RenderPoint]]??? .[[SDL_RenderPoints]]??? .[[SDL_RenderRect]]??? |
.[[SDL_RenderDrawLine]]??? .[[SDL_RenderDrawLines]]??? .[[SDL_RenderDrawPoint]]??? .[[SDL_RenderDrawPoints]]??? .[[SDL_RenderDrawRect]]??? |
DRAFT |
SDL_RenderDrawRects
Use this function to fill some number of rectangles in the current rendering target with the drawing color.
Contents
Syntax
int SDL_RenderDrawRects(const SDL_Rect** rect,
int count)
Function Parameters
*(typo in header \param rects, rect in syntax)*
rects |
a pointer to an array of destination rectangles |
count |
the number of rectangles |
Return Value
Returns 0 on success or -1 if there is no rendering context current; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
