Thomas Friedel
|
3a51ce9843
|
more clipping fixes
|
2018-04-30 11:25:25 +02:00 |
|
Thomas Friedel
|
e75355ac37
|
implemented globalAlpha
|
2018-04-09 17:39:26 +02:00 |
|
Thomas Friedel
|
3fcf95cc86
|
fixed cache bug
|
2018-04-05 20:13:17 +02:00 |
|
Thomas Friedel
|
1699257f6d
|
removed the name parameter from LoadImage as well; fixed a bug if the image finalizer is called after explicitly deleting
|
2018-04-05 18:54:14 +02:00 |
|
Thomas Friedel
|
df650c6113
|
deduplicated some code
|
2018-03-27 16:03:02 +02:00 |
|
Thomas Friedel
|
37767fa86f
|
more documentation; renamed W/H to Width/Height on Image type
|
2018-03-27 15:57:01 +02:00 |
|
Thomas Friedel
|
dfba64a1fd
|
fixed some bugs from the float32->float64 conversion
|
2018-03-21 15:51:07 +01:00 |
|
Thomas Friedel
|
26d11865b5
|
switched from float32 to float64 for better compatibility with the default go math package; moved vector and matrix code into package
|
2018-03-21 12:45:32 +01:00 |
|
Thomas Friedel
|
da6538b1e3
|
shaders are now in their own file; text fill now uses font rendering more directly and supports fill styles
|
2018-02-26 15:40:48 +01:00 |
|
Thomas Friedel
|
5175b1ba73
|
images and fonts can now be optionally named for later access; DrawImage and SetFont can now accept file names directly and will cache using the path
|
2018-02-15 10:12:32 +01:00 |
|
Thomas Friedel
|
2de2dd26a4
|
moved the canvas to gl coordinate transformation to the shaders; fixed some bugs along the way
|
2018-02-08 11:53:32 +01:00 |
|
Thomas Friedel
|
d3dc4cc3b7
|
added a way to delete images; images are now also deleted automatically in the finalizer
|
2018-02-07 11:27:46 +01:00 |
|
Thomas Friedel
|
0bd060ae1b
|
path points are now transformed by the transformation matrix as they are added
|
2018-02-05 19:53:10 +01:00 |
|
Thomas Friedel
|
395ef95009
|
added transformations, translate, scale, rotate
|
2018-01-29 16:04:56 +01:00 |
|
Thomas Friedel
|
0715639ad2
|
rearranged things a bit
|
2018-01-25 15:50:05 +01:00 |
|
Thomas Friedel
|
85667e8f57
|
added support for loading fonts and rendering text (highly unoptimized so far)
|
2018-01-25 15:08:03 +01:00 |
|
Thomas Friedel
|
6c0234959e
|
added support for loading and drawing images
|
2018-01-25 12:08:39 +01:00 |
|