Wiki Page Content

Differences between revisions 6 and 7
Revision 6 as of 2010-01-17 21:42:10
Size: 1187
Editor: SheenaSmith
Comment: update function names
Revision 7 as of 2010-01-17 22:41:17
Size: 1187
Editor: SheenaSmith
Comment: content corrections
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
Use this function to fill some number of rectangles in the current rendering target with the drawing color. Use this function to draw some number of rectangles in the current rendering target with the drawing color.

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

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