Gordon Williams
2cdc519433
Don't draw font characters that are off the edge of the screen
2017-06-27 15:53:36 +01:00
Gordon Williams
45ad68433a
Increase max graphics size from 1023 to 32767
2017-03-27 12:52:36 +01:00
Gordon Williams
dfba5797ef
make all fonts match with IN_FLASH_MEMORY after them
2017-03-09 09:21:58 +00:00
Gordon Williams
aeebfb1409
Started using jsvObjectRemoveChild to remove some internal object properties that are undefined (frees some variables)
2016-11-07 17:07:47 +00: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
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
69a6c7fe36
improve graphics docs
2016-04-27 10:17:49 +01: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
Gordon Williams
386e3c3ba4
Merge branch 'patch-6' of https://github.com/MaBecker/Espruino into MaBecker-patch-3
2016-03-29 09:40:42 +01:00
Gordon Williams
6bc38deb13
tweaks
2016-03-29 09:39:40 +01:00
MaBecker
69b3ce6038
if ESP8266 read vectorFontPolys[] from flash
2016-03-20 06:07:06 +01:00
MaBecker
bf4e6c61f5
if ESP8266 move LCD_FONT_4X6[] to flash and read from flash
2016-03-20 05:56:26 +01:00
Gordon Williams
5dd5d901d1
replace NewWithFlags with jsvNewXXX - saves a few bytes by killing repetition
2016-03-04 12:54:18 +00:00
MaBecker
06720ea9b6
Update bitmap_font_3x5.c
2016-02-03 15:06:55 +01:00
Gordon Williams (u36)
eb62843686
Oops - thanks MaBecker. https://github.com/espruino/Espruino/issues/770#issuecomment-179204443
2016-02-03 13:16:26 +00:00
Gordon Williams (u36)
45741a0a45
squashing warnings
2016-02-03 12:27:51 +00: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
80ce11135a
I love Eclipse global regex replace :)
...
Use jsvUnLock2/etc to really drop memory usage
2015-09-18 12:25:07 +01:00
Gordon Williams
9a4bf15d84
doc tweak
2015-08-27 11:21:02 +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
482c645daf
Remove Graphics.setColorHSV, add E.HSBtoRGB ( fix #554 )
2015-08-10 17:22:01 +01:00
Gordon Williams
d1139b57f9
graphics doc
2015-06-24 10:33:22 +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
a11edb58f9
more warning removal
2015-06-01 18:13:14 +01:00
Gordon Williams
3f59263c33
Use jsvUnlockMany to tidy up code and save some space
...
jsiExecuteEventCallback cal now take an arbitrary number of arguments
Allow setTimeout/setInterval to take extra arguments (fix #532 )
2015-05-06 15:58:29 +01:00
Gordon Williams
98053bf24e
fix potential lock/unlock mismatch
2015-04-22 11:21:00 +01:00
Ivan A-R
7bc90309b7
Reset pin & backlight pin for LCD
2015-04-15 11:41:12 +03: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
Gordon Williams
ff2871778a
Fix issue with graphics fill on PCD8544 LCD
2015-02-17 14:42:51 +00:00
Gordon Williams
59d7766576
Improved ArrayBuffer write performance
...
Massively improved ArrayBuffer Graphics fill performance for bpp<8
2015-01-16 16:41:57 +00: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
933d14a988
refactor comments
2014-09-11 13:38:48 +01:00
Daniel O'Connor
3b7cb1c516
Add HSV color routines.
2014-08-24 16:54:25 +09:30
Daniel O'Connor
a7b3a867c9
Allow the user to specify the color order.
2014-08-24 15:45:42 +09:30
Gordon Williams
47b6bb6035
refactoring - move iterators to their own file
2014-08-08 13:28:49 +01:00
Gordon Williams
454b5c7b48
Merge branch 'packed_array' into small_jsvar
2014-07-22 11:08:13 +01:00
Gordon Williams
28bd2ae26d
Swap HY2.4 board to software LCD driver as well, work out pin mappings from PY file
2014-07-22 08:39:12 +01:00
Gordon Williams
005ee21422
Merge branch 'packed_array' into small_jsvar
...
Conflicts:
src/jsvar.c
2014-07-21 16:14:11 +01:00
Gordon Williams
3428c9694f
Fix memory leak in Graphics.createArrayBuffer
2014-07-17 17:33:50 +01:00
Gordon Williams
6698829bac
use iterator for graphics fillpoly
2014-07-17 16:21:24 +01:00
Gordon Williams
c15c55dfe2
updated docs to help tern determine what objects are returned
2014-07-15 17:23:01 +01:00
Gordon Williams
04217233d4
fix warning
2014-07-11 10:45:29 +01:00
Gordon Williams
4197f2127d
Fix HYSTM32_32 LCD at the expense of a bit of speed ( fix #137 , fix #327 )
2014-07-10 13:00:08 +01:00