Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2010-01-17 21:57:03
Size: 926
Editor: SheenaSmith
Comment: create page, add content
Revision 2 as of 2010-08-30 05:36:01
Size: 929
Editor: SheenaSmith
Comment: update content (w/ Sam); remove 'draft' note
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<tablewidth="100%" style="color: #FF0000;" :> DRAFT||
Line 6: Line 5:
Use this function to fill some number of rectangles in the current rendering target with the drawing color. Use this function to fill some number of rectangles on the current rendering target with the drawing color.
Line 17: Line 16:
||'''rect'''||a pointer to an array of destination rectangles|| ||'''rect'''||a pointer to an array of destination rectangles of type [[SDL_Rect]]||
Line 21: Line 20:
Returns 0 on success or -1 if there is no rendering context current; call [[SDL_GetError]]() for more information. Returns 0 on success or a negative error code on failure; call [[SDL_GetError]]() for more information.
Line 32: Line 31:
 .[[SDL_RenderFillRect]]???  .[[SDL_RenderDrawRect]]
 .[[SDL_RenderDrawRects]]
 .[[SDL_RenderFillRect]]

SDL_RenderFillRects

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

Syntax

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

Function Parameters

rect

a pointer to an array of destination rectangles of type SDL_Rect

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

None: SDL_RenderFillRects (last edited 2011-03-14 17:58:51 by SheenaSmith)

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