36 Commits

Author SHA1 Message Date
Gordon Williams
12b83df7ff fix esp32 and linux build errors 2018-02-10 08:57:24 +00:00
Gordon Williams
dbe0d63ac6 Speed improvements for ArrayBuffer Graphics 2018-02-06 15:16:45 +00:00
Gordon Williams
2e0a7de035 Added 'Terminal' class with built-in VT100 terminal 2018-02-06 11:01:28 +00:00
Gordon Williams
211eb99d01 Added Graphics.scroll command to scroll graphics contents 2018-02-06 09:32:58 +00:00
Gordon Williams
f6a52724b2 logo 2018-02-05 17:01:08 +00:00
Gordon Williams
f6f65e9ed5 more warning squishing 2018-01-16 15:45:31 +00:00
Gordon Williams
735c014659 Internal: Added initialiser argument to jsvNewStringOfLength
Internal: Added jsvObjectSetChildVar/jsvObjectSetChildVar/jsvObjectSetChildVar
            Internal: Fix jsvCopy if given a NAME_INT/etc
            Added ES6's Object.assign
2017-08-31 16:42:31 +01:00
Gordon Williams
8a230ad5bb Disable Graphics.createCallback on devices with small amounts of flash memory - rarely used on those devices and fixes HYSTM32_28 build 2017-08-29 12:55:23 +01:00
Gordon Williams
4505eed87e fix compile errors 2016-09-12 15:45:38 +01:00
Owen McAteer
cfa49a4dc7 Fixed comflicts with master. 2016-09-12 16:08:40 +02:00
Owen McAteer
65ae9ffb35 Use faster fillRech function. 2016-09-12 16:00:38 +02:00
Owen McAteer
72e3322e89 Corrected wrong function name. 2016-09-12 15:57:15 +02:00
Owen McAteer
adfc0baa3a Added Graphics.fillCircle(x, y, rad) 2016-09-12 15:46:43 +02:00
Owen McAteer
02d0466496 espruino/Espruino#887 - Added drawCircle function to graphics library 2016-07-28 09:47:32 +02:00
Gordon Williams
c7dd07e780 Fix ESP8266 build (fix #826) and move vectorFonts array out of RAM too 2016-03-30 16:37:32 +01:00
Gordon Williams
5827759200 finish merging MaBecker's changes without usign ESP8266 defines 2016-03-29 09:43:56 +01:00
MaBecker
69b3ce6038 if ESP8266 read vectorFontPolys[] from flash 2016-03-20 06:07:06 +01:00
Jean-Claude Wippler
b0cb9b7465 clear graphics screen on startup
The HY-STM32-3.2" was starting up with garbage on-screen. There may be
a better way to clear it (I think it's a ILI9331, but I don't know
anything about the init sequence).
2015-11-19 23:47:20 +01:00
Gordon Williams
a9d10b0d88 Keep track of modified area in Graphics (so modules with can be speeded up 2015-08-27 11:10:42 +01:00
Gordon Williams
7c4b317dea Fix filled column when fillpoly is off the end of the screen 2014-11-14 14:51:11 +00:00
Gordon Williams
33f430928b remove vector font on devices that are short of flash 2014-06-24 15:30:02 +01:00
Gordon Williams
1aee068bb6 Converted parse errors to throw exceptions 2014-06-20 10:27:08 +01:00
Gordon Williams
7731c57665 Added Graphics.setRotation (fix #321)
Added Graphics.drawImage (fix #198)
2014-04-11 13:05:14 +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
7f28e328a4 Try and enlarge fillRects caused by polygons 2014-03-19 10:09:43 +00:00
Gordon Williams
e583a52e5c reduce vector font quality, and save a bunch of space on font offsets 2014-03-19 09:40:47 +00:00
Gordon Williams
a42f268d40 Used non-bold vector font, improve alignment, and make curves lower quality 2014-03-18 19:03:21 +00:00
Gordon Williams
b5182fc841 Added Graphics.setFontCustom for custom fonts 2014-03-18 16:32:26 +00:00
Gordon Williams
5cd7c9af7e Add 4x6 font (instead of 8x8) 2014-02-27 17:05:08 +00:00
Gordon Williams
da136da6f3 epic switch to unsigned string functions, and de-warningification 2014-02-14 15:56:34 +00:00
Gordon Williams
c04cfccc26 Make sure that interruptions are handled better while drawing to graphics
Make sure that stack overflow errors are handled more tidily (and increase limit for warning)
2014-02-13 11:45:14 +00:00
Gordon Williams
5ccaae8b37 Swapping to using printf-based error logging 2013-12-09 13:04:28 +00:00
Gordon Williams
7972026cb8 Fix graphics compile warnings and add stringWidth 2013-12-09 10:39:15 +00:00
Gordon Williams
66c62f7adf code tidy - now use single function 2013-12-02 13:37:28 +00:00
Gordon Williams (u36)
2af141092e Minor renaming 2013-11-19 10:23:31 +00:00
Gordon Williams
f3d6e0bc83 First commit 2013-09-26 14:39:04 +01:00