So if your trying to get the changed region from drawing you can do this.
var changed = screen.g.bw.getModified(); var w = changed.x2 - changed.x1; var h = changed.y2 - changed.y1;
This commands from the internal drawing library and shows you the region where the drawing library changed.
First commit -partialFlip function
@user156811 started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
So if your trying to get the changed region from drawing you can do this.
This commands from the internal drawing library and shows you the region where the drawing library changed.
First commit -partialFlip function