mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-30 18:25:34 +01:00
Add original Engraving brush library
This commit is contained in:
1 parent
c4147826a3
commit
5cf1bc53b8
34 files changed
+218
-8
No files matched your search
@@ -179,6 +179,7 @@ pub const BUILTIN: &[BuiltinBrushLibrary] = &[
|
||||
BuiltinBrushLibrary { id: "energy-beams", name: "Energy Beams", make: energy_beams },
|
||||
BuiltinBrushLibrary { id: "dry-media", name: "Dry Media", make: dry_media },
|
||||
BuiltinBrushLibrary { id: "tech-circuit", name: "Tech Circuit", make: tech_circuit },
|
||||
BuiltinBrushLibrary { id: "engraving", name: "Engraving", make: engraving },
|
||||
];
|
||||
|
||||
/// Built-in library `id`, made once.
|
||||
@@ -232,6 +233,49 @@ fn art(name: &str, art: Node, colorization: Colorization) -> Brush {
|
||||
Brush { name: name.into(), kind: BrushKind::Art(ArtBrush { art, colorization, ..Default::default() }) }
|
||||
}
|
||||
|
||||
/// Original fine-line art for an engraving-style brush library.
|
||||
fn engraving() -> BrushLibrary {
|
||||
let lines = |count: usize, width: f64, spacing: f64| {
|
||||
group(
|
||||
(0..count)
|
||||
.map(|i| {
|
||||
let y = (i as f64 - (count - 1) as f64 / 2.0) * spacing;
|
||||
black(shapes::rectangle(Rect::new(0.0, y - width / 2.0, 100.0, y + width / 2.0)))
|
||||
})
|
||||
.collect(),
|
||||
)
|
||||
};
|
||||
let taper = group(
|
||||
(0..5)
|
||||
.map(|i| {
|
||||
let y = (i as f64 - 2.0) * 2.2;
|
||||
black(polygon(&[(0.0, y - 0.35), (80.0, y - 0.35), (100.0, y), (80.0, y + 0.35), (0.0, y + 0.35)]))
|
||||
})
|
||||
.collect(),
|
||||
);
|
||||
let broken = group(
|
||||
(0..5)
|
||||
.flat_map(|row| {
|
||||
(0..4).map(move |segment| {
|
||||
let x = segment as f64 * 25.0 + if row % 2 == 0 { 0.0 } else { 8.0 };
|
||||
let y = (row as f64 - 2.0) * 2.2;
|
||||
black(shapes::rectangle(Rect::new(x, y - 0.3, (x + 16.0).min(100.0), y + 0.3)))
|
||||
})
|
||||
})
|
||||
.collect(),
|
||||
);
|
||||
built(
|
||||
"Engraving",
|
||||
Document::new(100.0, 100.0),
|
||||
vec![
|
||||
art("Fine Hatching", lines(5, 0.65, 2.2), Colorization::Tints),
|
||||
art("Dense Hatching", lines(9, 0.42, 1.2), Colorization::Tints),
|
||||
art("Tapered Hatching", taper, Colorization::Tints),
|
||||
art("Broken Hatching", broken, Colorization::Tints),
|
||||
],
|
||||
)
|
||||
}
|
||||
|
||||
/// Art Ribbons: art brushes, 100 pt long, drawn here; Striped Ribbon is filled with the library's
|
||||
/// own pattern, Pinstripes.
|
||||
fn art_ribbons() -> BrushLibrary {
|
||||
|
||||
@@ -116,7 +116,8 @@ fn the_builtin_libraries_are_original_brushes_generated_in_code() {
|
||||
"game-trails",
|
||||
"energy-beams",
|
||||
"dry-media",
|
||||
"tech-circuit"
|
||||
"tech-circuit",
|
||||
"engraving"
|
||||
]
|
||||
);
|
||||
assert!(libs.iter().all(|l| l["category"] == "builtIn"));
|
||||
@@ -218,6 +219,30 @@ fn black_stroke() -> vectorcraft_doc::StrokeLayer {
|
||||
vectorcraft_doc::StrokeLayer::new(vectorcraft_color::Paint::solid(vectorcraft_color::Color::BLACK), 1.0)
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn engraving_library_draws_fine_parallel_strokes_and_survives_save() {
|
||||
let mut s = session();
|
||||
let listed = run(&mut s, "brush.libraries", json!({}));
|
||||
let entry = listed["libraries"].as_array().unwrap().iter().find(|l| l["id"] == "engraving").unwrap();
|
||||
assert_eq!((entry["name"].as_str(), entry["category"].as_str(), entry["count"].as_u64()), (Some("Engraving"), Some("builtIn"), Some(4)));
|
||||
let (_, lib) = cmd::brushlib::library(&s, "Engraving").unwrap();
|
||||
for b in &lib.brushes {
|
||||
for length in [2.0, 200.0] {
|
||||
let pieces = vectorcraft_brush::stroke_pieces(&lib.doc, b, &line_to(length), &black_stroke());
|
||||
let pts = anchors(&pieces.iter().collect::<Vec<_>>());
|
||||
assert!(!pts.is_empty() && pts.iter().all(|p| p.x.is_finite() && p.y.is_finite()), "{} at {length} pt", b.name);
|
||||
}
|
||||
}
|
||||
let path = run(&mut s, "shape.line", json!({"x1": 10, "y1": 20, "x2": 210, "y2": 20}))["id"].as_u64().unwrap();
|
||||
let added = run(&mut s, "brush.addFromLibrary", json!({"library": "engraving", "name": "Fine Hatching", "apply": true, "ids": [path]}));
|
||||
assert_eq!(strs(&added["added"]), ["Fine Hatching"]);
|
||||
assert_eq!(added["applied"], json!([path]));
|
||||
let saved = run(&mut s, "brush.saveLibrary", json!({"names": ["Fine Hatching"]}));
|
||||
let bytes = vectorcraft_format::base64_decode(saved["dataBase64"].as_str().unwrap()).unwrap();
|
||||
let reopened = vectorcraft_format::load(&bytes).unwrap();
|
||||
assert_eq!(vectorcraft_brush::find(&reopened, "Fine Hatching").unwrap(), lib.brushes[0]);
|
||||
}
|
||||
|
||||
/// Original circuit art and repeat tiles survive adding, applying and saving a library.
|
||||
#[test]
|
||||
fn the_tech_circuit_library_constructs_adds_and_applies_each_brush() {
|
||||
|
||||
@@ -7237,3 +7237,8 @@ breakText Glyphs Глифи
|
||||
@msg A fold line is on a non-printing layer. Линия на сгъване е на слой, който не се печата.
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} Панели: {panels}, панти: {hinges}, грешки: {errors}, предупреждения: {warnings}
|
||||
@msg composer must be "singleLine", "everyLine", "standardSingleLine" or "standardEveryLine" composer трябва да е "singleLine", "everyLine", "standardSingleLine" или "standardEveryLine"
|
||||
Engraving Гравюра
|
||||
Fine Hatching Фино щриховане
|
||||
Dense Hatching Гъсто щриховане
|
||||
Tapered Hatching Изтъняващо щриховане
|
||||
Broken Hatching Прекъснато щриховане
|
||||
|
Can't render this file because it is too large.
|
@@ -7291,3 +7291,8 @@ shape Open Otvoren
|
||||
@msg A fold line is on a non-printing layer. Linija savijanja je na sloju koji se ne štampa.
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} Paneli: {panels}, šarke: {hinges}, greške: {errors}, upozorenja: {warnings}
|
||||
@msg composer must be "singleLine", "everyLine", "standardSingleLine" or "standardEveryLine" composer mora biti "singleLine", "everyLine", "standardSingleLine" ili "standardEveryLine"
|
||||
Engraving Gravura
|
||||
Fine Hatching Fino šrafiranje
|
||||
Dense Hatching Gusto šrafiranje
|
||||
Tapered Hatching Suženo šrafiranje
|
||||
Broken Hatching Isprekidano šrafiranje
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -8126,3 +8126,8 @@ breakText Glyphs Glifs
|
||||
@msg A fold line is on a non-printing layer. Una línia de plegat és en una capa que no s’imprimeix.
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} Panells: {panels}, frontisses: {hinges}, errors: {errors}, avisos: {warnings}
|
||||
@msg composer must be "singleLine", "everyLine", "standardSingleLine" or "standardEveryLine" composer ha de ser "singleLine", "everyLine", "standardSingleLine" o "standardEveryLine"
|
||||
Engraving Gravat
|
||||
Fine Hatching Ratllat fi
|
||||
Dense Hatching Ratllat dens
|
||||
Tapered Hatching Ratllat afilat
|
||||
Broken Hatching Ratllat interromput
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -9917,3 +9917,8 @@ breakText Glyphs Glyfy
|
||||
@msg A panel is not joined to the rest by a crease. Panel není se zbytkem spojen žádnou linií bigu.
|
||||
@msg A fold line is on a non-printing layer. Linie skladu je na netisknutelné vrstvě.
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} Panely: {panels}, panty: {hinges}, chyby: {errors}, upozornění: {warnings}
|
||||
Engraving Rytina
|
||||
Fine Hatching Jemné šrafování
|
||||
Dense Hatching Husté šrafování
|
||||
Tapered Hatching Zúžené šrafování
|
||||
Broken Hatching Přerušované šrafování
|
||||
|
Can't render this file because it is too large.
|
@@ -10025,3 +10025,8 @@ breakText Glyphs Glyffer
|
||||
@msg A fold line is on a non-printing layer. En foldelinje ligger på et lag, der ikke udskrives.
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} Paneler: {panels}, hængsler: {hinges}, fejl: {errors}, advarsler: {warnings}
|
||||
@msg composer must be "singleLine", "everyLine", "standardSingleLine" or "standardEveryLine" composer skal være "singleLine", "everyLine", "standardSingleLine" eller "standardEveryLine"
|
||||
Engraving Gravering
|
||||
Fine Hatching Fin skravering
|
||||
Dense Hatching Tæt skravering
|
||||
Tapered Hatching Tilspidset skravering
|
||||
Broken Hatching Afbrudt skravering
|
||||
|
Can't render this file because it is too large.
|
@@ -9516,3 +9516,8 @@ breakText Glyphs Glyphen
|
||||
@msg A panel is not joined to the rest by a crease. Ein Feld ist durch keine Rilllinie mit den übrigen verbunden.
|
||||
@msg A fold line is on a non-printing layer. Eine Faltlinie liegt auf einer nicht druckbaren Ebene.
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} Felder: {panels}, Scharniere: {hinges}, Fehler: {errors}, Warnungen: {warnings}
|
||||
Engraving Gravur
|
||||
Fine Hatching Feine Schraffur
|
||||
Dense Hatching Dichte Schraffur
|
||||
Tapered Hatching Verjüngte Schraffur
|
||||
Broken Hatching Unterbrochene Schraffur
|
||||
|
Can't render this file because it is too large.
|
@@ -8100,3 +8100,8 @@ breakText Glyphs Γλύφοι
|
||||
@msg A fold line is on a non-printing layer. Μια γραμμή δίπλωσης βρίσκεται σε επίπεδο που δεν εκτυπώνεται.
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} Πάνελ: {panels}, μεντεσέδες: {hinges}, σφάλματα: {errors}, προειδοποιήσεις: {warnings}
|
||||
@msg composer must be "singleLine", "everyLine", "standardSingleLine" or "standardEveryLine" το composer πρέπει να είναι "singleLine", "everyLine", "standardSingleLine" ή "standardEveryLine"
|
||||
Engraving Χαρακτική
|
||||
Fine Hatching Λεπτή διαγράμμιση
|
||||
Dense Hatching Πυκνή διαγράμμιση
|
||||
Tapered Hatching Κωνική διαγράμμιση
|
||||
Broken Hatching Διακεκομμένη διαγράμμιση
|
||||
|
Can't render this file because it is too large.
|
@@ -8087,3 +8087,8 @@ breakText Glyphs Glifos
|
||||
@msg A fold line is on a non-printing layer. Una línea de plegado está en una capa que no se imprime.
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} Paneles: {panels}, bisagras: {hinges}, errores: {errors}, advertencias: {warnings}
|
||||
@msg composer must be "singleLine", "everyLine", "standardSingleLine" or "standardEveryLine" composer debe ser "singleLine", "everyLine", "standardSingleLine" o "standardEveryLine"
|
||||
Engraving Grabado
|
||||
Fine Hatching Rayado fino
|
||||
Dense Hatching Rayado denso
|
||||
Tapered Hatching Rayado afilado
|
||||
Broken Hatching Rayado discontinuo
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -8183,3 +8183,8 @@ breakText Glyphs Merkit
|
||||
@msg A fold line is on a non-printing layer. Taittoviiva on tasolla, jota ei tulosteta.
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} Paneelit: {panels}, saranat: {hinges}, virheet: {errors}, varoitukset: {warnings}
|
||||
@msg composer must be "singleLine", "everyLine", "standardSingleLine" or "standardEveryLine" composer on oltava "singleLine", "everyLine", "standardSingleLine" tai "standardEveryLine"
|
||||
Engraving Kaiverrus
|
||||
Fine Hatching Hieno viivoitus
|
||||
Dense Hatching Tiheä viivoitus
|
||||
Tapered Hatching Kapeneva viivoitus
|
||||
Broken Hatching Katkoviivoitus
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -9902,3 +9902,8 @@ breakText Glyphs Glyphes
|
||||
@msg A fold line is on a non-printing layer. Une ligne de pliage se trouve sur un calque non imprimable.
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} {panels} panneau(x), {hinges} charnière(s), {errors} erreur(s), {warnings} avertissement(s)
|
||||
@msg {_1} × {_2} pixels is too large for GIF (at most 65535 pixels a side): lower the resolution {_1} × {_2} pixels, c’est trop grand pour le GIF (65535 pixels par côté au plus) : réduisez la résolution
|
||||
Engraving Gravure
|
||||
Fine Hatching Hachures fines
|
||||
Dense Hatching Hachures denses
|
||||
Tapered Hatching Hachures effilées
|
||||
Broken Hatching Hachures interrompues
|
||||
|
Can't render this file because it is too large.
|
@@ -4987,3 +4987,8 @@ swatch [Registration] [રજિસ્ટ્રેશન]
|
||||
Standard Single-line Composer સ્ટાન્ડર્ડ સિંગલ-લાઇન કમ્પોઝર
|
||||
Standard Every-line Composer સ્ટાન્ડર્ડ એવરી-લાઇન કમ્પોઝર
|
||||
@msg composer must be "singleLine", "everyLine", "standardSingleLine" or "standardEveryLine" composer આમાંથી એક હોવું જોઈએ: "singleLine", "everyLine", "standardSingleLine" અથવા "standardEveryLine"
|
||||
Engraving કોતરણી
|
||||
Fine Hatching ઝીણી રેખાઓ
|
||||
Dense Hatching ગાઢ રેખાઓ
|
||||
Tapered Hatching પાતળી થતી રેખાઓ
|
||||
Broken Hatching તૂટક રેખાઓ
|
||||
|
Can't render this file because it contains an unexpected character in line 72 and column 5.
|
@@ -9524,3 +9524,8 @@ theme Appearance अपीयरेंस
|
||||
@msg A panel is not joined to the rest by a crease. कोई पैनल किसी क्रीज़ लाइन से बाकी से जुड़ा नहीं है।
|
||||
@msg A fold line is on a non-printing layer. एक फ़ोल्ड लाइन नॉन-प्रिंटिंग लेयर पर है।
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} पैनल: {panels}, हिंज: {hinges}, एरर: {errors}, वॉर्निंग: {warnings}
|
||||
Engraving नक्काशी
|
||||
Fine Hatching बारीक रेखांकन
|
||||
Dense Hatching घना रेखांकन
|
||||
Tapered Hatching पतला होता रेखांकन
|
||||
Broken Hatching टूटा रेखांकन
|
||||
|
Can't render this file because it is too large.
|
@@ -9905,3 +9905,8 @@ breakText Glyphs Glifák
|
||||
@msg A panel is not joined to the rest by a crease. Egy panelt egyetlen bigvonal sem köt a többihez.
|
||||
@msg A fold line is on a non-printing layer. Egy hajtásvonal nem nyomtatható rétegen van.
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} Panelek: {panels}, zsanérok: {hinges}, hibák: {errors}, figyelmeztetések: {warnings}
|
||||
Engraving Metszet
|
||||
Fine Hatching Finom vonalkázás
|
||||
Dense Hatching Sűrű vonalkázás
|
||||
Tapered Hatching Elvékonyodó vonalkázás
|
||||
Broken Hatching Szaggatott vonalkázás
|
||||
|
Can't render this file because it is too large.
|
@@ -7252,3 +7252,8 @@ breakText Glyphs Glif
|
||||
@msg A fold line is on a non-printing layer. Sebuah garis lipat berada di lapisan yang tidak dicetak.
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} Panel: {panels}, engsel: {hinges}, galat: {errors}, peringatan: {warnings}
|
||||
@msg composer must be "singleLine", "everyLine", "standardSingleLine" or "standardEveryLine" composer harus "singleLine", "everyLine", "standardSingleLine", atau "standardEveryLine"
|
||||
Engraving Ukiran
|
||||
Fine Hatching Arsiran halus
|
||||
Dense Hatching Arsiran rapat
|
||||
Tapered Hatching Arsiran meruncing
|
||||
Broken Hatching Arsiran terputus
|
||||
|
Can't render this file because it contains an unexpected character in line 2511 and column 5.
|
@@ -9550,3 +9550,8 @@ breakText Glyphs Glifi
|
||||
@msg A panel is not joined to the rest by a crease. Un pannello non è unito al resto da alcuna linea di cordonatura.
|
||||
@msg A fold line is on a non-printing layer. Una linea di piega si trova su un livello non stampabile.
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} Pannelli: {panels}, cerniere: {hinges}, errori: {errors}, avvisi: {warnings}
|
||||
Engraving Incisione
|
||||
Fine Hatching Tratteggio fine
|
||||
Dense Hatching Tratteggio fitto
|
||||
Tapered Hatching Tratteggio affusolato
|
||||
Broken Hatching Tratteggio spezzato
|
||||
|
Can't render this file because it is too large.
|
@@ -9617,3 +9617,8 @@ breakText Glyphs 字形
|
||||
@msg A panel is not joined to the rest by a crease. パネルがどの筋入れ線でも他とつながっていません。
|
||||
@msg A fold line is on a non-printing layer. 折り線が印刷しないレイヤーにあります。
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} パネル: {panels}、ヒンジ: {hinges}、エラー: {errors}、警告: {warnings}
|
||||
Engraving 彫刻
|
||||
Fine Hatching 細いハッチング
|
||||
Dense Hatching 密なハッチング
|
||||
Tapered Hatching 先細りハッチング
|
||||
Broken Hatching 途切れたハッチング
|
||||
|
Can't render this file because it is too large.
|
@@ -10285,3 +10285,8 @@ font-script Japanese იაპონური
|
||||
@msg A fold line is on a non-printing layer. მოკეცვის ხაზი არაბეჭდვად შრეზეა.
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} პანელები: {panels}, ანჯამები: {hinges}, შეცდომები: {errors}, გაფრთხილებები: {warnings}
|
||||
@msg composer must be "singleLine", "everyLine", "standardSingleLine" or "standardEveryLine" composer უნდა იყოს "singleLine", "everyLine", "standardSingleLine" ან "standardEveryLine"
|
||||
Engraving გრავიურა
|
||||
Fine Hatching წვრილი შტრიხები
|
||||
Dense Hatching მჭიდრო შტრიხები
|
||||
Tapered Hatching შევიწროებული შტრიხები
|
||||
Broken Hatching წყვეტილი შტრიხები
|
||||
|
Can't render this file because it is too large.
|
@@ -9514,3 +9514,8 @@ breakText Glyphs 글리프
|
||||
@msg A panel is not joined to the rest by a crease. 패널이 어떤 오시선으로도 나머지와 연결되어 있지 않습니다.
|
||||
@msg A fold line is on a non-printing layer. 접는 선이 인쇄되지 않는 레이어에 있습니다.
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} 패널: {panels}, 힌지: {hinges}, 오류: {errors}, 경고: {warnings}
|
||||
Engraving 판화
|
||||
Fine Hatching 가는 해칭
|
||||
Dense Hatching 촘촘한 해칭
|
||||
Tapered Hatching 가늘어지는 해칭
|
||||
Broken Hatching 끊긴 해칭
|
||||
|
Can't render this file because it is too large.
|
@@ -9953,3 +9953,8 @@ breakText Glyphs Glyphs
|
||||
@msg A panel is not joined to the rest by a crease. Een paneel is door geen rillijn met de rest verbonden.
|
||||
@msg A fold line is on a non-printing layer. Een vouwlijn staat op een laag die niet wordt afgedrukt.
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} Panelen: {panels}, scharnieren: {hinges}, fouten: {errors}, waarschuwingen: {warnings}
|
||||
Engraving Gravure
|
||||
Fine Hatching Fijne arcering
|
||||
Dense Hatching Dichte arcering
|
||||
Tapered Hatching Taps toelopende arcering
|
||||
Broken Hatching Onderbroken arcering
|
||||
|
Can't render this file because it is too large.
|
@@ -9770,3 +9770,8 @@ breakText Glyphs Glify
|
||||
@msg A panel is not joined to the rest by a crease. Panel nie jest połączony z resztą żadną linią bigowania.
|
||||
@msg A fold line is on a non-printing layer. Linia zgięcia znajduje się na warstwie niedrukowanej.
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} Panele: {panels}, zawiasy: {hinges}, błędy: {errors}, ostrzeżenia: {warnings}
|
||||
Engraving Grawerowanie
|
||||
Fine Hatching Drobne kreskowanie
|
||||
Dense Hatching Gęste kreskowanie
|
||||
Tapered Hatching Zwężane kreskowanie
|
||||
Broken Hatching Przerywane kreskowanie
|
||||
|
Can't render this file because it is too large.
|
@@ -9988,3 +9988,8 @@ swatch Yellow Green Verde-amarelado
|
||||
@msg A panel is not joined to the rest by a crease. Um painel não está unido ao restante por nenhuma linha de vinco.
|
||||
@msg A fold line is on a non-printing layer. Uma linha de dobra está em uma camada não imprimível.
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} Painéis: {panels}, dobradiças: {hinges}, erros: {errors}, avisos: {warnings}
|
||||
Engraving Gravura
|
||||
Fine Hatching Hachuras finas
|
||||
Dense Hatching Hachuras densas
|
||||
Tapered Hatching Hachuras afiladas
|
||||
Broken Hatching Hachuras interrompidas
|
||||
|
Can't render this file because it is too large.
|
@@ -10011,3 +10011,8 @@ shape Open Открытый
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} Панели: {panels}, шарниры: {hinges}, ошибки: {errors}, предупреждения: {warnings}
|
||||
@msg {w} × {h} pixels is too large for PSD (at most {MAX_SIDE} pixels a side): lower the resolution {w} × {h} пикселей — слишком большой размер для PSD (не более {MAX_SIDE} пикселей по стороне): уменьшите разрешение
|
||||
@msg composer must be "singleLine", "everyLine", "standardSingleLine" or "standardEveryLine" composer должен быть "singleLine", "everyLine", "standardSingleLine" или "standardEveryLine"
|
||||
Engraving Гравировка
|
||||
Fine Hatching Тонкая штриховка
|
||||
Dense Hatching Плотная штриховка
|
||||
Tapered Hatching Сужающаяся штриховка
|
||||
Broken Hatching Прерывистая штриховка
|
||||
|
Can't render this file because it is too large.
|
@@ -9601,3 +9601,8 @@ digits Hindi Hindi
|
||||
@msg A fold line is on a non-printing layer. En falslinje ligger på ett lager som inte skrivs ut.
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} Paneler: {panels}, gångjärn: {hinges}, fel: {errors}, varningar: {warnings}
|
||||
@msg {w} × {h} pixels is too large for PSD (at most {MAX_SIDE} pixels a side): lower the resolution {w} × {h} pixlar är för stort för PSD (högst {MAX_SIDE} pixlar per sida): sänk upplösningen
|
||||
Engraving Gravyr
|
||||
Fine Hatching Fin skraffering
|
||||
Dense Hatching Tät skraffering
|
||||
Tapered Hatching Avsmalnande skraffering
|
||||
Broken Hatching Bruten skraffering
|
||||
|
Can't render this file because it is too large.
|
@@ -502,7 +502,7 @@ fn built_in_library_brush_names_are_in_complete_catalogs() {
|
||||
.collect();
|
||||
names.sort();
|
||||
names.dedup();
|
||||
assert_eq!(names.len(), 46, "{names:?}");
|
||||
assert_eq!(names.len(), 50, "{names:?}");
|
||||
let mut bad = vec![];
|
||||
for lang in LANGUAGES.iter().filter(|lang| lang.complete_menus) {
|
||||
let missing: Vec<&String> = names.iter().filter(|n| lang.catalog().plain(n).is_none()).collect();
|
||||
|
||||
@@ -9875,3 +9875,8 @@ breakText Glyphs Glifler
|
||||
@msg A panel is not joined to the rest by a crease. Bir panel geri kalanlara hiçbir pilyaj çizgisiyle bağlı değil.
|
||||
@msg A fold line is on a non-printing layer. Bir katlama çizgisi yazdırılmayan bir katmanda.
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} Paneller: {panels}, menteşeler: {hinges}, hatalar: {errors}, uyarılar: {warnings}
|
||||
Engraving Gravür
|
||||
Fine Hatching İnce tarama
|
||||
Dense Hatching Yoğun tarama
|
||||
Tapered Hatching İncelen tarama
|
||||
Broken Hatching Kesikli tarama
|
||||
|
Can't render this file because it is too large.
|
@@ -9526,3 +9526,8 @@ breakText Glyphs Гліфи
|
||||
@msg A panel is not joined to the rest by a crease. Панель не з’єднана з рештою жодною лінією біговки.
|
||||
@msg A fold line is on a non-printing layer. Лінія згину лежить на шарі, що не друкується.
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} Панелі: {panels}, шарніри: {hinges}, помилки: {errors}, попередження: {warnings}
|
||||
Engraving Гравіювання
|
||||
Fine Hatching Тонке штрихування
|
||||
Dense Hatching Щільне штрихування
|
||||
Tapered Hatching Звужене штрихування
|
||||
Broken Hatching Переривчасте штрихування
|
||||
|
Can't render this file because it is too large.
|
@@ -7759,3 +7759,8 @@ breakText Glyphs Glyph
|
||||
@msg {width} × {height} pixels is too large for Targa (at most 65535 pixels a side): lower the resolution {width} × {height} điểm ảnh quá lớn cho Targa (tối đa 65535 điểm ảnh mỗi cạnh): hãy giảm độ phân giải
|
||||
@msg {w} × {h} pixels is too large for PSD (at most {MAX_SIDE} pixels a side): lower the resolution {w} × {h} điểm ảnh quá lớn cho PSD (tối đa {MAX_SIDE} điểm ảnh mỗi cạnh): hãy giảm độ phân giải
|
||||
@msg composer must be "singleLine", "everyLine", "standardSingleLine" or "standardEveryLine" composer phải là "singleLine", "everyLine", "standardSingleLine" hoặc "standardEveryLine"
|
||||
Engraving Khắc nét
|
||||
Fine Hatching Nét gạch mảnh
|
||||
Dense Hatching Nét gạch dày
|
||||
Tapered Hatching Nét gạch thuôn
|
||||
Broken Hatching Nét gạch đứt
|
||||
|
Can't render this file because it contains an unexpected character in line 205 and column 5.
|
@@ -9758,3 +9758,8 @@ breakText Glyphs 字形
|
||||
@msg A fold line is on a non-printing layer. 一条折线位于不打印的图层上。
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} 面板:{panels},铰链:{hinges},错误:{errors},警告:{warnings}
|
||||
@msg {w} × {h} pixels is too large for PSD (at most {MAX_SIDE} pixels a side): lower the resolution {w} × {h} 像素对 PSD 而言过大 (每边最多 {MAX_SIDE} 像素):请降低分辨率
|
||||
Engraving 雕刻
|
||||
Fine Hatching 细线排线
|
||||
Dense Hatching 密集排线
|
||||
Tapered Hatching 渐细排线
|
||||
Broken Hatching 断续排线
|
||||
|
Can't render this file because it is too large.
|
@@ -9568,3 +9568,8 @@ breakText Glyphs 字符
|
||||
@msg A fold line is on a non-printing layer. 一條摺線位於不列印的圖層上。
|
||||
@msg Panels: {panels}, hinges: {hinges}, errors: {errors}, warnings: {warnings} 面板:{panels},鉸鏈:{hinges},錯誤:{errors},警告:{warnings}
|
||||
@msg {what} would print on more than {MAX_TILES} tiles: scale it down {what} 會列印在超過 {MAX_TILES} 個拼貼上:請縮小
|
||||
Engraving 雕刻
|
||||
Fine Hatching 細線排線
|
||||
Dense Hatching 密集排線
|
||||
Tapered Hatching 漸細排線
|
||||
Broken Hatching 斷續排線
|
||||
|
Can't render this file because it is too large.
|
@@ -201,7 +201,8 @@ fn the_window_menu_and_the_brushes_panel_open_brush_libraries() {
|
||||
json!("game-trails"),
|
||||
json!("energy-beams"),
|
||||
json!("dry-media"),
|
||||
json!("tech-circuit")
|
||||
json!("tech-circuit"),
|
||||
json!("engraving")
|
||||
]
|
||||
);
|
||||
let dry = entries.iter().find(|e| under(e) && e.params["library"] == "dry-media").map(|e| e.label.as_str());
|
||||
|
||||
+3
-3
@@ -670,8 +670,8 @@ macOS cursor delivery (#2292) is narrowed to a native host adapter using the exi
|
||||
libraries ([public source](https://helpx.adobe.com/illustrator/desktop/paint-and-fill/apply-and-edit-strokes/create-new-brush-libraries.html),
|
||||
[import](https://helpx.adobe.com/illustrator/desktop/paint-and-fill/apply-and-edit-strokes/import-brushes-from-brush-libraries-or-other-files.html)):
|
||||
Window › Brush Libraries and the Brushes panel's Brush Libraries Menu open each library in a library panel of
|
||||
its own (ten original libraries generated in code: Art Ribbons, Ink and Wash, Calligraphic Nibs, Bristle Brushes (one
|
||||
bristle brush for each tip shape), Pattern Borders, Scatter Shapes, Game Trails, Energy Beams, Dry Media (grainy chalk, pencil, crayon and charcoal art brushes) and Tech Circuit (Circuit Trace, Bus Lines and Terminal Nodes); User Defined; Other Library… reads the brushes of any document VectorCraft opens); a
|
||||
its own (eleven original libraries generated in code: Art Ribbons, Ink and Wash, Calligraphic Nibs, Bristle Brushes (one
|
||||
bristle brush for each tip shape), Pattern Borders, Scatter Shapes, Game Trails, Energy Beams, Dry Media (grainy chalk, pencil, crayon and charcoal art brushes), Tech Circuit (Circuit Trace, Bus Lines and Terminal Nodes), and Engraving (Fine, Dense, Tapered and Broken Hatching); User Defined; Other Library… reads the brushes of any document VectorCraft opens); a
|
||||
click adds a
|
||||
brush to the document's Brushes with the patterns, symbols and other resources its art uses, as one undo
|
||||
step (applied to the selected paths in the same step), dragging one onto a path adds and applies it and
|
||||
@@ -693,7 +693,7 @@ macOS cursor delivery (#2292) is narrowed to a native host adapter using the exi
|
||||
Fine Grain, Canvas Weave, Burlap Sack, Cracked Glaze, Mosaic Floor, Quilted Squares, Leaded Glass and Damp Paper,
|
||||
painted with the texture effects; User Defined; Other Library…; `graphicStyle.libraries`,
|
||||
`graphicStyle.addFromLibrary`).
|
||||
- **Missing:** more built-in brush libraries beyond the ten shipped (and further graphic-style libraries beyond the eleven shipped, and further symbol libraries beyond Basic
|
||||
- **Missing:** more built-in brush libraries beyond the eleven shipped (and further graphic-style libraries beyond the eleven shipped, and further symbol libraries beyond Basic
|
||||
Shapes, UI Frames, Map Markers, Inventory Icons, Skill Icons and Weather Icons; original, generated in code, never Adobe's); dynamic symbols' `.ai` read and write.
|
||||
- **Estimate:** 3–13 h (estimated).
|
||||
|
||||
|
||||
+2
-2
@@ -5035,9 +5035,9 @@ error.
|
||||
|
||||
## Brush libraries
|
||||
|
||||
Brush libraries are read-only sets of brushes: ten generated in code (Art Ribbons, Ink and Wash, Calligraphic Nibs, Bristle
|
||||
Brush libraries are read-only sets of brushes: eleven generated in code (Art Ribbons, Ink and Wash, Calligraphic Nibs, Bristle
|
||||
Brushes with one bristle brush for each tip shape, Pattern Borders, Scatter Shapes, Game Trails, Energy Beams, and Dry Media with the Chalk Grain, Graphite Pencil, Wax Crayon and
|
||||
Charcoal Dust art brushes, id `dry-media`, and Tech Circuit with Circuit Trace (art), Bus Lines and Terminal Nodes (pattern), id `tech-circuit`), the `.vectorcraft` files in the user library folder of the desktop app (User
|
||||
Charcoal Dust art brushes, id `dry-media`, and Tech Circuit with Circuit Trace (art), Bus Lines and Terminal Nodes (pattern), id `tech-circuit`, and Engraving with Fine Hatching, Dense Hatching, Tapered Hatching and Broken Hatching art brushes, id `engraving`), the `.vectorcraft` files in the user library folder of the desktop app (User
|
||||
Defined) and the brushes of any document loaded with `brush.loadLibrary` (a document without brushes of its own has
|
||||
the default ones). `brush.libraries` lists them (`id`, `name`, `category`: `builtIn`, `user` or `loaded`, `count`) and
|
||||
`brush.library {library}` returns one's brushes (`name`, `type`; `library` is an id or a name).
|
||||
|
||||
Reference in new issue
Block a user