- render-draw-line! renderer x1 y1 x2 y2procedure
- render-draw-lines! renderer pointsprocedure
Draw a line segment or multiple line segments, using the renderer's current draw color and blend mode. See SDL_RenderDrawLine and SDL_RenderDrawLines.
- render-draw-line! draws a single line segment.
- render-draw-lines! draws multiple line segments (from point 0 to point 1, point 1 to point 2, etc.). points must be a list or vector of sdl2:point instances.
Requires sdl2 egg 0.2.0 or higher.