diff options
author | Pierre-Antoine Rouby <contact@parouby.fr> | 2019-05-20 18:03:18 +0200 |
---|---|---|
committer | David Thompson <dthompson@vistahigherlearning.com> | 2019-05-21 08:05:35 -0400 |
commit | 13ed39d65ed2637973c64303e8b90c3eac1b550e (patch) | |
tree | 8016c92c9d95402358a5bdd4558b3e432ca76257 /doc | |
parent | 4b2c190732b9022e7546c5d2724a82905b6555ee (diff) |
render: Add SDL_RenderCopyEx binding.
* sdl2/bindings.scm (sdl-point): New variable.
(sdl-render-copy-ex): New procedure.
* sdl2/render.scm (render-copy): Add optional arguments, angle and
center.
* doc/api.texi (Rendering): Document it.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api.texi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/api.texi b/doc/api.texi index 57e92d3..5be763c 100644 --- a/doc/api.texi +++ b/doc/api.texi @@ -1049,8 +1049,10 @@ Display @var{renderer}. @deffn {Procedure} render-copy renderer @ texture @ - [#:srcrect] - [#:dstrect] + [#:angle 0] @ + [#:srcrect] @ + [#:dstrect] @ + [#:center] Copy @var{texture} to the rendering target of @var{renderer}. @end deffn |