summaryrefslogtreecommitdiff
path: root/doc/api.texi
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2019-01-08 21:19:52 -0500
committerDavid Thompson <dthompson2@worcester.edu>2019-01-08 21:29:48 -0500
commit5ef8b648869d109ea840d20d5d59df1455687d49 (patch)
tree20cbb18d0a516ff1f069df662650caf45f8e163d /doc/api.texi
parentc519f8238fc05bb4e0b12bf4650264fec36d7050 (diff)
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.
Diffstat (limited to 'doc/api.texi')
-rw-r--r--doc/api.texi7
1 files changed, 7 insertions, 0 deletions
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