Radio rendering pixel-exact: the display's circle routine

Harvested the cir/cirs output for every radius 1..159 from Nextion
Editor's simulator and derived the incremental midpoint rule that
reproduces all of them; radio = width-sized circle clipped to the box,
dot radius r//2. Basic rendering coverage 18/20.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mangavalkandClaude Opus 5.5 committed 2026-11-15 15:53:13 +01:00
1 parent 6f8341c66c
commit 9b50eea03f
7 files changed
+83 -14

No files matched your search

+2 -2
View File
@@ -42,5 +42,5 @@ Back up the user's file first (copy it) unless they said not to; edits write in
- Writes projects for Nextion Editor 1.68.2; the user still compiles/uploads the `.tft` with the
Editor (or Nexus for uploading). nxhmi cannot compile `.tft` files yet.
- Rendering: radio buttons are ~95 % exact, QR codes are a placeholder, Intelligent-only
components are not drawn.
- Rendering: QR codes are a placeholder, gauge needles can differ by a few pixels,
Intelligent-only components are not drawn.