https://github.com/haskell-game/sdl2-gfx
Haskell bindings to SDL2_gfx.
https://github.com/haskell-game/sdl2-gfx
hackage haskell haskell-bindings sdl2 sdl2-gfx
Last synced: about 1 month ago
JSON representation
Haskell bindings to SDL2_gfx.
- Host: GitHub
- URL: https://github.com/haskell-game/sdl2-gfx
- Owner: haskell-game
- License: mit
- Created: 2015-04-15T15:16:54.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-03-05T17:21:30.000Z (about 2 years ago)
- Last Synced: 2024-03-27T03:53:35.332Z (almost 2 years ago)
- Topics: hackage, haskell, haskell-bindings, sdl2, sdl2-gfx
- Language: Haskell
- Homepage:
- Size: 61.5 KB
- Stars: 10
- Watchers: 4
- Forks: 7
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sdl2-gfx
[](https://hackage.haskell.org/package/sdl2-gfx)
[](https://travis-ci.org/sbidin/sdl2-gfx)
#### Haskell bindings to SDL2_gfx
Both the raw and the higher level bindings should allow you to use any aspect
of the original SDL2_gfx library. Please report an issue if you encounter a bug
or feel that something is missing.
##### Install
```bash
cabal install sdl2-gfx
```
##### Documentation
For documentation, [visit Hackage](https://hackage.haskell.org/package/sdl2-gfx).
The
[original SDL2_gfx documentation](http://www.ferzkopp.net/Software/SDL2_gfx/Docs/html/index.html)
can also help, as the bindings are close to a direct mapping.
##### Example
A small example executable is included with the library. It uses many parts of
the library to draw a chaotic jumbled mess on your screen. You can find it in
the `example` directory.
```bash
cd sdl2-gfx
cabal run
```