summaryrefslogtreecommitdiff
path: root/doc/api.texi
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2019-01-08 21:29:58 -0500
committerDavid Thompson <dthompson2@worcester.edu>2019-01-08 21:29:58 -0500
commit4b2c190732b9022e7546c5d2724a82905b6555ee (patch)
tree822878ab93b2001dee580559003ca1766c250cc5 /doc/api.texi
parent5ef8b648869d109ea840d20d5d59df1455687d49 (diff)
surface: Add SDL_FillRect binding.
* sdl2/bindings.scm (sdl-fill-rect): New procedure. * sdl2/surface.scm (fill-rect): New procedure. * doc/api.texi (Surfaces): Document it.
Diffstat (limited to 'doc/api.texi')
-rw-r--r--doc/api.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/api.texi b/doc/api.texi
index 7e47fd7..57e92d3 100644
--- a/doc/api.texi
+++ b/doc/api.texi
@@ -1000,6 +1000,10 @@ Blit the rectangle @var{src-rect} from the surface @var{src} to
destination.
@end deffn
+@deffn {Procedure} fill-rect @var{dst} @var{rect} @var{color}
+Fill @var{rect} with @var{color}, a 32-bit color encoded as an integer
+value, in the surface @var{dst}.
+@end deffn
@node Rendering
@section Rendering