From 4b2c190732b9022e7546c5d2724a82905b6555ee Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 8 Jan 2019 21:29:58 -0500 Subject: 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. --- doc/api.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3