Render gauge needles pixel-exact

The needle is the display's own routine, measured on 112 needles in the
Editor simulator: tip from quadrant-reduced sin/cos, truncated; line from
tip to centre with a biased DDA; wider needles stamp wid x wid squares
along a line shortened by wid - 1. Length follows the height.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mangavalkandClaude Opus 5.5 committed 2026-11-15 16:05:41 +01:00
1 parent 9b50eea03f
commit f0bcc608b1
7 files changed
+67 -14

No files matched your search

+1 -2
View File
@@ -42,5 +42,4 @@ 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: QR codes are a placeholder, gauge needles can differ by a few pixels,
Intelligent-only components are not drawn.
- Rendering: QR codes are a placeholder, Intelligent-only components are not drawn.