diff options
author | Pierre-Antoine Rouby <contact@parouby.fr> | 2019-05-29 22:43:27 +0200 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2019-05-31 09:51:18 -0400 |
commit | e455ed5e2d41cb5f8c0f4d536f650a40a9cdc534 (patch) | |
tree | 0a52bf81cefb6f423d9b85014e40f89722053b34 /doc | |
parent | 75e37396df6ceb6732c37800e098333dc90d2211 (diff) |
render: Add SDL_RenderDrawPoints binding.
* sdl2/bindings.scm (sdl-render-draw-points): New procedure.
* sdl2/render.scm (render-draw-points): New procedure.
* doc/api.texi (Rendering): 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 0a154ae..b692725 100644 --- a/doc/api.texi +++ b/doc/api.texi @@ -1066,6 +1066,11 @@ Draw a point at (@var{x}, @var{y}) on the current rendering target of @var{renderer}. @end deffn +@deffn {Procedure} render-draw-points renderer points +Draw a multiple points from @var{points} on the current rendering +target of @var{renderer}. +@end deffn + @deffn {Procedure} surface->texture renderer surface Convert @var{surface} to a texture suitable for @var{renderer}. @end deffn |