mermaid.outline
rounded_box(cx, cy, hx, hy, rad) -> dist
cx
cy
hx
hy
rad
dist
Build the signed distance to a box with round corners
dist(px, py) is negative inside the box, nought on its outline.
dist(px, py)