Wiki Page Content

Differences between revisions 11 and 12
Revision 11 as of 2010-10-02 00:15:12
Size: 1097
Editor: SheenaSmith
Comment: update content - pointers, structs
Revision 12 as of 2011-02-15 19:36:24
Size: 1098
Editor: SheenaSmith
Comment: update content - 2/14 changeset 5295 (as of 5145); moved to render.h
Deletions are marked like this. Additions are marked like this.
Line 43: Line 43:
[[CategoryAPI]], [[CategoryVideo]] [[CategoryAPI]], [[CategoryRender]]

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, CategoryRender

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