diff options
author | Pierre-Antoine Rouby <contact@parouby.fr> | 2019-05-29 22:53:44 +0200 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2019-05-31 09:51:18 -0400 |
commit | faba3b60ca4d4e9d4545cb5d8511db02a332855f (patch) | |
tree | 335afa738e2cb9fa2a198b1575470f80fc2431fa /doc | |
parent | e455ed5e2d41cb5f8c0f4d536f650a40a9cdc534 (diff) |
render: Add SDL_RenderDrawLines binding.
* sdl2/bindings.scm (sdl-render-draw-lines): New procedure.
* sdl2/render.scm (render-draw-lines): New procedure.
* doc/api.texi: Document it.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api.texi b/doc/api.texi index b692725..85d03b3 100644 --- a/doc/api.texi +++ b/doc/api.texi @@ -1061,6 +1061,11 @@ Draw a line from (@var{x1}, @var{y1}) to (@var{x2}, @var{y2}) on the current rendering target of @var{renderer}. @end deffn +@deffn {Procedure} render-draw-lines renderer point +Draw a series of connected lines from @var{points} on the current +rendering target of @var{renderer}. +@end deffn + @deffn {Procedure} render-draw-point renderer x y Draw a point at (@var{x}, @var{y}) on the current rendering target of @var{renderer}. |