git.lucas.co / cce-designer
graphic design tool
git clone https://git.lucas.co/cce-designer.git

commitaf79a9bdecdc1e77b708b04bc23aab35de34e021
parentdacff84a53
authorLucas Galante <[email protected]>
date2026-07-23 17:52
feat: draw the section carves' concave throat fillets

ParametersBg::section_fillets after the relief tuples — the inside corners
the box reliefs can't round.

Co-Authored-By: Claude Fable 5 <[email protected]>

 src/render.rs | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/render.rs b/src/render.rs
index 8222619..16b847a 100644
--- a/src/render.rs
+++ b/src/render.rs
@@ -280,6 +280,11 @@ impl State {
                             pc.recess_edges(rect(rx, ry, rw, rh), radii, rd, edges);
                         }
                     }
+                    // The section carves' concave throat fillets — the inside
+                    // corners the box reliefs can't round.
+                    for (fcx, fcy, fr, fd, fs) in param_bg.section_fillets() {
+                        pc.concave_fillet(fcx, fcy, fr, fd, fs, false);
+                    }
                     // The slider thumbs (Prim::Sphere — no flat view carries
                     // them), after the reliefs so the knob rides the carve.
                     for (scx, scy, sr, sc) in param_bg.spheres() {