|
Size: 1050
Comment: update function names
|
Size: 1008
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.
Contents
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
