summaryrefslogtreecommitdiff
path: root/doc/api.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api.texi')
-rw-r--r--doc/api.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api.texi b/doc/api.texi
index 5be763c..6e9e945 100644
--- a/doc/api.texi
+++ b/doc/api.texi
@@ -1056,6 +1056,11 @@ Display @var{renderer}.
Copy @var{texture} to the rendering target of @var{renderer}.
@end deffn
+@deffn {Procedure} render-draw-line renderer x1 y1 x2 y2
+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} surface->texture renderer surface
Convert @var{surface} to a texture suitable for @var{renderer}.
@end deffn