Hello, I'm trying to draw images using the Graphics library. I have a few small scale images (11x11px) which need to be displayed in different rotations. To save bytes, I am attempting to use the rotate option, as in: g.drawImage(img, x, y, { rotate: Math.PI })
The image is drawn, but the end result has a 2px wide crop at the bottom edge. Is that a bug? Btw where can I find the bug tracker of this project? I am sure someone else ran across this before but I couldn't tell
Thanks!
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.
Hello, I'm trying to draw images using the Graphics library. I have a few small scale images (11x11px) which need to be displayed in different rotations. To save bytes, I am attempting to use the rotate option, as in:
g.drawImage(img, x, y, { rotate: Math.PI })
The image is drawn, but the end result has a 2px wide crop at the bottom edge. Is that a bug? Btw where can I find the bug tracker of this project? I am sure someone else ran across this before but I couldn't tell
Thanks!