Idris FFI binding for html5 canvas 2d api
- HTMLCanvasElement
- CanvasRenderingContext2D
- CanvasGradient
- CanvasPattern
- ImageBitmap
- ImageData
- TextMetrics
- some other dependent interfaces
See: https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API
This library is not enough to develop a complete production. It lacks many Web APIs whiches Canvas API depends on. You can add more bindings as you need.