Wiki Page Content

Revision 7 as of 2010-01-17 22:41:17

Clear message

DRAFT

SDL_RenderDrawRects

Use this function to draw some number of rectangles in the current rendering target with the drawing color.

Syntax

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

Function Parameters

*(typo in header \param rects, rect in syntax)*

rects

a pointer to an array of destination rectangles

count

the number of rectangles

Return Value

Returns 0 on success or -1 if there is no rendering context current; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryVideo

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