Wiki Page Content

Differences between revisions 8 and 9
Revision 8 as of 2010-08-30 05:25:47
Size: 1027
Editor: SheenaSmith
Comment: update content (w/ Sam); remove 'draft' note
Revision 9 as of 2010-08-30 05:28:50
Size: 1080
Editor: SheenaSmith
Comment: update content (w/ Sam)
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
Use this function to draw some number of rectangles in the current rendering target. Use this function to draw some number of rectangles on the current rendering target.
Line 36: Line 36:
 .[[SDL_RenderFillRect]]
 .[[SDL_RenderFillRects]]

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