summaryrefslogtreecommitdiff
path: root/sdl2/render.scm
Commit message (Collapse)AuthorAgeFilesLines
* render: Add SDL_RenderCopyEx binding.Pierre-Antoine Rouby2019-05-211-9/+17
| | | | | | | | * 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.
* Add binding for SDL_SetRenderDrawColor.Eero Leno2018-08-211-0/+5
| | | | | * sdl2/bindings.scm (sdl-set-render-draw-color): New procedure. * sdl2/render.scm (set-render-draw-color): New procedure.
* render: Fix broken render-copy procedure.David Thompson2017-11-101-7/+7
| | | | | * sdl2/render.scm (render-copy): Make srcrect and dstrect optional and do not use nil? to check them.
* render: Add srcrect and dstrect arguments to render-copy.Jona2017-06-061-4/+7
| | | | | * sdl2/bindings.scm (sdl-rect): New variable. * sdl2/render.scm (render-copy): Add srcrect and dstrect arguments.
* Remove "sdl-" prefix from symbols in window module.David Thompson2015-12-141-1/+1
|
* Add renderer bindings.David Thompson2015-12-131-0/+133
* sdl2/bindings.scm (SDL_RENDERER_SOFTWARE, SDL_RENDERER_ACCELERATED, SDL_RENDERER_PRESENTVSYNC, SDL_RENDERER_TARGETTEXTURE): New variables. (sdl-create-renderer, sdl-destroy-renderer, sdl-render-clear, sdl-render-present, sdl-render-copy, sdl-create-texture-from-surface): New procedures. * sdl2/render.scm: New file. * Makefile.am (SOURCES): Add it.