|
⇤ ← Revision 1 as of 2010-01-17 21:57:03
Size: 926
Comment: create page, add content
|
Size: 929
Comment: update content (w/ Sam); remove 'draft' note
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 6: | Line 5: |
| Use this function to fill some number of rectangles in the current rendering target with the drawing color. | Use this function to fill some number of rectangles on the current rendering target with the drawing color. |
| Line 17: | Line 16: |
| ||'''rect'''||a pointer to an array of destination rectangles|| | ||'''rect'''||a pointer to an array of destination rectangles of type [[SDL_Rect]]|| |
| Line 21: | Line 20: |
| Returns 0 on success or -1 if there is no rendering context current; call [[SDL_GetError]]() for more information. | Returns 0 on success or a negative error code on failure; call [[SDL_GetError]]() for more information. |
| Line 32: | Line 31: |
| .[[SDL_RenderFillRect]]??? | .[[SDL_RenderDrawRect]] .[[SDL_RenderDrawRects]] .[[SDL_RenderFillRect]] |
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
