Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2009-12-20 00:26:08
Size: 958
Editor: SheenaSmith
Comment: added RFs
Revision 3 as of 2009-12-20 00:34:21
Size: 1009
Editor: SheenaSmith
Comment: added RFs
Deletions are marked like this. Additions are marked like this.
Line 33: Line 33:
 .[[SDL_RenderLine]]???
Line 34: Line 35:
 .[[SDL_RenderPoint]]???

SDL_RenderRects

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

Syntax

int SDL_RenderRects(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