Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2010-01-17 21:39:43
Size: 1050
Editor: SheenaSmith
Comment: update function names
Revision 4 as of 2010-08-30 05:09:12
Size: 1008
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: rgb(255, 0, 0); text-align: center;">DRAFT||
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_RenderDrawLine]]???
 .[[SDL_RenderDrawPoint]]???
 .[[SDL_RenderDrawPoints]]???
 .[[SDL_RenderDrawRect]]???
 .[[SDL_RenderDrawRects]]???
 .[[SDL_RenderDrawLine]]
 .[[SDL_RenderDrawPoint]]
 .[[SDL_RenderDrawPoints]]
 .[[SDL_RenderDrawRect]]
 .[[SDL_RenderDrawRects]]
 .[[SDL_SetRenderDrawBlendMode]]
 .[[SDL_SetRenderDrawColor]]

SDL_RenderDrawLines

Use this function to draw a series of connected lines on the current rendering target.

Syntax

int SDL_RenderDrawLines(const SDL_Point* points,
                        int              count)

Function Parameters

points

the points along the lines

count

the number of points, drawing count-1 lines

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_RenderDrawLines (last edited 2017-01-14 23:00:16 by PhilippWiesemann)

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