Renderer.drawLine - multiple declarations
Function Renderer.drawLine
Wraps SDL_RenderDrawLine which draws a line between two points with the renderer's draw color
Parameters
| Name | Description |
|---|---|
| line | array of two dsdls indicating the line's start and end |
Throws
dsdl if line failed to draw
Function Renderer.drawLine
Wraps SDL_RenderDrawLineF (from SDL 2.0.10) which draws a line between two points with the renderer's draw
color
Parameters
| Name | Description |
|---|---|
| line | array of two dsdls indicating the line's start and end |
Throws
dsdl if line failed to draw