Wiki Page Content

Differences between revisions 9 and 10
Revision 9 as of 2010-08-30 05:28:50
Size: 1080
Editor: SheenaSmith
Comment: update content (w/ Sam)
Revision 10 as of 2010-09-08 17:50:31
Size: 1105
Editor: SheenaSmith
Comment: add RF
Deletions are marked like this. Additions are marked like this.
Line 38: Line 38:
 .[[SDL_RenderPresent]]

SDL_RenderDrawRects

Use this function to draw some number of rectangles on the current rendering target.

Syntax

int SDL_RenderDrawRects(const SDL_Rect** rects,
                        int              count)

Function Parameters

rects

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_RenderDrawRects (last edited 2011-03-14 17:58:29 by SheenaSmith)

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