summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPierre-Antoine Rouby <contact@parouby.fr>2019-05-24 22:22:45 +0200
committerDavid Thompson <dthompson2@worcester.edu>2019-05-27 20:40:53 -0400
commit9ffb8b1f126dfbf3a7e4a2d68d2e77afeca26a83 (patch)
treeca28e69f0d4d75d81dd1d1474e14794a169dd09a /doc
parent7e65331c7a6a7a3c2e70b072241db5742c1cb27d (diff)
render: Add SDL_RenderDrawPoint binding.
* sdl2/bindings.scm (sdl-render-draw-line): New procedure. * sdl2/render.scm (render-draw-line): New procedure. * doc/api.texi (Rendering): Document it.
Diffstat (limited to 'doc')
-rw-r--r--doc/api.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api.texi b/doc/api.texi
index 6e9e945..00fe3a8 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-point renderer x y
+Draw a point at (@var{x}, @var{y}) 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