mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-20 01:14:23 +01:00
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:
1 parent
47acc31872
commit
269e8d85fe
35 files changed
+304
-15
No files matched your search
@@ -177,8 +177,7 @@ pub struct DimensionOptions {
|
||||
pub line_type: LineType,
|
||||
pub line_color: [u8; 3],
|
||||
pub arrow_style: ArrowStyle,
|
||||
/// A built-in stroke arrowhead drawn at both ends in place of `arrow_style`'s head. Versions
|
||||
/// that do not read it draw `arrow_style`.
|
||||
/// A built-in stroke arrowhead drawn at both ends in place of `arrow_style`'s head.
|
||||
#[serde(deserialize_with = "arrow_head::deserialize")]
|
||||
pub arrow_head: Option<crate::Arrowhead>,
|
||||
pub arrow_scale: f64,
|
||||
|
||||
@@ -14,7 +14,7 @@ pub fn specs() -> Vec<CommandSpec> {
|
||||
"Create Dimension",
|
||||
[],
|
||||
None,
|
||||
"{mode?: linear|angular|radius|diameter, a?: [x,y], b?: [x,y], vertex?: [x,y], source?: {kind: segment, edge: {node,subpath,segment}}|{kind: angle, first: edge, second: edge}|{kind: circle, node}|{kind: arc, edge}|{kind: points, a?, b?, vertex?: {node,subpath,anchor}, freeA?, freeB?: a point that is not an anchor, {kind: onSegment, edge: {node,subpath,segment}, t: 0..1 (curve parameter)}|{kind: anchors, node, anchors: [{subpath,anchor,part?: point|in|out (the anchor, default, or its in or out handle),weight}] (2 or 3 points of one path whose weights add up to 1), across?: (2 anchors only: times the first-to-second anchor vector (x,y) turned to (-y,x), which points down when the vector points right)} (an end is an anchor or a free point, not both)}, orientation?: aligned|horizontal|vertical (linear only: the distance between the points, or only its horizontal or vertical part; default aligned), offset?: pt (the line's distance from the first point: along the left normal of a → b when aligned, downward when horizontal, leftward when vertical; negative goes the other way), options?: {units: in|mm|pt|pc|px|cm|m|ft|yd, precision: 0-6, scale: drawing:real, hideUnits, lineWeight, lineType: solid|dashed|dotted, lineColor: [r,g,b], arrowStyle: filled|open|tick|none, arrowHead: null|a built-in stroke.set arrowhead name (Barbed, LineArrow…; drawn at both ends in place of arrowStyle's head, which versions that do not read arrowHead draw; custom arrowheads are refused), arrowScale: %, extensionWeight, extensionType, extensionColor, extensionOffset, extensionLength, hideExtensions, fontFamily, fontStyle, fontSize, textColor, textPosition: away|between, textAlignment: left|center|right, textOffset}} → {id,label}; linked measurements follow source edits",
|
||||
"{mode?: linear|angular|radius|diameter, a?: [x,y], b?: [x,y], vertex?: [x,y], source?: {kind: segment, edge: {node,subpath,segment}}|{kind: angle, first: edge, second: edge}|{kind: circle, node}|{kind: arc, edge}|{kind: points, a?, b?, vertex?: {node,subpath,anchor}, freeA?, freeB?: a point that is not an anchor, {kind: onSegment, edge: {node,subpath,segment}, t: 0..1 (curve parameter)}|{kind: anchors, node, anchors: [{subpath,anchor,part?: point|in|out (the anchor, default, or its in or out handle),weight}] (2 or 3 points of one path whose weights add up to 1), across?: (2 anchors only: times the first-to-second anchor vector (x,y) turned to (-y,x), which points down when the vector points right)} (an end is an anchor or a free point, not both)}, orientation?: aligned|horizontal|vertical (linear only: the distance between the points, or only its horizontal or vertical part; default aligned), offset?: pt (the line's distance from the first point: along the left normal of a → b when aligned, downward when horizontal, leftward when vertical; negative goes the other way), options?: {units: in|mm|pt|pc|px|cm|m|ft|yd, precision: 0-6, scale: drawing:real, hideUnits, lineWeight, lineType: solid|dashed|dotted, lineColor: [r,g,b], arrowStyle: filled|open|tick|none, arrowHead: null|a built-in stroke.set arrowhead name (Barbed, LineArrow…; drawn at both ends in place of arrowStyle's head; custom arrowheads are refused), arrowScale: %, extensionWeight, extensionType, extensionColor, extensionOffset, extensionLength, hideExtensions, fontFamily, fontStyle, fontSize, textColor, textPosition: away|between, textAlignment: left|center|right, textOffset}} → {id,label}; linked measurements follow source edits",
|
||||
has_doc,
|
||||
create
|
||||
),
|
||||
|
||||
@@ -48,8 +48,7 @@ impl ArrowChoice {
|
||||
}
|
||||
}
|
||||
/// The Arrow Style entries: Filled, Open, Tick and None, then the other built-in stroke arrowheads
|
||||
/// in the Stroke panel's order. A stroke arrowhead keeps `filled` as its `arrowStyle`, the head that
|
||||
/// versions which do not read `arrowHead` draw.
|
||||
/// in the Stroke panel's order. A stroke arrowhead keeps `filled` as its `arrowStyle`.
|
||||
fn arrow_choices() -> Vec<ArrowChoice> {
|
||||
let named = [(ArrowStyle::Filled, "Filled"), (ArrowStyle::Open, "Open"), (ArrowStyle::Tick, "Tick"), (ArrowStyle::None, "None")];
|
||||
let heads = Arrowhead::ALL.into_iter().filter(|h| !named.iter().any(|(s, _)| s.arrowhead().as_ref() == Some(h)));
|
||||
@@ -496,7 +495,7 @@ mod tests {
|
||||
}
|
||||
|
||||
/// The Arrow Style list names each arrowhead once, with the four older styles first, and each
|
||||
/// stroke arrowhead keeps Filled for versions that do not read `arrowHead`.
|
||||
/// stroke arrowhead keeps Filled as its `arrowStyle`.
|
||||
#[test]
|
||||
fn arrow_style_list_names_each_style_once() {
|
||||
let choices = arrow_choices();
|
||||
|
||||
@@ -1951,6 +1951,7 @@ font-technology Variable Променливи
|
||||
Limit to Library: Ограничаване до библиотека:
|
||||
Limit: Ограничение:
|
||||
Line Линия
|
||||
Line Arrow Линейна стрелка
|
||||
Line Art and Text Resolution: Разделителна способност на линеарна графика и текст:
|
||||
Line Breaks Паузи на редове
|
||||
Line Color Цвят на линията
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -5919,6 +5919,7 @@ imageTrace Outline Obris
|
||||
Kite Zmaj
|
||||
Triangle to Bar Trougao u traku
|
||||
Oval Oval
|
||||
Line Arrow Linijska strelica
|
||||
Complementary Komplementarne
|
||||
Complementary 2 Komplementarne 2
|
||||
Split Complementary Podijeljene komplementarne
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -2532,6 +2532,7 @@ digits Malayalam Malaiàlam
|
||||
Limit: Límit:
|
||||
Limited Limitat
|
||||
Line Línia
|
||||
Line Arrow Fletxa de línies
|
||||
Line Art Art lineal
|
||||
Line Art and Text Resolution: Resolució de l’art lineal i del text:
|
||||
Line Breaks Salts de línia
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -6300,6 +6300,7 @@ variable-list-end {0}, {1} {0} a {1}
|
||||
Kite Deltoid
|
||||
Triangle to Bar Trojúhelník k příčce
|
||||
Oval Ovál
|
||||
Line Arrow Čárová šipka
|
||||
# Colour harmony rules (Color Guide, Recolor Artwork, Color Themes)
|
||||
Complementary Komplementární
|
||||
Complementary 2 Komplementární 2
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -8374,6 +8374,7 @@ imageTrace Outline Kontur
|
||||
Kite Drage
|
||||
Triangle to Bar Trekant til bjælke
|
||||
Oval Oval
|
||||
Line Arrow Stregpil
|
||||
Complementary Komplementær
|
||||
Complementary 2 Komplementær 2
|
||||
Split Complementary Delt komplementær
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -7365,6 +7365,35 @@ anchor Points: Punkte:
|
||||
@msg `{id}` is not a colour adjustment `{id}` ist keine Farbkorrektur
|
||||
@msg missing `effect` `effect` fehlt
|
||||
@msg `params` must be an object `params` muss ein Objekt sein
|
||||
# Stroke arrowheads (Stroke panel, Dimension Tool Options and Properties › Arrow Style).
|
||||
Triangle (open) Dreieck (offen)
|
||||
Circle (open) Kreis (offen)
|
||||
Square (open) Quadrat (offen)
|
||||
Arrow (open) Pfeil (offen)
|
||||
Barbed Mit Widerhaken
|
||||
Half Arrow (left) Halber Pfeil (links)
|
||||
Half Arrow (right) Halber Pfeil (rechts)
|
||||
Double Bar Doppelbalken
|
||||
Dot on Bar Punkt auf Balken
|
||||
Chevron Winkel
|
||||
Plus Plus
|
||||
Hexagon (open) Sechseck (offen)
|
||||
Tag Etikett
|
||||
Tag (open) Etikett (offen)
|
||||
Half Circle Halbkreis
|
||||
Drop Tropfen
|
||||
Slash Schrägstrich
|
||||
Double Slash Doppelter Schrägstrich
|
||||
Diamond (open) Raute (offen)
|
||||
Reverse Triangle Umgekehrtes Dreieck
|
||||
Swallowtail Schwalbenschwanz
|
||||
Bracket Klammer
|
||||
Fork Gabel
|
||||
Leaf Blatt
|
||||
Kite Drachen
|
||||
Triangle to Bar Dreieck zu Balken
|
||||
Oval Oval
|
||||
Line Arrow Linienpfeil
|
||||
# Path Precision Tools add-on (Object › Plug-ins › Path Precision Tools): its tools, Anchor Inspector panel, commands and messages.
|
||||
Path Precision Tools Pfad-Präzisionswerkzeuge
|
||||
Anchor Eraser Brush Ankerpunkt-Radierpinsel
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -1915,6 +1915,7 @@ font-technology Variable Μεταβλητές
|
||||
Lighten Φώτισμα
|
||||
Lightness Φωτεινότητα
|
||||
Line Γραμμή
|
||||
Line Arrow Γραμμικό βέλος
|
||||
Line Segment Tool Ευθύγραμμο τμήμα (Line Segment Tool)
|
||||
Linear Gradient Γραμμικό ντεγκραντέ
|
||||
Lines Γραμμές
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -6253,6 +6253,7 @@ effect Regular Regular
|
||||
Kite Cometa
|
||||
Triangle to Bar Triángulo a barra
|
||||
Oval Óvalo
|
||||
Line Arrow Flecha de líneas
|
||||
Complementary Complementario
|
||||
Complementary 2 Complementario 2
|
||||
Split Complementary Complementario dividido
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -6212,6 +6212,7 @@ variable-list-end {0}, {1} {0} ja {1}
|
||||
Kite Leija
|
||||
Triangle to Bar Kolmiosta palkkiin
|
||||
Oval Soikio
|
||||
Line Arrow Viivanuoli
|
||||
Complementary Vastaväri
|
||||
Complementary 2 Vastaväri 2
|
||||
Split Complementary Jaettu vastaväri
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -2036,6 +2036,7 @@ font-technology Variable Variables
|
||||
Limit to Library: Limiter à la bibliothèque :
|
||||
Limit: Limite :
|
||||
Line Ligne
|
||||
Line Arrow Flèche filaire
|
||||
Line Art and Text Resolution: Résolution des dessins au trait et du texte :
|
||||
Line Breaks Sauts de ligne
|
||||
Line Color Couleur de ligne
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -3095,6 +3095,36 @@
|
||||
Remove Effect ઇફેક્ટ દૂર કરો
|
||||
Remove Effects ઇફેક્ટ્સ દૂર કરો
|
||||
Remove Gaps ગેપ દૂર કરો
|
||||
# Stroke arrowheads (Stroke panel, Dimension Tool Options and Properties › Arrow Style).
|
||||
Triangle (open) ત્રિકોણ (ખુલ્લો)
|
||||
Circle (open) વર્તુળ (ખુલ્લું)
|
||||
Square (open) ચોરસ (ખુલ્લો)
|
||||
Arrow (open) તીર (ખુલ્લું)
|
||||
Barbed કાંટાળું
|
||||
Half Arrow (left) અડધું તીર (ડાબે)
|
||||
Half Arrow (right) અડધું તીર (જમણે)
|
||||
Double Bar બેવડી પટ્ટી
|
||||
Dot on Bar પટ્ટી પર બિંદુ
|
||||
Chevron શેવરોન
|
||||
Cross ક્રોસ
|
||||
Plus પ્લસ
|
||||
Hexagon (open) ષટ્કોણ (ખુલ્લો)
|
||||
Tag ટૅગ
|
||||
Tag (open) ટૅગ (ખુલ્લો)
|
||||
Half Circle અર્ધવર્તુળ
|
||||
Drop ટીપું
|
||||
Slash સ્લૅશ
|
||||
Double Slash બેવડો સ્લૅશ
|
||||
Diamond (open) ડાયમંડ (ખુલ્લો)
|
||||
Reverse Triangle ઊંધો ત્રિકોણ
|
||||
Swallowtail અબાબીલની પૂંછડી
|
||||
Bracket કૌંસ
|
||||
Fork કાંટો
|
||||
Leaf પાંદડું
|
||||
Kite પતંગ
|
||||
Triangle to Bar ત્રિકોણથી પટ્ટી
|
||||
Oval અંડાકાર
|
||||
Line Arrow રેખા તીર
|
||||
# Path Precision Tools add-on: Common Tangents.
|
||||
Common Tangents… સામાન્ય સ્પર્શરેખાઓ…
|
||||
Common Tangents સામાન્ય સ્પર્શરેખાઓ
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 72 and column 5.
|
@@ -3029,6 +3029,7 @@ antiAlias Sharp शार्प
|
||||
Limit: सीमा:
|
||||
Limited लिमिटेड
|
||||
Line लाइन
|
||||
Line Arrow लाइन तीर
|
||||
line {line} लाइन {line}
|
||||
Line {line} लाइन {line}
|
||||
Line {line}: {name}: {status} लाइन {line}: {name}: {status}
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -2534,6 +2534,7 @@ file-filter Templates Sablonok
|
||||
Limit: Határ:
|
||||
Limited Korlátozott
|
||||
Line Vonal
|
||||
Line Arrow Vonalas nyíl
|
||||
Line Art Vonalas rajz
|
||||
Line Art and Text Resolution: Vonalas grafika és szöveg felbontása:
|
||||
Line Breaks Sortörések
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -5568,6 +5568,7 @@ imageTrace Outline Kontur
|
||||
Kite Layang-layang
|
||||
Triangle to Bar Segitiga ke batang
|
||||
Oval Oval
|
||||
Line Arrow Panah garis
|
||||
Complementary Komplementer
|
||||
Complementary 2 Komplementer 2
|
||||
Split Complementary Komplementer terpisah
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2563 and column 5.
|
@@ -7402,6 +7402,35 @@ anchor Points: Punti:
|
||||
@msg `{id}` is not a colour adjustment `{id}` non è una regolazione del colore
|
||||
@msg missing `effect` manca `effect`
|
||||
@msg `params` must be an object `params` deve essere un oggetto
|
||||
# Stroke arrowheads (Stroke panel, Dimension Tool Options and Properties › Arrow Style).
|
||||
Triangle (open) Triangolo (aperto)
|
||||
Circle (open) Cerchio (aperto)
|
||||
Square (open) Quadrato (aperto)
|
||||
Arrow (open) Freccia (aperta)
|
||||
Barbed Uncinata
|
||||
Half Arrow (left) Mezza freccia (sinistra)
|
||||
Half Arrow (right) Mezza freccia (destra)
|
||||
Double Bar Doppia barra
|
||||
Dot on Bar Punto su barra
|
||||
Chevron Gallone
|
||||
Plus Più
|
||||
Hexagon (open) Esagono (aperto)
|
||||
Tag Etichetta
|
||||
Tag (open) Etichetta (aperta)
|
||||
Half Circle Semicerchio
|
||||
Drop Goccia
|
||||
Slash Barra obliqua
|
||||
Double Slash Doppia barra obliqua
|
||||
Diamond (open) Rombo (aperto)
|
||||
Reverse Triangle Triangolo invertito
|
||||
Swallowtail Coda di rondine
|
||||
Bracket Parentesi
|
||||
Fork Forcella
|
||||
Leaf Foglia
|
||||
Kite Aquilone
|
||||
Triangle to Bar Da triangolo a barra
|
||||
Oval Ovale
|
||||
Line Arrow Freccia a linee
|
||||
# Path Precision Tools add-on (Object › Plug-ins › Path Precision Tools): its tools, Anchor Inspector panel, commands and messages.
|
||||
Path Precision Tools Strumenti di precisione per tracciati
|
||||
Anchor Eraser Brush Pennello gomma punti di ancoraggio
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -9292,6 +9292,35 @@ anchor Points: ポイント:
|
||||
@msg `{id}` is not a colour adjustment `{id}` はカラー補正ではありません
|
||||
@msg missing `effect` `effect` が指定されていません
|
||||
@msg `params` must be an object `params` にはオブジェクトを指定してください
|
||||
# Stroke arrowheads (Stroke panel, Dimension Tool Options and Properties › Arrow Style).
|
||||
Triangle (open) 三角形 (白抜き)
|
||||
Circle (open) 円 (白抜き)
|
||||
Square (open) 正方形 (白抜き)
|
||||
Arrow (open) 矢印 (白抜き)
|
||||
Barbed かえし付き
|
||||
Half Arrow (left) 片矢印 (左)
|
||||
Half Arrow (right) 片矢印 (右)
|
||||
Double Bar 二重バー
|
||||
Dot on Bar バー上のドット
|
||||
Chevron 山形
|
||||
Plus プラス
|
||||
Hexagon (open) 六角形 (白抜き)
|
||||
Tag タグ
|
||||
Tag (open) タグ (白抜き)
|
||||
Half Circle 半円
|
||||
Drop しずく
|
||||
Slash スラッシュ
|
||||
Double Slash 二重スラッシュ
|
||||
Diamond (open) ひし形 (白抜き)
|
||||
Reverse Triangle 逆三角形
|
||||
Swallowtail 燕尾
|
||||
Bracket 角かっこ
|
||||
Fork フォーク
|
||||
Leaf 葉
|
||||
Kite カイト
|
||||
Triangle to Bar 三角形からバー
|
||||
Oval 楕円
|
||||
Line Arrow 線矢印
|
||||
# Path Precision Tools add-on (Object › Plug-ins › Path Precision Tools): its tools, Anchor Inspector panel, commands and messages.
|
||||
Path Precision Tools パス精密ツール
|
||||
Anchor Eraser Brush アンカーポイント消去ブラシ
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -7691,6 +7691,7 @@ font-technology Variable ცვლადი
|
||||
Kite ფრანი
|
||||
Triangle to Bar სამკუთხედიდან ზოლამდე
|
||||
Oval ოვალი
|
||||
Line Arrow ხაზოვანი ისარი
|
||||
Complementary დამატებითი
|
||||
Complementary 2 დამატებითი 2
|
||||
Split Complementary გაყოფილი დამატებითი
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -7374,6 +7374,35 @@ anchor Points: 포인트:
|
||||
@msg `{id}` is not a colour adjustment `{id}`은(는) 색상 조정이 아닙니다
|
||||
@msg missing `effect` `effect`이 없습니다
|
||||
@msg `params` must be an object `params`는 개체여야 합니다
|
||||
# Stroke arrowheads (Stroke panel, Dimension Tool Options and Properties › Arrow Style).
|
||||
Triangle (open) 삼각형 (윤곽)
|
||||
Circle (open) 원 (윤곽)
|
||||
Square (open) 사각 (윤곽)
|
||||
Arrow (open) 화살표 (윤곽)
|
||||
Barbed 미늘
|
||||
Half Arrow (left) 반쪽 화살표 (왼쪽)
|
||||
Half Arrow (right) 반쪽 화살표 (오른쪽)
|
||||
Double Bar 이중 막대
|
||||
Dot on Bar 막대 위 점
|
||||
Chevron 갈매기형
|
||||
Plus 더하기
|
||||
Hexagon (open) 육각형 (윤곽)
|
||||
Tag 태그
|
||||
Tag (open) 태그 (윤곽)
|
||||
Half Circle 반원
|
||||
Drop 물방울
|
||||
Slash 슬래시
|
||||
Double Slash 이중 슬래시
|
||||
Diamond (open) 다이아몬드 (윤곽)
|
||||
Reverse Triangle 역삼각형
|
||||
Swallowtail 제비 꼬리
|
||||
Bracket 대괄호
|
||||
Fork 포크
|
||||
Leaf 잎
|
||||
Kite 연
|
||||
Triangle to Bar 삼각형에서 막대
|
||||
Oval 타원
|
||||
Line Arrow 선 화살표
|
||||
# Path Precision Tools add-on (Object › Plug-ins › Path Precision Tools): its tools, Anchor Inspector panel, commands and messages.
|
||||
Path Precision Tools 패스 정밀 도구
|
||||
Anchor Eraser Brush 앵커 포인트 지우개 브러시
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -8087,6 +8087,7 @@ imageTrace Outline Contour
|
||||
Kite Vlieger
|
||||
Triangle to Bar Driehoek naar balk
|
||||
Oval Ovaal
|
||||
Line Arrow Lijnpijl
|
||||
Complementary Complementair
|
||||
Complementary 2 Complementair 2
|
||||
Split Complementary Gesplitst complementair
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -6152,6 +6152,7 @@ variable-list-end {0}, {1} {0} i {1}
|
||||
Kite Latawiec
|
||||
Triangle to Bar Trójkąt z kreską
|
||||
Oval Owal
|
||||
Line Arrow Strzałka liniowa
|
||||
Complementary Dopełniające
|
||||
Complementary 2 Dopełniające 2
|
||||
Split Complementary Rozdzielone dopełniające
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -6235,6 +6235,7 @@ effect Regular Regular
|
||||
Kite Pipa
|
||||
Triangle to Bar Triângulo para Barra
|
||||
Oval Oval
|
||||
Line Arrow Seta de Linha
|
||||
Complementary Complementar
|
||||
Complementary 2 Complementar 2
|
||||
Split Complementary Complementar Dividida
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -2073,6 +2073,7 @@ file-filter Templates Шаблоны
|
||||
Limit to Library: Ограничить библиотекой:
|
||||
Limit: Предел:
|
||||
Line Линия
|
||||
Line Arrow Линейная стрелка
|
||||
Line Art and Text Resolution: Разрешение штрихового рисунка и текста:
|
||||
Line Breaks Разрывы строк
|
||||
Line Color Цвет линии
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -1975,6 +1975,7 @@ font-technology Variable Variabla
|
||||
Limit to Library: Begränsa till bibliotek:
|
||||
Limit: Gränsvärde:
|
||||
Line Linje
|
||||
Line Arrow Linjepil
|
||||
Line Art and Text Resolution: Upplösning för streckteckning och text:
|
||||
Line Breaks Radbrytningar
|
||||
Line Color Linjefärg
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -673,6 +673,18 @@ fn built_in_library_style_names_are_in_complete_catalogs() {
|
||||
assert!(bad.is_empty(), "{}", bad.join("\n"));
|
||||
}
|
||||
|
||||
/// The Stroke panel and the Dimension tool's Arrow Style list the built-in arrowheads by name, so
|
||||
/// each name has a row in each complete catalog. Feather is not checked: a plain `Feather` row also
|
||||
/// names the History steps of the Feather effect, which otherwise take the effect's menu row.
|
||||
#[test]
|
||||
fn built_in_arrowhead_names_are_in_complete_catalogs() {
|
||||
use vectorcraft_doc::Arrowhead;
|
||||
let names = distinct(Arrowhead::ALL.iter().filter(|h| **h != Arrowhead::Feather).map(|h| h.label().to_string()).collect());
|
||||
assert_eq!(names.len(), 40, "{names:?}");
|
||||
let bad = lacking(&names, |c, n| c.plain(n).is_some());
|
||||
assert!(bad.is_empty(), "{}", bad.join("\n"));
|
||||
}
|
||||
|
||||
/// A built-in symbol library's panel lists its symbols in the UI language, so every symbol of
|
||||
/// every built-in library has a row in each complete catalog.
|
||||
#[test]
|
||||
|
||||
@@ -1868,6 +1868,7 @@ font-technology Variable Değişken
|
||||
Limit to Library: Kütüphaneyle Sınırlama:
|
||||
Limit: Sınır:
|
||||
Line Hat
|
||||
Line Arrow Çizgi Ok
|
||||
Line Art and Text Resolution: Çizgi Sanatı ve Metin Çözünürlüğü:
|
||||
Line Breaks Satır Sonları
|
||||
Line Color Çizgi Rengi
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -7384,6 +7384,35 @@ anchor Points: Точки:
|
||||
@msg `{id}` is not a colour adjustment `{id}` не є корекцією кольору
|
||||
@msg missing `effect` відсутня `effect`
|
||||
@msg `params` must be an object `params` має бути об’єктом
|
||||
# Stroke arrowheads (Stroke panel, Dimension Tool Options and Properties › Arrow Style).
|
||||
Triangle (open) Трикутник (контурний)
|
||||
Circle (open) Коло (контурне)
|
||||
Square (open) Квадрат (контурний)
|
||||
Arrow (open) Стрілка (контурна)
|
||||
Barbed Зазубрена
|
||||
Half Arrow (left) Половина стрілки (ліворуч)
|
||||
Half Arrow (right) Половина стрілки (праворуч)
|
||||
Double Bar Подвійна смуга
|
||||
Dot on Bar Крапка на смузі
|
||||
Chevron Шеврон
|
||||
Plus Плюс
|
||||
Hexagon (open) Шестикутник (контурний)
|
||||
Tag Ярлик
|
||||
Tag (open) Ярлик (контурний)
|
||||
Half Circle Півколо
|
||||
Drop Крапля
|
||||
Slash Скісна риска
|
||||
Double Slash Подвійна скісна риска
|
||||
Diamond (open) Ромб (контурний)
|
||||
Reverse Triangle Обернений трикутник
|
||||
Swallowtail Ластівчин хвіст
|
||||
Bracket Дужка
|
||||
Fork Вилка
|
||||
Leaf Листок
|
||||
Kite Дельтоїд
|
||||
Triangle to Bar Трикутник до смуги
|
||||
Oval Овал
|
||||
Line Arrow Лінійна стрілка
|
||||
# Path Precision Tools add-on (Object › Plug-ins › Path Precision Tools): its tools, Anchor Inspector panel, commands and messages.
|
||||
Path Precision Tools Інструменти точного редагування контурів
|
||||
Anchor Eraser Brush Пензель-гумка опорних точок
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -7428,6 +7428,35 @@ anchor Points: Điểm:
|
||||
@msg `{id}` is not a colour adjustment `{id}` không phải là điều chỉnh màu
|
||||
@msg missing `effect` thiếu `effect`
|
||||
@msg `params` must be an object `params` phải là một đối tượng
|
||||
# Stroke arrowheads (Stroke panel, Dimension Tool Options and Properties › Arrow Style).
|
||||
Triangle (open) Tam giác (rỗng)
|
||||
Circle (open) Hình tròn (rỗng)
|
||||
Square (open) Hình vuông (rỗng)
|
||||
Arrow (open) Mũi tên (rỗng)
|
||||
Barbed Có ngạnh
|
||||
Half Arrow (left) Nửa mũi tên (trái)
|
||||
Half Arrow (right) Nửa mũi tên (phải)
|
||||
Double Bar Thanh đôi
|
||||
Dot on Bar Chấm trên thanh
|
||||
Chevron Hình chữ V
|
||||
Plus Dấu cộng
|
||||
Hexagon (open) Lục giác (rỗng)
|
||||
Tag Nhãn
|
||||
Tag (open) Nhãn (rỗng)
|
||||
Half Circle Nửa hình tròn
|
||||
Drop Giọt nước
|
||||
Slash Gạch chéo
|
||||
Double Slash Gạch chéo đôi
|
||||
Diamond (open) Hình thoi (rỗng)
|
||||
Reverse Triangle Tam giác ngược
|
||||
Swallowtail Đuôi én
|
||||
Bracket Ngoặc
|
||||
Fork Chạc
|
||||
Leaf Chiếc lá
|
||||
Kite Hình diều
|
||||
Triangle to Bar Tam giác đến thanh
|
||||
Oval Hình bầu dục
|
||||
Line Arrow Mũi tên nét
|
||||
# Path Precision Tools add-on (Object › Plug-ins › Path Precision Tools): its tools, Anchor Inspector panel, commands and messages.
|
||||
Path Precision Tools Công cụ chính xác cho đường dẫn
|
||||
Anchor Eraser Brush Cọ tẩy điểm neo
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -7611,6 +7611,35 @@ anchor Points: 点:
|
||||
@msg `{id}` is not a colour adjustment `{id}` 不是颜色调整
|
||||
@msg missing `effect` 缺少 `effect`
|
||||
@msg `params` must be an object `params` 必须是对象
|
||||
# Stroke arrowheads (Stroke panel, Dimension Tool Options and Properties › Arrow Style).
|
||||
Triangle (open) 三角 (空心)
|
||||
Circle (open) 圆形 (空心)
|
||||
Square (open) 正方形 (空心)
|
||||
Arrow (open) 箭头 (空心)
|
||||
Barbed 倒钩
|
||||
Half Arrow (left) 半箭头 (左)
|
||||
Half Arrow (right) 半箭头 (右)
|
||||
Double Bar 双条形
|
||||
Dot on Bar 条形上的圆点
|
||||
Chevron 人字形
|
||||
Plus 加号
|
||||
Hexagon (open) 六边形 (空心)
|
||||
Tag 标签
|
||||
Tag (open) 标签 (空心)
|
||||
Half Circle 半圆
|
||||
Drop 水滴
|
||||
Slash 斜线
|
||||
Double Slash 双斜线
|
||||
Diamond (open) 菱形 (空心)
|
||||
Reverse Triangle 倒三角
|
||||
Swallowtail 燕尾
|
||||
Bracket 括号
|
||||
Fork 叉形
|
||||
Leaf 叶形
|
||||
Kite 风筝形
|
||||
Triangle to Bar 三角至条形
|
||||
Oval 椭圆
|
||||
Line Arrow 线条箭头
|
||||
# Path Precision Tools add-on (Object › Plug-ins › Path Precision Tools): its tools, Anchor Inspector panel, commands and messages.
|
||||
Path Precision Tools 路径精确工具
|
||||
Anchor Eraser Brush 锚点橡皮擦画笔
|
||||
|
||||
|
Can't render this file because it is too large.
|
@@ -7433,6 +7433,35 @@ anchor Points: 點:
|
||||
@msg `{id}` is not a colour adjustment `{id}` 不是顏色調整
|
||||
@msg missing `effect` 未提供 `effect`
|
||||
@msg `params` must be an object `params` 必須是物件
|
||||
# Stroke arrowheads (Stroke panel, Dimension Tool Options and Properties › Arrow Style).
|
||||
Triangle (open) 三角 (空心)
|
||||
Circle (open) 圓形 (空心)
|
||||
Square (open) 正方形 (空心)
|
||||
Arrow (open) 箭頭 (空心)
|
||||
Barbed 倒鉤
|
||||
Half Arrow (left) 半箭頭 (左)
|
||||
Half Arrow (right) 半箭頭 (右)
|
||||
Double Bar 雙長條
|
||||
Dot on Bar 長條上的圓點
|
||||
Chevron 人字形
|
||||
Plus 加號
|
||||
Hexagon (open) 六邊形 (空心)
|
||||
Tag 標籤
|
||||
Tag (open) 標籤 (空心)
|
||||
Half Circle 半圓
|
||||
Drop 水滴
|
||||
Slash 斜線
|
||||
Double Slash 雙斜線
|
||||
Diamond (open) 菱形 (空心)
|
||||
Reverse Triangle 倒三角
|
||||
Swallowtail 燕尾
|
||||
Bracket 括號
|
||||
Fork 叉形
|
||||
Leaf 葉形
|
||||
Kite 風箏形
|
||||
Triangle to Bar 三角至長條
|
||||
Oval 橢圓
|
||||
Line Arrow 線條箭頭
|
||||
# Path Precision Tools add-on (Object › Plug-ins › Path Precision Tools): its tools, Anchor Inspector panel, commands and messages.
|
||||
Path Precision Tools 路徑精確工具
|
||||
Anchor Eraser Brush 錨點橡皮擦筆刷
|
||||
|
||||
|
Can't render this file because it is too large.
|
+1
-2
@@ -90,8 +90,7 @@ from the object) or **Between Line and Object**; **Alignment** is **Left**, **Ce
|
||||
|
||||
**Arrow Style** lists **Filled**, **Open**, **Tick** and **None**, then every other built-in
|
||||
arrowhead of the Stroke panel, each with a drawn preview before its name. Custom arrowheads are not
|
||||
listed. A dimension with one of the other arrowheads opens in versions without them with
|
||||
**Filled** arrows.
|
||||
listed.
|
||||
|
||||
Scale means **drawing : real size**, independent of zoom. At **1:10** a 1 in line on the page is
|
||||
labelled 10 in; at **10:1**, 0.1 in. It scales lengths, not angles or the size of text and arrows.
|
||||
|
||||
+5
-6
@@ -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
|
||||
|
||||
@@ -655,7 +655,7 @@ since 2026-10-01.
|
||||
**Drawing tools, Dimension tool lines line up with dimensions already drawn (#8063, #5590):** By VectorCraft's own rule, with Smart Guides on, a linear dimension placed with its line within the Smart Guides snapping tolerance of the level of a parallel line of a visible, unlocked linear dimension already drawn has its line on that level, and with Alignment Guides on a guide runs along the level across both lines while it is placed. `a_dimension_line_placed_beside_another_lands_on_its_level`, `a_dimension_line_on_another_level_shows_one_guide_across_both`, `a_dimension_of_the_same_points_lines_up_and_the_line_follows_the_pointer`, `a_dimension_dragged_out_beside_another_lands_on_its_level` and `a_line_the_pointer_lies_across_wins_on_one_level` cover it.
|
||||
**Drawing tools, Dimension tool dimensions selected with their art keep their lines and label:** Object › Expand, Object › Expand Appearance and Object › Path › Outline Stroke leave a dimension selected with art it measures, directly or in selected groups without fills, strokes or effects of their own, as it is and change only the other art; when the new art no longer fits its link, the dimension stays where it was, no longer linked, and undo links it again. `expand_leaves_a_dimension_selected_with_its_art_as_it_is`, `expand_appearance_leaves_a_dimension_selected_with_its_art_as_it_is`, `outline_stroke_leaves_a_dimension_selected_with_its_art_as_it_is`, `a_dimension_selected_with_art_that_has_nothing_to_expand_changes_nothing`, `a_group_effect_expanded_reaches_the_dimension_it_holds`, `expand_keeps_a_dimension_in_its_asset_and_its_variable_binding`, `a_dimension_keeps_no_link_to_the_art_expand_replaced`, `a_dimension_outlasts_the_art_outline_stroke_or_expand_appearance_replaced`, `a_dimension_outlasts_the_stroke_expand_outlined` and `expand_appearance_in_safe_mode_leaves_a_dimension_selected_with_its_art` cover it.
|
||||
**Drawing tools, Dimension tool Arrow Style shows each arrowhead (#8049):** The Arrow Style dropdown in Dimension Tool Options and in the Properties panel's Dimension section draws each style's arrowhead at the end of a short line before its name, in the open list and in the closed field, using the Stroke panel's arrowhead previews. Filled, Open, Tick and None are the same four styles, saved as before. `arrow_style_shows_a_drawn_arrowhead` and `each_arrow_style_draws_its_stroke_arrowhead_at_both_ends` cover it.
|
||||
**Drawing tools, Dimension tool Arrow Style offers every stroke arrowhead (#8049, #3222):** By VectorCraft's own rule, Arrow Style lists Filled, Open, Tick and None, then the other 38 built-in Stroke panel arrowheads, each with its drawn preview. The options save the head in `arrowHead` (`Barbed`) and keep `arrowStyle` at `filled`, so versions without `arrowHead` open such a dimension with Filled arrows; documents and tool settings saved before open unchanged. `every_stroke_arrowhead_draws_as_a_dimension_arrowhead`, `arrow_style_shows_a_stroke_arrowhead` and `arrow_style_list_names_each_style_once` cover it.
|
||||
**Drawing tools, Dimension tool Arrow Style offers every stroke arrowhead (#8049, #3222):** By VectorCraft's own rule, Arrow Style lists Filled, Open, Tick and None, then the other 38 built-in Stroke panel arrowheads, each with its drawn preview. The options save the head in `arrowHead` (`Barbed`) and keep `arrowStyle` at `filled`; documents and tool settings saved before open unchanged. `every_stroke_arrowhead_draws_as_a_dimension_arrowhead`, `arrow_style_shows_a_stroke_arrowhead`, `arrow_style_list_names_each_style_once` and `built_in_arrowhead_names_are_in_complete_catalogs` cover it.
|
||||
**Drawing tools, Line Segment from one curve onto a common tangent of another:** By VectorCraft's own rule, with Smart Guides and Snap to Tangent on, a Line Segment drag pressed anywhere on a convex closed path with curves and dragged to within the snapping tolerance of another such path lands on a common tangent of the two ([tangent lines to circles](https://en.wikipedia.org/wiki/Tangent_lines_to_circles)): both ends move to where the line touches the paths, the start sliding along the first path, and each end shows the "tangent" label when Anchor/Path Labels is on, with the line drawn as a guide when Alignment Guides is on. The line is the tangent whose touch point on the second path is nearest the pointer, so moving the pointer around the second path switches between the outer tangent and the one crossing between the paths. The start stays where it was pressed when Shift, Alt or Space is held, when an anchor, center or crossing lies nearer the pointer than the second path does, when the press snapped to an anchor, center or crossing off the first path, when Snap to Tangent is off, when Snap to Grid or pixel snapping places drawn points, or when either path bends inward somewhere or has more than 512 segments. `a_line_from_one_circle_to_another_lands_on_their_common_tangent`, `a_line_from_a_turned_ellipse_lands_on_its_tangent_with_a_circle`, `a_line_near_the_second_path_takes_the_tangent_touching_it_nearest`, `a_line_keeps_its_start_without_a_tangent_snap`, `a_line_to_a_crescent_or_from_an_anchor_beside_the_curve_keeps_its_start` and `a_line_segment_drag_draws_the_common_tangent_as_one_undo_step` cover it.
|
||||
**Live trace result bounds and selection highlights exclude the retained bitmap except in source-image views:** `live_trace_result_bounds_exclude_the_retained_bitmap_at_any_angle` checks every TraceView, geometric and visual bounds and rotated result bounds. `live_trace_selection_highlight_excludes_the_retained_source_rectangle` checks result highlights and the existing ordinary-group policy. Shared editing-child traversal also preserves Shaper handling.
|
||||
**Artboard Options shares existing presets and orientation controls and can fit artwork without moving it; artwork fitting includes all drawn document art across artboards and off-board; artwork bounds are cached by active document and revision, and selection uses the shared bounds cache across artboards:** Shared existing preset definitions are reused; no external preset assets are added. Presets preserve each selected artboard's orientation, and orientation choices apply even when the active board already matches. Fit operations draft bounds until OK, affect only the active artboard and leave artwork in place. Regression coverage checks draft/Cancel, selected-set application, active-only fitting and Undo.
|
||||
|
||||
Reference in new issue
Block a user