Commit Graph

55 Commits

Author SHA1 Message Date
67e2d4d788 Refactored bitmap API (partially)
- Made the scale option an interface (for easier use)
- Added rotation option
- Added utility function that converts Go bitmap to an Allegro bitmap (using a temporary file)
2017-10-23 11:21:02 +02:00
0aff140884 Added text width function for font 2017-10-23 11:18:48 +02:00
a24dc7ba30 Added rectangle primitives 2017-10-23 11:18:24 +02:00
27eae9dc8b Fixup
- bitmap.go format
- c.go cleanup
2017-10-03 20:41:45 +02:00
2924980035 Basic wrapper around allegro5 libraries
- Depends on optional allegro libraries font, image, primitives and ttf as well.
2017-10-03 20:38:09 +02:00