|
Size: 929
Comment: update content (w/ Sam); remove 'draft' note
|
Size: 1062
Comment: add RF
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 31: | Line 31: |
| .[[SDL_RenderDrawLine]] .[[SDL_RenderDrawLines]] .[[SDL_RenderDrawPoint]] .[[SDL_RenderDrawPoints]] |
|
| Line 34: | Line 38: |
| .[[SDL_RenderPresent]] |
SDL_RenderFillRects
Use this function to fill some number of rectangles on the current rendering target with the drawing color.
Contents
Syntax
int SDL_RenderFillRects(const SDL_Rect** rect,
int count)
Function Parameters
rect |
a pointer to an array of destination rectangles of type SDL_Rect |
count |
the number of rectangles |
Return Value
Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
