fix(anatomy): V1-2.2 refuse zones without a usable interior

A polygon or path zone or trigger must fill a disc of 4 CSS px on the
320 x 568 preview under the layer's nonzero rule, stroke left out:
conservative widest-disc search on the flattened outline, caps and a
per-sheet budget, closed codes interior_too_small and
marker_interior_too_small. Browser probe on six projects.
This commit is contained in:
bchanot committed 2026-11-01 12:19:08 +01:00
1 parent de2dfb392e
commit 8dd2d78d38
18 files changed
+1852 -38

No files matched your search

+10 -1
View File
@@ -96,7 +96,16 @@ draw faithfully (edges within 2²⁰, spans from 1 unit, aspect at most
every annotation must show at least 4 CSS px on the smallest preview, the
editor at 320 × 568 (`verification.validation.marker_too_small`): a frame
blown up with its drawing scaled back keeps the drawing and shrinks every
marker, refused.
marker, refused. A zone or a trigger drawn as a polygon or a path must also
fill a disc of 4 CSS px on that preview, under the `nonzero` rule the layer
fills with (it writes no `fill-rule`, and none reaches it), its stroke left out
(`verification.validation.marker_interior_too_small`, owner brief 2026-11-01):
an outline drawn forth and back, the same loop twice in opposite directions, or
a near-flat shape on a diagonal fills no point a tap can reach, refused. The
measure is conservative (a disc crossing no edge, curves cut into chords whose
deviation is taken off) and refuses in doubt; a point painted over a zone takes
the taps on its disc, which the measure does not count (known limitation,
RUST.md §12.14).
The editor canvas is inlined in the page, where `#id` resolves against the
whole document. Since V1-2.2 (owner decision 2026-10-29) the core writes