| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-render-draw-line): New procedure.
* sdl2/render.scm (render-draw-line): New procedure.
* doc/api.texi: Document it.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-set-render-draw-color): New procedure.
* sdl2/render.scm (set-render-draw-color): New procedure.
|
|
|
|
|
| |
* sdl2/render.scm (render-copy): Make srcrect and dstrect optional and
do not use nil? to check them.
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-rect): New variable.
* sdl2/render.scm (render-copy): Add srcrect and dstrect arguments.
|
| |
|
|
* 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.
|