Wiki Page Content

Differences between revisions 10 and 11
Revision 10 as of 2010-09-08 17:50:31
Size: 1105
Editor: SheenaSmith
Comment: add RF
Revision 11 as of 2010-10-02 00:15:12
Size: 1097
Editor: SheenaSmith
Comment: update content - pointers, structs
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
||'''rects'''||a pointer to an array of destination rectangles of type [[SDL_Rect]]|| ||'''rects'''||a pointer to an array of destination [[SDL_Rect]] structures||

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 SDL_Rect structures

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