From 5ef8b648869d109ea840d20d5d59df1455687d49 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 8 Jan 2019 21:19:52 -0500 Subject: surface: Add SDL_BlitScaled binding. * sdl2/bindings.scm (sdl-blit-scaled): New procedure. * sdl2/surface.scm (blit-scaled): New procedure. * doc/api.texi (Surfaces): Document it. --- doc/api.texi | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc') diff --git a/doc/api.texi b/doc/api.texi index f09cdfd..7e47fd7 100644 --- a/doc/api.texi +++ b/doc/api.texi @@ -994,6 +994,13 @@ Blit the rectangle @var{src-rect} from the surface @var{src} to @var{dst-rect} of the surface @var{dst}. @end deffn +@deffn {Procedure} blit-scaled @var{src} @var{src-rect} @var{dst} @var{dst-rect} +Blit the rectangle @var{src-rect} from the surface @var{src} to +@var{dst-rect} of the surface @var{dst}, scaling the source to fit the +destination. +@end deffn + + @node Rendering @section Rendering -- cgit v1.2.3