38 Commits

Author SHA1 Message Date
Gordon Williams
041827718b Allow drawString with a filled background, which allows flickerless writing on non-double-buffered screens
fillRect now takes a color
2019-10-23 17:02:29 +01:00
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
c9168d8d24 Add menu,tweaks, fix GPS sign, pad bootloader down for watch 2019-10-03 09:41:18 +01:00
Gordon Williams
d334d0a92a Reliable LCD on F18 2019-10-01 10:29:45 +01:00
Gordon Williams
07d9e4668c Pulled SPI LCD code out of hackstrap.c 2019-09-24 10:44:38 +01:00
Gordon Williams
2eb813d61a Graphics.setFont("4x6",2) will now double the size of a bitmap font 2019-09-23 17:33:00 +01:00
Gordon Williams
bcab8a2089 Added Graphics.getFont/setFont/getFonts
Added Graphics.getFontHeight
            Added option to compile in 6x8 fixed-width fonts
2019-08-29 12:46:22 +01:00
Gordon Williams
0476b9ef61 add NO_VECTOR_FONT to allow builds without vector font in them 2019-05-01 09:47:14 +01:00
Gordon Williams
d0fa7167bf Allow Graphics.clear(true) to reset state (font, color, etc) to default as well as clearing the screen (fix #1615) 2019-02-20 11:21:26 +00:00
Gordon Williams
0dc0390e42 Add Graphics.fill/drawEllipse and move fill/drawCircle to use the same code 2018-12-20 18:00:01 +00:00
Gordon Williams
04eafbfedd Add Graphics.createArrayBuffer(... {interleavex:true}) to allow faster support for P3 LED panels 2018-12-20 17:03:59 +00:00
Gordon Williams
fb8c1d8777 squash warning 2018-05-24 14:00:59 +01:00
Gordon Williams
a457bd0c4a Fix font rendering issue caused by signed bit field handling by GCC on non-x86 platforms (fix #1436) 2018-05-22 08:29:17 +01:00
Gordon Williams
0767d398ff Remove Graphics.setFontAlign and Graphics.getModified on devices with low flash memory 2018-05-18 14:12:09 +01:00
Gordon Williams
972584be95 Added Graphics.setFontAlign for font alignment and rotation 2018-05-16 12:38:42 +01: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
Owen McAteer
cfa49a4dc7 Fixed comflicts with master. 2016-09-12 16:08:40 +02:00
Owen McAteer
adfc0baa3a Added Graphics.fillCircle(x, y, rad) 2016-09-12 15:46:43 +02:00
Owen McAteer
2b32c2312b Renamed param radX => rad 2016-07-29 09:44:51 +02:00
Owen McAteer
02d0466496 espruino/Espruino#887 - Added drawCircle function to graphics library 2016-07-28 09:47:32 +02: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
432543bcbf Shorten some internal property names (faster/less mem is 4 chars or under)
Change 'internal property' prefix from '>' (fix #540)
2015-06-03 10:04:49 +01:00
Gordon Williams
1181f166a5 improve implementation and actually add docs for colour re-order. Fix #217 2015-04-14 17:01:46 +01:00
Gordon Williams (u36)
072c508ec6 Allowed ArrayBuffer Graphics to store pixels MSB-first 2015-04-13 09:24:55 +01:00
Daniel O'Connor
a7b3a867c9 Allow the user to specify the color order. 2014-08-24 15:45:42 +09:30
Gordon Williams
33f430928b remove vector font on devices that are short of flash 2014-06-24 15:30:02 +01:00
Gordon Williams
b88315881d Initialise Graphics flags Graphics.createCallback - could have caused all kinds of issues 2014-04-23 12:41:07 +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
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
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
7972026cb8 Fix graphics compile warnings and add stringWidth 2013-12-09 10:39:15 +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