Dimension: arrowhead names in every complete catalog

The de, gu, it, ja, ko, uk, vi, zh-hans and zh-hant catalogs had no rows
for the built-in arrowhead names, so the Stroke panel and the Dimension
tool's Arrow Style showed them in English, and no catalog had Line Arrow.
Those nine catalogs get the names, every catalog gets Line Arrow, and
built_in_arrowhead_names_are_in_complete_catalogs checks them. Feather is
left out of the nine: a plain Feather row would also rename the History
steps of the Feather effect.

Dimension art is saved as child paths whose strokes carry the arrowhead,
so the docs, params text and comments no longer say that older versions
draw arrowStyle in place of arrowHead.
This commit is contained in:
dotCooCoo
2026-11-18 14:47:13 -08:00
parent 47acc31872
commit 269e8d85fe
35 changed files with 304 additions and 15 deletions
+5 -6
View File
@@ -6095,12 +6095,6 @@ the `…Open` rings…) and marks (`Bar`, `DoubleBar`, `DotOnBar`, `Slash`, `Dou
`arrowScale`, at least 0.25 pt. `LineArrow` has two arms of the head's weight (the line's weight at 100 % for lines of
0.25 pt or more) at right angles and spreads twice as wide.
A dimension's options (`dimension.create`, `dimension.update` and the Dimension tool's `style`) take `arrowStyle`
(`filled`, `open`, `tick` or `none`: `Triangle`, `TriangleOpen`, `Slash` or no head) and `arrowHead`, `null` or one of
the same built-in head names, drawn at both ends in place of the arrow style's head. Versions that do not read
`arrowHead` draw `arrowStyle`. The Arrow Style menu sets `arrowStyle` to `filled` when it sets `arrowHead`. A custom
arrowhead and an unknown name are refused.
Custom arrowheads come from the arrowheads file, `Arrowheads.vectorcraft` next to the preferences (none on the web or
in runs with `VECTORCRAFT_NO_PREFS`). `stroke.arrowheads.edit` (Stroke panel menu › Edit Arrowheads…) opens it, and
first creates it with one example head when it is missing. Each symbol in the file is one head, named after the
@@ -6137,6 +6131,11 @@ arrowheads in a separate arrowheads file.
{"name":"run_command","arguments":{"command":"stroke.set","params":{"ids":[9],"endArrow":{"custom":"Example Arrowhead"}}}}
```
A dimension's options (`dimension.create`, `dimension.update` and the Dimension tool's `style`) take `arrowStyle`
(`filled`, `open`, `tick` or `none`: `Triangle`, `TriangleOpen`, `Slash` or no head) and `arrowHead`, `null` or one of
the built-in head names `stroke.set` takes, drawn at both ends in place of the arrow style's head. The Arrow Style menu
sets `arrowStyle` to `filled` when it sets `arrowHead`. A custom arrowhead and an unknown name are refused.
## Stroke bounds and clicks
Visual bounds (Fit to Selected Art, Rasterize, exporting all art) and clicks on the canvas take