wasp-os/wasp/boards/simulator
Daniel Thompson 4ad8273902 draw565: Fix bounding box calculations
wasp-os uses an drawing optimization technique to automatically place
a single pixel line on the right of glyphs when rendering them. This
results in a change to the bounding box for a rendered string (by adding
a single pixel on the right of the final character). Fix the bounding box
calculations accordingly. Among other things this eliminates graphical
artifacts when rendering labels in 2048.

Fixes: #203
Fixes: 58b5c0378e ("draw565: Optimize the string drawing")
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-06-04 10:46:25 +01:00
..
conftest.py tests: Auto-discover applications and try to switch to them 2020-12-26 18:07:45 +00:00
display.py boards: simulator: Pick up out-of-bounds drawing 2021-02-25 07:36:15 +00:00
machine.py wasp: simulator: Add interupt support for CST816S 2020-06-11 21:15:47 +01:00
main.py Added weather application. 2021-06-03 21:43:38 +01:00
micropython.py boards: simulator: Add ptr32 support 2020-04-17 17:19:11 +01:00
test_qa.py simulator: test_qa: Update to match latest policy 2021-01-13 22:14:33 +00:00
test_smoke.py apps: settings: Allow date and time to be set on the watch 2021-01-12 20:27:52 +00:00
test_unit.py draw565: Fix bounding box calculations 2021-06-04 10:46:25 +01:00
watch.py simulator: Better align simulator RTC API with the nRF API 2020-12-29 16:07:37 +00:00