Files
vectorcraft/crates/engine/tests
Sven Lafebre 007356257f #8188: .ai import keeps a stroke's arrowheads
A stroke's arrowheads are symbols of the file that its style's stroke
dictionary names (BSArrowBeginSymbol / BSArrowEndSymbol, with
BSArrowBeginScale / BSArrowEndScale). The importer didn't read them, so
lines came in without their heads.

The style parser now records those symbol references, and the reader
turns each arrowhead symbol into a custom arrowhead: the symbol's level,
1 pt sample of the line gives the axis and where the line stops under
the head, the rest of its art is the head, tip at its rightmost point.
A custom arrowhead can now carry that stop. The head goes on the path
with its tip on the end or past it (Extend), whichever gives the object
its drawn art's bounds; otherwise, and for heads that can't be read
faithfully, the object keeps its drawn look.
2026-11-16 22:19:03 +01:00
..