Wiki Page Content

Differences between revisions 5 and 6
Revision 5 as of 2010-01-10 19:04:00
Size: 1155
Editor: SheenaSmith
Comment: added DRAFT to top for removal after page is edited
Revision 6 as of 2010-01-17 21:42:10
Size: 1187
Editor: SheenaSmith
Comment: update function names
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
= SDL_RenderRects = = SDL_RenderDrawRects =
Line 12: Line 12:
int SDL_RenderRects(const SDL_Rect** rect,
                    int count)
int SDL_RenderDrawRects(const SDL_Rect** rect,
                        int count)
Line 35: Line 35:
 .[[SDL_RenderLine]]???
 .[[SDL_RenderLines]]???
 .[[SDL_RenderPoint]]???
 .[[SDL_RenderPoints]]???
 .[[SDL_RenderRect]]???
 .[[SDL_RenderDrawLine]]???
 .[[SDL_RenderDrawLines]]???
 .[[SDL_RenderDrawPoint]]???
 .[[SDL_RenderDrawPoints]]???
 .[[SDL_RenderDrawRect]]???

DRAFT

SDL_RenderDrawRects

Use this function to fill 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