7 Commits

Author SHA1 Message Date
Gordon Williams
0dfc922100 Just use ints when passing coordinates around. Using short just added about 1k of extra code! 2019-10-23 16:24:39 +01:00
Gordon Williams
ad1fb3ea59 Allow drawImage to render images rotated and scaled 2019-10-02 11:32:42 +01:00
fanoush
c0c1b20541 fix lcdGetPixel_SDL reading wrong pixels
Multiply by width was missing in GetPixel, now using same code as in SetPixel.
Current bug causes Graphics.scroll(x, y) to produce very strange patterns, after fix it works as expected.
2019-06-25 14:18:41 +02:00
Gordon Williams
1aee068bb6 Converted parse errors to throw exceptions 2014-06-20 10:27:08 +01:00
Gordon Williams
e88141c76d Callback graphics now works even without a fillRect implementation (fix #295) 2014-04-07 13:11:34 +01:00
Gordon Williams
23a8889f9b improve SDL performance by only flipping when idle 2014-03-19 10:12:16 +00:00
Gordon Williams
f3d6e0bc83 First commit 2013-09-26 14:39:04 +01:00