Commit Graph

107 Commits

Author SHA1 Message Date
2fae8a5012 Native Go image is now loaded directly as Allegro bitmap.
- Previous implementation used a temporary file (PNG).
2018-02-10 09:12:42 +01:00
6dd358365e Added support for allegro_static flag (enables static linking of allegro). 2017-12-19 07:54:53 +01:00
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