115f9877c1
Various additions:
...
- Added sub-bitmaps.
- Color implements color.Color interface.
- Added methods to retrieve font dimensions and its rendered text.
- Added DrawPolyline method.
2018-08-07 10:13:04 +02:00
499dff7a96
Added New{Memory,Video}Bitmap functions to create memory/video bitmap directly.
...
Added new bitmap flags to New{Memory,Bitmap,}Bitmap methods.
2018-02-26 19:46:53 +01:00
5f12bfe3ef
Exposed new bitmap flag manipulation.
2018-02-26 07:51:58 +01:00
7d7bc43a80
Added flag to NewBitmapFromImage.
...
Bitmap is now created as a memory bitmap and converted to a video bitmap if the user requested that explicitly.
2018-02-15 20:28:53 +01:00
0652c02caf
Lower case error strings.
...
Added Position and SetAsTarget method to Display.
Display resize is automatically acknowledged.
2018-02-15 20:28:51 +01:00
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
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
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