Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2010-08-30 05:36:01
Size: 929
Editor: SheenaSmith
Comment: update content (w/ Sam); remove 'draft' note
Revision 3 as of 2010-09-08 17:52:58
Size: 1062
Editor: SheenaSmith
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.

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


CategoryAPI, CategoryVideo

None: SDL_RenderFillRects (last edited 2011-03-14 17:58:51 by SheenaSmith)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit