setPixel, drawLine work fine,
but fillRect, drawRect, clear, drawCircle, fillCircle don't. Some pixel are at wrong places,
Data in buffer is wrong, easy test is
gr = Graphics.createArrayBuffer(64,32,4,{interleavex:true});
gr.setBgColor(1) ;
gr.clear();
console.log(new Uint8Array(gr.buffer,64,64));
Rotating of Ellipse, hmm no idea, I've to check. But Christmas is coming, and family is coming, ....
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.
@Gordon I've checked with
setPixel, drawLine work fine,
but fillRect, drawRect, clear, drawCircle, fillCircle don't. Some pixel are at wrong places,
Data in buffer is wrong, easy test is
Rotating of Ellipse, hmm no idea, I've to check. But Christmas is coming, and family is coming, ....