If it does look worse, wouldn't it be better to leave it out?
Because otherwise code that tries to do the "right" thing actually makes things worse:
if (g.drawLineAA) g.drawLineAA(...)
else g.drawLine(...) // for devices without AntiAliasing
And if you end up writing this
if (device_is_B2) g.drawLine(...) // AntiAliasing looks bad on 3-bit screen
You wonder why the Bangle.js 2 even implements AA functions.
I guess you could just make it so *AA functions don't actually AntiAlias, so more code will run on both devices seemlessly, but that just seems Wrong...
© Espruino, powered by microcosm.
Report a problem