openpencil/tests/engine/vue/controls
Ed-Key 9b48e47329 feat(canvas): render arrow stroke caps on lines and open vectors
ARROW_LINES and ARROW_EQUILATERAL stroke caps were accepted by the schema
and round-tripped from .fig files, but the renderer mapped every cap to
Butt, so imported arrows lost their heads and arrows could not be drawn
locally.

Add a pure arrow-cap geometry module to scene-graph (open-endpoint
collection with per-vertex cap overrides, weight-scaled head geometry)
and draw heads in the stroke color for LINE nodes and open VECTOR
centerline strokes, including the dashed-centerline path. Fold the head
reach into strokeOverflow and the node picture margin so heads are not
cropped by visual bounds, caches, or culling. Round-trip per-vertex
stroke caps through the .fig vector style override table so one-ended
Figma arrows import correctly. Expose both caps in the stroke inspector
cap picker with localized labels, and cover the renderer with an
arrow-stroke-caps Playwright canvas snapshot.

Claude-Session: https://claude.ai/code/session_012zjEbyLSBYyPpJP4fu1XNB
2026-08-31 21:25:38 +03:00
..
appearance.test.ts feat(editor): add corner smoothing control 2026-07-17 19:28:34 +03:00
color-binding-provider.test.ts feat(app): migrate paint effect and export panels 2026-07-14 17:06:28 +03:00
component-properties.test.ts feat(editor): add component property controls 2026-07-17 21:59:49 +03:00
constraints.test.ts feat(fig): support text on path 2026-08-17 12:00:01 +03:00
number-expression.test.ts feat(vue): add headless NumberField primitive 2026-07-10 22:26:51 +03:00
shared-style.test.ts fix(fig): restore strict parse validation 2026-07-18 03:58:18 +03:00
stroke.test.ts feat(canvas): render arrow stroke caps on lines and open vectors 2026-08-31 21:25:38 +03:00
typography-depth.test.ts feat(text): deepen typography controls 2026-07-17 22:40:52 +03:00