Swatches: art Alt-dragged onto a pattern swatch replaces its tile art

Art dragged off the canvas and released with Alt (Option on macOS)
held over a pattern swatch now becomes that pattern's tile art,
through the new object.pattern.replaceArt command, as one undo step.
Every object painted with the pattern draws the new tile. Before, the
drop made a new pattern swatch whatever the modifiers. The help page
describes replacing a pattern this way, with the pattern updated in
the file:
https://web.archive.org/web/20220911143322/https://helpx.adobe.com/pdf/cs6/illustrator_reference.pdf#page=226

The pattern keeps its name, swatch, tile and options (Size Tile to Art
refits the tile), and the dragged art stays on the canvas, selected.
Art that matches the tile art records no undo step. The command is off
while a pattern is edited, and refuses art painted with the pattern
itself, directly or through symbols, other patterns, graph designs,
brushes or a graph's stored paints. Alt over any other swatch, or a
drop without Alt, still makes a new pattern swatch.

Docs: docs/mcp.md, docs/target-app-parity.md.
This commit is contained in:
dotCooCoo
2026-11-17 18:46:47 -08:00
parent ee60c51fd9
commit 45e0345cac
34 changed files with 393 additions and 7 deletions
+111 -1
View File
@@ -9,12 +9,13 @@
//! **Repeat** objects are live nodes (`NodeKind::Repeat`) holding the source art and the
//! arrangement; `vectorcraft_doc::pattern` evaluates the instances.
use std::collections::HashSet;
use std::sync::Arc;
use serde_json::{Value, json};
use vectorcraft_color::Paint;
use vectorcraft_doc::pattern::{self, Overlap, PATTERN_EDIT_LAYER, PatternDef, PatternEdit, RepeatKind, RepeatSpec, TileType, pattern_paint};
use vectorcraft_doc::swatches::PaintFn;
use vectorcraft_doc::swatches::{PaintFn, graph_paints, node_paints, override_paints, walk_with_masks};
use vectorcraft_doc::{Document, Node, NodeId, NodeKind, Selection};
use vectorcraft_geom::{Point, Rect};
@@ -37,6 +38,15 @@ pub fn specs() -> Vec<CommandSpec> {
can_make_pattern,
pattern_make
),
cmd!(
"object.pattern.replaceArt",
"Replace Pattern Art",
[],
None,
"{name, ids?} make copies of the selected art the tile art of pattern `name`, as Alt-dragging (Option-dragging on macOS) art onto its swatch in the Swatches panel does; the pattern keeps its name, swatch, tile and options (with Size Tile to Art on, the tile fits the new art), every fill and stroke painted with it draws the new tile, and the art stays on the canvas, selected; one undo step, none when the art matches the tile art already; refused while a pattern is edited, with nothing selected, and for art painted with the pattern itself → {name}",
can_replace_pattern_art,
pattern_replace_art
),
cmd!(
"object.pattern.edit",
"Edit Pattern",
@@ -198,6 +208,12 @@ fn has_selection_or_ids(s: &Session) -> std::result::Result<(), String> {
has_doc(s)
}
/// Replace Pattern Art: a document, and no pattern is being edited.
fn can_replace_pattern_art(s: &Session) -> std::result::Result<(), String> {
has_doc(s)?;
if editing(s).is_some() { Err("finish editing the pattern first".into()) } else { Ok(()) }
}
/// The repeats of the selection: selected ones, and those around a selected object. None while
/// an object of a dynamic symbol instance's art is selected.
fn selected_repeats(s: &Session) -> Vec<NodeId> {
@@ -412,6 +428,100 @@ pub(crate) fn finish_edit(d: &mut Document, sel: &mut Selection) -> Result<Strin
Ok(pe.pattern)
}
/// Give pattern `name` fresh-id copies of the selected art (or of `ids`) as its tile art, as one
/// undo step (`object.pattern.replaceArt`). The pattern keeps its name, swatch, tile and options,
/// and its tile fits the new art when its Size Tile to Art is on; paints refer to a pattern by
/// name, so every fill and stroke of it draws the new tile. The art stays where it is, selected as
/// before. Art that matches the tile art already records nothing.
fn pattern_replace_art(s: &mut Session, p: &Value) -> Result<Value> {
const C: &str = "object.pattern.replaceArt";
let name = text_param(p, "name", C)?.ok_or_else(|| bad(C, "missing name"))?.to_string();
let roots = roots(s, p, C)?;
let d = &s.doc()?.doc;
let old = d.pattern(&name).map(|def| def.art.clone()).ok_or_else(|| bad(C, format!("no pattern `{name}`")))?;
if roots.is_empty() {
return Err(bad(C, "select the art for the pattern tile"));
}
let src: Vec<Arc<Node>> = roots.iter().filter_map(|id| d.node(*id).cloned()).map(Arc::new).collect();
if paints_pattern(d, &src, &name) {
return Err(bad(C, format!("art painted with `{name}` can't be its tile")));
}
// Copies made from the same next id are equal when the art matches the tile art.
let fresh = |art: &[Arc<Node>]| copies(&mut Document::clone(d), art);
if fresh(&old) == fresh(&src) {
return Ok(json!({ "name": name }));
}
s.edit("Replace Pattern Art", |d, _| {
let art: Vec<Arc<Node>> = copies(d, &src).into_iter().map(Arc::new).collect();
if let Some(def) = d.pattern_mut(&name) {
def.art = art;
if def.size_tile_to_art {
def.fit_tile_to_art();
}
}
Ok(())
})?;
Ok(json!({ "name": name }))
}
/// What a piece of art uses by name, for [`paints_pattern`].
#[derive(Clone, Copy, PartialEq, Eq, Hash)]
enum Uses<'a> {
Symbol(&'a str),
Pattern(&'a str),
GraphDesign(&'a str),
Brush(&'a str),
}
/// Does `art` paint pattern `name`, itself or through the symbols, patterns, graph designs and
/// brushes it uses? A graph's stored series and label paints count, since its marks and labels
/// take them each time it is drawn again.
fn paints_pattern(d: &Document, art: &[Arc<Node>], name: &str) -> bool {
let brushes = vectorcraft_brush::library(d);
// What was already looked into, and the art left to look at.
let mut seen: HashSet<Uses> = HashSet::new();
let mut left: Vec<&Node> = art.iter().map(|a| &**a).collect();
while let Some(n) = left.pop() {
let mut used = vec![];
walk_with_masks(n, &mut |c| {
if let NodeKind::SymbolInstance { symbol, .. } = &c.kind {
used.push(Uses::Symbol(symbol.as_str()));
}
for it in &c.appearance.items {
if let vectorcraft_doc::AppearanceItem::Stroke(sk) = it
&& let Some(b) = &sk.brush
{
used.push(Uses::Brush(b.as_str()));
}
}
for p in node_paints(c).chain(override_paints(c)).chain(graph_paints(c)) {
if let Paint::Pattern { pattern, .. } = p {
used.push(Uses::Pattern(pattern.as_str()));
}
}
if let Some(g) = c.extras().graph.as_deref() {
used.extend(g.series_markers.iter().flatten().map(|m| Uses::GraphDesign(m.as_str())));
used.extend(g.series_columns.iter().flatten().map(|c| Uses::GraphDesign(c.design.as_str())));
}
});
for u in used {
if u == Uses::Pattern(name) {
return true;
}
if !seen.insert(u) {
continue;
}
match u {
Uses::Symbol(symbol) => left.extend(d.symbols.iter().find(|x| x.name == symbol).map(|x| &*x.art)),
Uses::Pattern(pattern) => left.extend(d.pattern(pattern).into_iter().flat_map(|x| x.art.iter().map(|a| &**a))),
Uses::GraphDesign(design) => left.extend(d.graph_designs.iter().find(|x| x.name == design).map(|x| &*x.art)),
Uses::Brush(brush) => left.extend(brushes.iter().filter(|x| x.name == brush).flat_map(|x| x.art())),
}
}
}
false
}
/// Leave pattern editing mode, discarding the changes (`object.pattern.cancel`). An existing
/// pattern gets its definition back, its name included when Pattern Options renamed it while it was
/// edited and no other pattern, swatch or color group has taken that name since. A new pattern is
+142
View File
@@ -212,6 +212,148 @@ fn cancel_new_pattern_removes_it() {
assert_eq!(doc(&s).layers.len(), 1);
}
/// A 30×40 blue rectangle at (100, 100) with no stroke, selected.
fn blue_rect(s: &mut Session) -> NodeId {
let b = rect(s, 100.0, 100.0, 30.0, 40.0);
s.execute("paint.setFill", &json!({"ids": [b.0], "color": "#0000ff"})).unwrap();
s.execute("paint.setStroke", &json!({"ids": [b.0], "none": true})).unwrap();
sel(s, &[b]);
b
}
/// Replace Pattern Art gives the pattern copies of the selected art as its tile art in one undo
/// step: the pattern keeps its name, swatch, place, tile and options, art painted with it keeps the
/// paint, and the selected art stays on the canvas, selected. Undo and Redo swap the two tiles.
#[test]
fn replace_art_gives_a_pattern_new_tile_art() {
let mut s = session();
let red = make_dots(&mut s);
let filled = rect(&mut s, 200.0, 200.0, 100.0, 100.0);
s.execute("paint.setFill", &json!({"ids": [filled.0], "swatch": "Dots"})).unwrap();
s.execute("pattern.options", &json!({"name": "Dots", "tileType": "hexByRow"})).unwrap();
let blue = blue_rect(&mut s);
let old = doc(&s).pattern("Dots").unwrap().clone();
let place = |s: &Session| doc(s).swatches_iter().position(|w| w.name == "Dots");
let (at, swatches, steps) = (place(&s), doc(&s).swatches_iter().count(), s.doc().unwrap().history.undo.len());
let v = s.execute("object.pattern.replaceArt", &json!({"name": "Dots"})).unwrap();
assert_eq!(v["name"], "Dots");
let d = doc(&s);
let def = d.pattern("Dots").unwrap();
assert_eq!(def.art.len(), 1);
assert_eq!(def.art[0].kind, node(&s, blue).kind, "the tile art is the blue rectangle");
assert_eq!(def.art[0].appearance, node(&s, blue).appearance);
assert_ne!(def.art[0].id, blue, "a copy with an id of its own");
assert_eq!((def.tile, def.tile_type, &def.name), (old.tile, old.tile_type, &old.name), "the tile and options stay");
assert_eq!((d.patterns.len(), place(&s), d.swatches_iter().count()), (1, at, swatches), "no new pattern or swatch");
assert!(is_pattern(&node(&s, filled).appearance.fill_paint(), "Dots"), "the filled art keeps the pattern");
assert!(d.node(blue).is_some() && d.node(red).is_some(), "the art stays");
assert_eq!(s.doc().unwrap().selection.objects.to_vec(), vec![blue], "the art stays selected");
let st = s.doc().unwrap();
assert_eq!((st.history.undo.len(), st.history.undo.last().map(|e| e.label.as_str())), (steps + 1, Some("Replace Pattern Art")));
let new = def.art.clone();
s.execute("edit.undo", &json!({})).unwrap();
assert_eq!(doc(&s).pattern("Dots").unwrap(), &old, "Undo gives the old tile art back");
s.execute("edit.redo", &json!({})).unwrap();
assert_eq!(doc(&s).pattern("Dots").unwrap().art, new, "Redo gives the new tile art");
}
/// With Size Tile to Art on, the tile fits the new art (and its spacing); `ids` names the art.
#[test]
fn replace_art_fits_the_tile_when_size_tile_to_art_is_on() {
let mut s = session();
make_dots(&mut s);
s.execute("pattern.options", &json!({"name": "Dots", "sizeTileToArt": true, "hSpacing": 4, "vSpacing": 6})).unwrap();
let blue = blue_rect(&mut s);
s.execute("select.set", &json!({"ids": []})).unwrap();
s.execute("object.pattern.replaceArt", &json!({"name": "Dots", "ids": [blue.0]})).unwrap();
assert_eq!(doc(&s).pattern("Dots").unwrap().tile, Rect::new(98.0, 97.0, 132.0, 143.0));
}
/// Art that matches the tile art already, its own ids aside, records no undo step.
#[test]
fn replace_art_that_matches_the_tile_art_records_nothing() {
let mut s = session();
make_dots(&mut s);
blue_rect(&mut s);
s.execute("object.pattern.replaceArt", &json!({"name": "Dots"})).unwrap();
let (before, steps) = (doc(&s).clone(), s.doc().unwrap().history.undo.len());
s.execute("object.pattern.replaceArt", &json!({"name": "Dots"})).unwrap();
assert_eq!(s.doc().unwrap().history.undo.len(), steps);
assert_eq!(doc(&s), &before);
}
/// Replace Pattern Art is refused, changing nothing, for a missing name or pattern, with no art,
/// while a pattern is edited, and for art painted with the pattern itself, directly, through
/// another pattern, through a symbol, through the paints a graph stores, through a graph design a
/// graph draws its columns with and through the art of a brush on a stroke.
#[test]
fn replace_art_is_refused_without_changing_anything() {
let mut s = session();
make_dots(&mut s);
// "Holds dots": a pattern whose tile is painted with Dots.
let other = rect(&mut s, 100.0, 100.0, 10.0, 10.0);
s.execute("paint.setFill", &json!({"ids": [other.0], "swatch": "Dots"})).unwrap();
sel(&mut s, &[other]);
s.execute("object.pattern.make", &json!({"name": "Holds dots", "edit": false})).unwrap();
let via = rect(&mut s, 150.0, 150.0, 10.0, 10.0);
s.execute("paint.setFill", &json!({"ids": [via.0], "swatch": "Holds dots"})).unwrap();
let stroked = rect(&mut s, 200.0, 200.0, 10.0, 10.0);
s.execute("paint.setStroke", &json!({"ids": [stroked.0], "swatch": "Dots"})).unwrap();
sel(&mut s, &[stroked]);
let instance = id_of(&s.execute("symbol.new", &json!({"name": "Dotted"})).unwrap());
let graph = graph_painted_with(&mut s, "Dots");
// A graph whose stored columns name design "Dotted columns", drawn with Dots, before it is drawn
// again.
let design = rect(&mut s, 300.0, 300.0, 10.0, 10.0);
s.execute("paint.setFill", &json!({"ids": [design.0], "swatch": "Dots"})).unwrap();
s.execute("graph.design", &json!({"new": "Dotted columns", "ids": [design.0]})).unwrap();
let v = s.execute("graph.create", &json!({"type": "column", "x": 300, "y": 200, "width": 60, "height": 40, "csv": ",2024\nQ1,3"}));
let designed = id_of(&v.unwrap());
let mut extras = doc_mut(&mut s).node_mut(designed).unwrap().extras_mut();
extras.graph.as_mut().unwrap().series_columns =
vec![Some(vectorcraft_doc::ColumnDesign { design: "Dotted columns".into(), ..Default::default() })];
drop(extras);
// A path stroked with an art brush whose art is filled with Dots.
let brush_art = rect(&mut s, 300.0, 350.0, 20.0, 5.0);
s.execute("paint.setFill", &json!({"ids": [brush_art.0], "swatch": "Dots"})).unwrap();
s.execute("brush.new", &json!({"type": "art", "name": "Dotted brush", "ids": [brush_art.0]})).unwrap();
let brushed = rect(&mut s, 300.0, 380.0, 40.0, 10.0);
s.execute("paint.setFill", &json!({"ids": [brushed.0], "none": true})).unwrap();
s.execute("paint.setStroke", &json!({"ids": [brushed.0], "color": "#000000"})).unwrap();
s.execute("brush.apply", &json!({"name": "Dotted brush", "ids": [brushed.0]})).unwrap();
let plain = blue_rect(&mut s);
let unchanged = |s: &Session, before: &vectorcraft_doc::Document, steps: usize, case: &str| {
assert_eq!(doc(s), before, "{case}: the document stays");
assert_eq!(s.doc().unwrap().history.undo.len(), steps, "{case}: no undo step");
};
let (before, steps) = (doc(&s).clone(), s.doc().unwrap().history.undo.len());
for (case, p, why) in [
("no name", json!({}), "missing name".to_string()),
("no pattern", json!({"name": "Stripes"}), "no pattern `Stripes`".into()),
("no art", json!({"name": "Dots", "ids": [9999]}), "select the art for the pattern tile".into()),
("painted with it", json!({"name": "Dots", "ids": [other.0]}), "art painted with `Dots` can't be its tile".into()),
("through a pattern", json!({"name": "Dots", "ids": [via.0]}), "art painted with `Dots` can't be its tile".into()),
("through a symbol", json!({"name": "Dots", "ids": [instance.0]}), "art painted with `Dots` can't be its tile".into()),
("through a graph's paints", json!({"name": "Dots", "ids": [graph.0]}), "art painted with `Dots` can't be its tile".into()),
("through a graph design", json!({"name": "Dots", "ids": [designed.0]}), "art painted with `Dots` can't be its tile".into()),
("through a brush", json!({"name": "Dots", "ids": [brushed.0]}), "art painted with `Dots` can't be its tile".into()),
] {
let err = s.execute("object.pattern.replaceArt", &p).unwrap_err();
assert!(err.to_string().contains(&why), "{case}: {err}");
unchanged(&s, &before, steps, case);
}
s.execute("select.set", &json!({"ids": []})).unwrap();
let (before, steps) = (doc(&s).clone(), s.doc().unwrap().history.undo.len());
let err = s.execute("object.pattern.replaceArt", &json!({"name": "Dots"})).unwrap_err();
assert!(err.to_string().contains("select the art for the pattern tile"), "nothing selected: {err}");
unchanged(&s, &before, steps, "nothing selected");
s.execute("object.pattern.edit", &json!({"name": "Holds dots"})).unwrap();
let (before, steps) = (doc(&s).clone(), s.doc().unwrap().history.undo.len());
let err = s.execute("object.pattern.replaceArt", &json!({"name": "Dots", "ids": [plain.0]})).unwrap_err();
assert!(matches!(&err, EngineError::Disabled(_, w) if w == "finish editing the pattern first"), "while editing: {err}");
unchanged(&s, &before, steps, "while editing");
}
fn doc_mut(s: &mut Session) -> &mut vectorcraft_doc::Document {
Arc::make_mut(&mut s.doc_mut().unwrap().doc)
}
+1
View File
@@ -6861,6 +6861,7 @@ breakText Glyphs Глифи
Remove Strokes Премахване на щрихи
Place Brush Art Поставяне на графика на четка
Replace Brush Art Замяна на графика на четка
Replace Pattern Art Замяна на графика на мостра
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? Щрихи използват тази четка. Да се приложи ли новата графика към тези щрихи, или те да останат както са и да се добави копие на четката с новата графика?
Apply to Strokes Прилагане към щрихите
Leave Strokes Оставяне на щрихите
Can't render this file because it is too large.
+1
View File
@@ -6914,6 +6914,7 @@ shape Open Otvoren
Remove Strokes Ukloni poteze
Place Brush Art Postavi crtež četkice
Replace Brush Art Zamijeni crtež četkice
Replace Pattern Art Zamijeni crtež uzorka
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? Potezi koriste ovu četkicu. Primijeniti novi crtež na te poteze ili ih ostaviti kakvi jesu i dodati kopiju četkice s novim crtežom?
Apply to Strokes Primijeni na poteze
Leave Strokes Ostavi poteze
Can't render this file because it contains an unexpected character in line 2 and column 73.
+2
View File
@@ -6209,6 +6209,7 @@ liquify-list-end {0}, {1} {0} i {1}
@msg no native format no hi ha format natiu
@msg no pages no hi ha pàgines
@msg no pattern `{name}` no hi ha el motiu `{name}`
@msg art painted with `{name}` can't be its tile un art pintat amb `{name}` no pot ser el seu mosaic
@msg no pattern swatch `{name}` no hi ha la mostra de motiu `{name}`
@msg no perspective grid preset named `{name}` no hi ha cap preajust de quadrícula de perspectiva anomenat `{name}`
@msg no plug-in {0} is installed no hi ha instal·lat el complement {0}
@@ -7586,6 +7587,7 @@ breakText Glyphs Glifs
Remove Strokes Elimina els traços
Place Brush Art Col·loca l’art del pinzell
Replace Brush Art Substitueix l’art del pinzell
Replace Pattern Art Substitueix l’art del motiu
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? Hi ha traços que fan servir aquest pinzell. Voleu aplicar l’art nou a aquests traços, o deixar-los com estan i afegir una còpia del pinzell amb l’art nou?
Apply to Strokes Aplica als traços
Leave Strokes Deixa els traços
Can't render this file because it contains an unexpected character in line 2 and column 73.
+2
View File
@@ -5361,6 +5361,7 @@ liquify-list-end {0}, {1} {0} a {1}
@msg no native format chybí nativní formát
@msg no pages žádné stránky
@msg no pattern `{name}` vzorek `{name}` neexistuje
@msg art painted with `{name}` can't be its tile kresba vybarvená vzorkem `{name}` nemůže být jeho dlaždicí
@msg no perspective grid preset named `{name}` přednastavení perspektivní mřížky s názvem `{name}` neexistuje
@msg no plug-in {0} is installed zásuvný modul {0} není nainstalován
@msg no plug-in {id} is installed zásuvný modul {id} není nainstalován
@@ -7576,6 +7577,7 @@ breakText Glyphs Glyfy
Remove Strokes Odebrat tahy
Place Brush Art Umístit kresbu štětce
Replace Brush Art Nahradit kresbu štětce
Replace Pattern Art Nahradit kresbu vzorku
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? Tahy používají tento štětec. Použít novou kresbu na tyto tahy, nebo je ponechat beze změny a přidat kopii štětce s novou kresbou?
Apply to Strokes Použít na tahy
Leave Strokes Ponechat tahy
Can't render this file because it is too large.
+2
View File
@@ -7548,6 +7548,7 @@ imageTrace Outline Kontur
@msg no native format intet indbygget format
@msg no pages ingen sider
@msg no pattern `{name}` intet mønster `{name}`
@msg art painted with `{name}` can't be its tile grafik malet med `{name}` kan ikke være dens flise
@msg no perspective grid preset named `{name}` ingen perspektivgitterforudindstilling med navnet `{name}`
@msg no plug-in {0} is installed plug-in'et {0} er ikke installeret
@msg no plug-in {id} is installed plug-in'et {id} er ikke installeret
@@ -9636,6 +9637,7 @@ breakText Glyphs Glyffer
Remove Strokes Fjern streger
Place Brush Art Placér penselgrafik
Replace Brush Art Erstat penselgrafik
Replace Pattern Art Erstat mønstergrafik
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? Streger bruger denne pensel. Anvend den nye grafik på stregerne, eller lad dem være, som de er, og tilføj en kopi af penslen med den nye grafik?
Apply to Strokes Anvend på streger
Leave Strokes Bevar streger
Can't render this file because it is too large.
+2
View File
@@ -4963,6 +4963,7 @@ liquify-list-end {0}, {1} {0} und {1}
@msg no native format kein natives Format
@msg no pages keine Seiten
@msg no pattern `{name}` kein Muster `{name}`
@msg art painted with `{name}` can't be its tile mit `{name}` gefärbtes Bildmaterial kann nicht dessen Kachel sein
@msg no perspective grid preset named `{name}` keine Vorgabe für Perspektivenraster namens `{name}`
@msg no plug-in {0} is installed es ist kein Plug-in {0} installiert
@msg no plug-in {id} is installed es ist kein Plug-in {id} installiert
@@ -7169,6 +7170,7 @@ breakText Glyphs Glyphen
Remove Strokes Konturen entfernen
Place Brush Art Pinselgrafik platzieren
Replace Brush Art Pinselgrafik ersetzen
Replace Pattern Art Mustergrafik ersetzen
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? Konturen verwenden diesen Pinsel. Die neue Grafik auf diese Konturen anwenden oder sie unverändert lassen und eine Kopie des Pinsels mit der neuen Grafik hinzufügen?
Apply to Strokes Auf Konturen anwenden
Leave Strokes Konturen beibehalten
Can't render this file because it is too large.
+2
View File
@@ -5020,6 +5020,7 @@ digits Malayalam Μαλαγιάλαμ
@msg no native format δεν υπάρχει εγγενής μορφή
@msg no pages δεν υπάρχουν σελίδες
@msg no pattern `{name}` δεν υπάρχει μοτίβο `{name}`
@msg art painted with `{name}` can't be its tile σχέδιο βαμμένο με `{name}` δεν μπορεί να είναι το πλακίδιό του
@msg no perspective grid preset named `{name}` δεν υπάρχει προεπιλογή πλέγματος προοπτικής με όνομα `{name}`
@msg no plug-in {0} is installed δεν είναι εγκατεστημένο το πρόσθετο {0}
@msg no plug-in {id} is installed δεν είναι εγκατεστημένο το πρόσθετο {id}
@@ -7559,6 +7560,7 @@ breakText Glyphs Γλύφοι
Remove Strokes Αφαίρεση περιγραμμάτων
Place Brush Art Τοποθέτηση σχεδίου πινέλου
Replace Brush Art Αντικατάσταση σχεδίου πινέλου
Replace Pattern Art Αντικατάσταση σχεδίου μοτίβου
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? Περιγράμματα χρησιμοποιούν αυτό το πινέλο. Να εφαρμοστεί το νέο σχέδιο σε αυτά τα περιγράμματα ή να μείνουν ως έχουν και να προστεθεί αντίγραφο του πινέλου με το νέο σχέδιο;
Apply to Strokes Εφαρμογή στα περιγράμματα
Leave Strokes Διατήρηση περιγραμμάτων
Can't render this file because it is too large.
+2
View File
@@ -5066,6 +5066,7 @@ liquify-list-end {0}, {1} {0}, {1}
@msg no native format no hay formato nativo
@msg no pages no hay páginas
@msg no pattern `{name}` no existe el motivo `{name}`
@msg art painted with `{name}` can't be its tile una ilustración pintada con `{name}` no puede ser su azulejo
@msg no perspective grid preset named `{name}` no hay ningún preajuste de cuadrícula de perspectiva llamado `{name}`
@msg no plug-in {0} is installed no hay ningún plugin {0} instalado
@msg no plug-in {id} is installed no hay ningún plugin {id} instalado
@@ -7547,6 +7548,7 @@ breakText Glyphs Glifos
Remove Strokes Quitar trazos
Place Brush Art Colocar ilustración del pincel
Replace Brush Art Reemplazar ilustración del pincel
Replace Pattern Art Reemplazar ilustración del motivo
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? Algunos trazos usan este pincel. ¿Aplicar la nueva ilustración a esos trazos, o dejarlos como están y añadir una copia del pincel con la nueva ilustración?
Apply to Strokes Aplicar a los trazos
Leave Strokes Dejar los trazos
Can't render this file because it contains an unexpected character in line 2 and column 73.
+2
View File
@@ -5290,6 +5290,7 @@ liquify-list-end {0}, {1} {0} ja {1}
@msg no native format ei omaa tiedostomuotoa
@msg no pages ei sivuja
@msg no pattern `{name}` ei kuviota `{name}`
@msg art painted with `{name}` can't be its tile kuviolla `{name}` maalattu kuvitus ei voi olla sen ruutu
@msg no perspective grid preset named `{name}` ei perspektiiviruudukon esiasetusta nimeltä `{name}`
@msg no plug-in {0} is installed laajennusta {0} ei ole asennettu
@msg no plug-in {id} is installed laajennusta {id} ei ole asennettu
@@ -7635,6 +7636,7 @@ breakText Glyphs Merkit
Remove Strokes Poista viivat
Place Brush Art Sijoita siveltimen kuvitus
Replace Brush Art Korvaa siveltimen kuvitus
Replace Pattern Art Korvaa kuvion kuvitus
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? Viivat käyttävät tätä sivellintä. Käytetäänkö uutta kuvitusta näissä viivoissa, vai jätetäänkö ne ennalleen ja lisätään siveltimestä kopio, jossa on uusi kuvitus?
Apply to Strokes Käytä viivoihin
Leave Strokes Jätä viivat ennalleen
Can't render this file because it contains an unexpected character in line 2 and column 73.
+2
View File
@@ -5028,6 +5028,7 @@ liquify-list-end {0}, {1} {0} et {1}
@msg no native format aucun format natif
@msg no pages aucune page
@msg no pattern `{name}` aucun motif `{name}`
@msg art painted with `{name}` can't be its tile une illustration peinte avec `{name}` ne peut pas être son carreau
@msg no perspective grid preset named `{name}` aucun paramètre prédéfini de grille de perspective nommé `{name}`
@msg no plug-in {0} is installed aucun plug-in {0} n’est installé
@msg no plug-in {id} is installed aucun plug-in {id} n’est installé
@@ -7571,6 +7572,7 @@ breakText Glyphs Glyphes
Remove Strokes Supprimer les contours
Place Brush Art Placer l’illustration de la forme
Replace Brush Art Remplacer l’illustration de la forme
Replace Pattern Art Remplacer l’illustration du motif
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? Des contours utilisent cette forme. Appliquer la nouvelle illustration à ces contours, ou les laisser tels quels et ajouter une copie de la forme avec la nouvelle illustration ?
Apply to Strokes Appliquer aux contours
Leave Strokes Conserver les contours
Can't render this file because it is too large.
+1
View File
@@ -4770,6 +4770,7 @@ antiAlias Sharp શાર્પ
Composition કમ્પોઝિશન
Place Brush Art બ્રશ આર્ટ પ્લેસ કરો
Replace Brush Art બ્રશ આર્ટ બદલો
Replace Pattern Art પેટર્ન આર્ટ બદલો
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? સ્ટ્રોક્સ આ બ્રશ વાપરે છે. તે સ્ટ્રોક્સ પર નવી આર્ટ લાગુ કરવી છે કે તેમને જેમ છે તેમ રાખીને નવી આર્ટવાળી બ્રશની નકલ ઉમેરવી છે?
Apply to Strokes સ્ટ્રોક્સ પર લાગુ કરો
Leave Strokes સ્ટ્રોક્સ જેમ છે તેમ રાખો
Can't render this file because it contains an unexpected character in line 72 and column 5.
+2
View File
@@ -4052,6 +4052,7 @@ antiAlias Sharp शार्प
Remove Strokes स्ट्रोक हटाएँ
Place Brush Art ब्रश आर्टवर्क रखें
Replace Brush Art ब्रश आर्टवर्क बदलें
Replace Pattern Art पैटर्न आर्टवर्क बदलें
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? स्ट्रोक्स इस ब्रश का उपयोग कर रहे हैं। नया आर्टवर्क उन स्ट्रोक्स पर लागू करें, या उन्हें जैसा है वैसा छोड़कर नए आर्टवर्क वाले ब्रश की एक कॉपी जोड़ें?
Apply to Strokes स्ट्रोक्स पर लागू करें
Leave Strokes स्ट्रोक्स जैसे हैं वैसे छोड़ें
@@ -7741,6 +7742,7 @@ liquify-list-end {0}, {1} {0} और {1}
@msg no parent layer कोई अभिभावक लेयर नहीं
@msg no Pathfinder operation applied yet अभी तक कोई पाथफाइंडर ऑपरेशन लागू नहीं है
@msg no pattern `{name}` कोई पैटर्न `{name}` नहीं
@msg art painted with `{name}` can't be its tile `{name}` से रंगी कला उसकी टाइल नहीं हो सकती
@msg no pattern named `{choice}` `{choice}` नाम का कोई पैटर्न नहीं
@msg no pattern swatch `{name}` कोई पैटर्न स्वॉच `{name}` नहीं
@msg no PDF preset named `{n}` कोई PDF प्रीसेट नहीं है जिसका नाम `{n}` है
Can't render this file because it is too large.
+2
View File
@@ -5735,6 +5735,7 @@ liquify-list-end {0}, {1} {0} és {1}
@msg no native format nincs natív formátum
@msg no pages nincsenek oldalak
@msg no pattern `{name}` nincs ilyen mintázat: `{name}`
@msg art painted with `{name}` can't be its tile a(z) `{name}` mintázattal festett grafika nem lehet annak csempéje
@msg no perspective grid preset named `{name}` nincs ilyen nevű perspektivikusrács-előbeállítás: `{name}`
@msg no plug-in {0} is installed nincs telepítve ilyen bővítmény: {0}
@msg no plug-in {id} is installed nincs telepítve ilyen bővítmény: {id}
@@ -7561,6 +7562,7 @@ breakText Glyphs Glifák
Remove Strokes Körvonalak eltávolítása
Place Brush Art Ecsetgrafika elhelyezése
Replace Brush Art Ecsetgrafika cseréje
Replace Pattern Art Mintázatgrafika cseréje
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? Körvonalak használják ezt az ecsetet. Alkalmazod az új grafikát ezekre a körvonalakra, vagy változatlanul hagyod őket, és hozzáadod az ecset egy másolatát az új grafikával?
Apply to Strokes Alkalmazás a körvonalakra
Leave Strokes Körvonalak megtartása
Can't render this file because it is too large.
+1
View File
@@ -6876,6 +6876,7 @@ breakText Glyphs Glif
Remove Strokes Hapus Stroke
Place Brush Art Tempatkan karya seni kuas
Replace Brush Art Ganti karya seni kuas
Replace Pattern Art Ganti karya seni pola
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? Stroke menggunakan kuas ini. Terapkan karya seni baru ke stroke tersebut, atau biarkan apa adanya dan tambahkan salinan kuas dengan karya seni baru?
Apply to Strokes Terapkan ke Stroke
Leave Strokes Biarkan Stroke
Can't render this file because it contains an unexpected character in line 2511 and column 5.
+2
View File
@@ -5096,6 +5096,7 @@ liquify-list-end {0}, {1} {0} e {1}
@msg no native format nessun formato nativo
@msg no pages nessuna pagina
@msg no pattern `{name}` nessun motivo `{name}`
@msg art painted with `{name}` can't be its tile una grafica dipinta con `{name}` non può esserne la porzione
@msg no perspective grid preset named `{name}` nessun preset di griglia prospettica denominato `{name}`
@msg no plug-in {0} is installed nessun plug-in {0} installato
@msg no plug-in {id} is installed nessun plug-in {id} installato
@@ -7205,6 +7206,7 @@ breakText Glyphs Glifi
Remove Strokes Rimuovi tracce
Place Brush Art Inserisci grafica del pennello
Replace Brush Art Sostituisci grafica del pennello
Replace Pattern Art Sostituisci grafica del motivo
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? Alcune tracce usano questo pennello. Applicare la nuova grafica a queste tracce, o lasciarle come sono e aggiungere una copia del pennello con la nuova grafica?
Apply to Strokes Applica alle tracce
Leave Strokes Lascia le tracce
Can't render this file because it is too large.
+2
View File
@@ -4888,6 +4888,7 @@ swatch Bright Violet ビビッドバイオレット
@msg {label}: select paths, compound paths, groups or text {label}: パス、複合パス、グループ、テキストのいずれかを選択してください
@msg already editing a pattern すでにパターンを編集中です
@msg no pattern `{name}` パターン `{name}` が見つかりません
@msg art painted with `{name}` can't be its tile `{name}` でペイントされたアートはそのタイルにできません
@msg not in pattern editing mode パターン編集モードではありません
@msg finish editing the pattern first 先にパターンの編集を終了してください
@msg pattern missing パターンが見つかりません
@@ -9080,6 +9081,7 @@ breakText Glyphs 字形
Remove Strokes 線を削除
Place Brush Art ブラシのアートを配置
Replace Brush Art ブラシのアートを置き換え
Replace Pattern Art パターンのアートを置き換え
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? このブラシは線で使われています。新しいアートをそれらの線に適用しますか?それとも線をそのままにして、新しいアートを持つブラシのコピーを追加しますか?
Apply to Strokes 線に適用
Leave Strokes 線を保持
Can't render this file because it is too large.
+2
View File
@@ -6875,6 +6875,7 @@ font-technology Variable ცვლადი
@msg no native format საკუთარი ფორმატი არ არის
@msg no pages გვერდები არ არის
@msg no pattern `{name}` პატერნი `{name}` არ არის
@msg art painted with `{name}` can't be its tile `{name}`-ით შეღებილი ნახატი მისი ფილა ვერ იქნება
@msg no perspective grid preset named `{name}` პერსპექტივის ბადის პრესეტი სახელით `{name}` არ არის
@msg no plug-in {0} is installed პლაგინი {0} დაინსტალირებული არ არის
@msg no plug-in {id} is installed პლაგინი {id} დაინსტალირებული არ არის
@@ -9790,6 +9791,7 @@ breakText Glyphs გლიფები
Remove Strokes კონტურების მოხსნა
Place Brush Art ფუნჯის ნახატის განთავსება
Replace Brush Art ფუნჯის ნახატის ჩანაცვლება
Replace Pattern Art პატერნის ნახატის ჩანაცვლება
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? კონტურები იყენებს ამ ფუნჯს. გამოყენებულ იქნას ახალი ნახატი ამ კონტურებზე, თუ დარჩეს ისინი როგორც არის და დაემატოს ფუნჯის ასლი ახალი ნახატით?
Apply to Strokes კონტურებზე გამოყენება
Leave Strokes კონტურების დატოვება
Can't render this file because it is too large.
+2
View File
@@ -4815,6 +4815,7 @@ theme Appearance 외관
@msg {label}: select paths, compound paths, groups or text {label}: 패스, 컴파운드 패스, 그룹 또는 텍스트를 선택하세요
@msg already editing a pattern 이미 패턴을 편집 중입니다
@msg no pattern `{name}` `{name}` 패턴이 없습니다
@msg art painted with `{name}` can't be its tile `{name}` 패턴으로 칠한 아트웍은 그 타일이 될 수 없습니다
@msg not in pattern editing mode 패턴 편집 모드가 아닙니다
@msg finish editing the pattern first 먼저 패턴 편집을 마치세요
@msg pattern missing 패턴이 없습니다
@@ -7169,6 +7170,7 @@ breakText Glyphs 글리프
Remove Strokes 선 제거
Place Brush Art 브러시 아트 배치
Replace Brush Art 브러시 아트 바꾸기
Replace Pattern Art 패턴 아트 바꾸기
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? 선에서 이 브러시를 사용합니다. 새 아트를 해당 선에 적용하시겠습니까, 아니면 선을 그대로 두고 새 아트로 브러시 사본을 추가하시겠습니까?
Apply to Strokes 선에 적용
Leave Strokes 선 유지
Can't render this file because it is too large.
+2
View File
@@ -5421,6 +5421,7 @@ imageTrace Outline Contour
@msg no native format geen eigen indeling
@msg no pages geen pagina's
@msg no pattern `{name}` geen patroon `{name}`
@msg art painted with `{name}` can't be its tile illustratie die met `{name}` is geverfd, kan niet de tegel ervan zijn
@msg no perspective grid preset named `{name}` geen perspectiefrastervoorinstelling met de naam `{name}`
@msg no plug-in {0} is installed er is geen plug-in {0} geïnstalleerd
@msg no plug-in {id} is installed er is geen plug-in {id} geïnstalleerd
@@ -9458,6 +9459,7 @@ breakText Glyphs Glyphs
Remove Strokes Contouren verwijderen
Place Brush Art Penseelillustratie plaatsen
Replace Brush Art Penseelillustratie vervangen
Replace Pattern Art Patroonillustratie vervangen
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? Contouren gebruiken dit penseel. De nieuwe illustratie op deze contouren toepassen, of ze laten zoals ze zijn en een kopie van het penseel met de nieuwe illustratie toevoegen?
Apply to Strokes Op contouren toepassen
Leave Strokes Contouren behouden
Can't render this file because it is too large.
+2
View File
@@ -5184,6 +5184,7 @@ liquify-list-end {0}, {1} {0} i {1}
@msg no native format brak formatu natywnego
@msg no pages brak stron
@msg no pattern `{name}` brak wzorka `{name}`
@msg art painted with `{name}` can't be its tile grafika malowana wzorkiem `{name}` nie może być jego kafelkiem
@msg no perspective grid preset named `{name}` brak ustawienia siatki perspektywy o nazwie `{name}`
@msg no plug-in {0} is installed wtyczka {0} nie jest zainstalowana
@msg no plug-in {id} is installed wtyczka {id} nie jest zainstalowana
@@ -7432,6 +7433,7 @@ breakText Glyphs Glify
Remove Strokes Usuń obrysy
Place Brush Art Umieść kompozycję pędzla
Replace Brush Art Zastąp kompozycję pędzla
Replace Pattern Art Zastąp kompozycję wzorka
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? Obrysy używają tego pędzla. Zastosować nową kompozycję do tych obrysów, czy pozostawić je bez zmian i dodać kopię pędzla z nową kompozycją?
Apply to Strokes Zastosuj do obrysów
Leave Strokes Pozostaw obrysy
Can't render this file because it is too large.
+2
View File
@@ -4370,6 +4370,7 @@ axis Both Ambos
@msg no native format sem formato nativo
@msg no pages sem páginas
@msg no pattern `{name}` nenhum padrão `{name}`
@msg art painted with `{name}` can't be its tile uma arte pintada com `{name}` não pode ser o ladrilho dele
@msg no perspective grid preset named `{name}` nenhuma predefinição de grade de perspectiva chamada `{name}`
@msg no plug-in {0} is installed o plug-in {0} não está instalado
@msg no plug-in {id} is installed o plug-in {id} não está instalado
@@ -7608,6 +7609,7 @@ breakText Glyphs Glifos
Remove Strokes Remover Traçados
Place Brush Art Colocar Arte do Pincel
Replace Brush Art Substituir Arte do Pincel
Replace Pattern Art Substituir Arte do Padrão
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? Traçados usam este pincel. Aplicar a nova arte a esses traçados, ou deixá-los como estão e adicionar uma cópia do pincel com a nova arte?
Apply to Strokes Aplicar aos Traçados
Leave Strokes Manter Traçados
Can't render this file because it is too large.
+2
View File
@@ -5090,6 +5090,7 @@ liquify-list-end {0}, {1} {0} и {1}
@msg no native format нет собственного формата
@msg no pages нет страниц
@msg no pattern `{name}` нет узора `{name}`
@msg art painted with `{name}` can't be its tile графика, окрашенная узором `{name}`, не может быть его плиткой
@msg no perspective grid preset named `{name}` нет набора сетки перспективы с именем `{name}`
@msg no plug-in {0} is installed модуль {0} не установлен
@msg no plug-in {id} is installed модуль {id} не установлен
@@ -7566,6 +7567,7 @@ breakText Glyphs Глифы
Remove Strokes Убрать обводки
Place Brush Art Поместить рисунок кисти
Replace Brush Art Заменить рисунок кисти
Replace Pattern Art Заменить рисунок узора
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? Обводки используют эту кисть. Применить новый рисунок к этим обводкам или оставить их как есть и добавить копию кисти с новым рисунком?
Apply to Strokes Применить к обводкам
Leave Strokes Оставить обводки
Can't render this file because it is too large.
+2
View File
@@ -4963,6 +4963,7 @@ liquify-list-end {0}, {1} {0} och {1}
@msg no native format inget eget format
@msg no pages inga sidor
@msg no pattern `{name}` inget mönster `{name}`
@msg art painted with `{name}` can't be its tile grafik målad med `{name}` kan inte vara dess ruta
@msg no perspective grid preset named `{name}` ingen förinställning för perspektivrutnät med namnet `{name}`
@msg no plug-in {0} is installed inget plugin {0} är installerat
@msg no plug-in {id} is installed inget plugin {id} är installerat
@@ -7604,6 +7605,7 @@ breakText Glyphs Glyfer
Remove Strokes Ta bort konturer
Place Brush Art Placera penselgrafik
Replace Brush Art Ersätt penselgrafik
Replace Pattern Art Ersätt mönstergrafik
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? Konturer använder den här penseln. Använd den nya grafiken på konturerna, eller låt dem vara som de är och lägg till en kopia av penseln med den nya grafiken?
Apply to Strokes Använd på konturer
Leave Strokes Behåll konturer
Can't render this file because it is too large.
+2
View File
@@ -4781,6 +4781,7 @@ liquify-list-end {0}, {1} {0} ve {1}
@msg no native format yerel format yok
@msg no pages sayfa yok
@msg no pattern `{name}` `{name}` deseni yok
@msg art painted with `{name}` can't be its tile `{name}` ile boyanmış resim onun döşemesi olamaz
@msg no perspective grid preset named `{name}` `{name}` adında perspektif ızgarası ön ayarı yok
@msg no plug-in {0} is installed {0} eklentisi kurulu değil
@msg no plug-in {id} is installed {id} eklentisi kurulu değil
@@ -9457,6 +9458,7 @@ breakText Glyphs Glifler
Remove Strokes Konturları Kaldır
Place Brush Art Fırça Çizimini Yerleştir
Replace Brush Art Fırça Çizimini Değiştir
Replace Pattern Art Desen Çizimini Değiştir
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? Konturlar bu fırçayı kullanıyor. Yeni çizim bu konturlara uygulansın mı, yoksa konturlar olduğu gibi bırakılıp fırçanın yeni çizimli bir kopyası mı eklensin?
Apply to Strokes Konturlara Uygula
Leave Strokes Konturları Bırak
Can't render this file because it is too large.
+2
View File
@@ -5080,6 +5080,7 @@ liquify-list-end {0}, {1} {0} і {1}
@msg no native format немає власного формату
@msg no pages немає сторінок
@msg no pattern `{name}` немає візерунка `{name}`
@msg art painted with `{name}` can't be its tile графіка, зафарбована візерунком `{name}`, не може бути його плиткою
@msg no perspective grid preset named `{name}` немає набору сітки перспективи з ім’ям `{name}`
@msg no plug-in {0} is installed модуль {0} не встановлений
@msg no plug-in {id} is installed модуль {id} не встановлений
@@ -7187,6 +7188,7 @@ breakText Glyphs Гліфи
Remove Strokes Забрати обведення
Place Brush Art Розмістити малюнок пензля
Replace Brush Art Замінити малюнок пензля
Replace Pattern Art Замінити малюнок візерунка
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? Обведення використовують цей пензель. Застосувати новий малюнок до цих обведень чи залишити їх як є і додати копію пензля з новим малюнком?
Apply to Strokes Застосувати до обведень
Leave Strokes Залишити обведення
Can't render this file because it is too large.
+2
View File
@@ -5421,6 +5421,7 @@ liquify-list-end {0}, {1} {0} và {1}
@msg no native format không có định dạng gốc
@msg no pages không có trang
@msg no pattern `{name}` không có họa tiết `{name}`
@msg art painted with `{name}` can't be its tile đối tượng được tô bằng `{name}` không thể làm ô của nó
@msg no perspective grid preset named `{name}` không có thiết lập sẵn lưới phối cảnh tên `{name}`
@msg no plug-in {0} is installed plug-in {0} chưa được cài đặt
@msg no plug-in {id} is installed plug-in {id} chưa được cài đặt
@@ -7218,6 +7219,7 @@ breakText Glyphs Glyph
Remove Strokes Gỡ nét
Place Brush Art Đặt đối tượng của cọ
Replace Brush Art Thay đối tượng của cọ
Replace Pattern Art Thay đối tượng của họa tiết
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? Có nét đang dùng cọ này. Áp dụng đối tượng mới cho các nét đó, hay giữ nguyên chúng và thêm một bản sao của cọ với đối tượng mới?
Apply to Strokes Áp dụng cho nét
Leave Strokes Giữ nguyên nét
Can't render this file because it contains an unexpected character in line 205 and column 5.
+2
View File
@@ -4586,6 +4586,7 @@ imageTrace Outline 轮廓
@msg {label}: select paths, compound paths, groups or text {label}:请选择路径、复合路径、编组或文字
@msg already editing a pattern 已在编辑图案
@msg no pattern `{name}` 没有图案 `{name}`
@msg art painted with `{name}` can't be its tile 使用 `{name}` 上色的图稿不能作为它的拼贴
@msg not in pattern editing mode 不在图案编辑模式中
@msg finish editing the pattern first 请先完成图案编辑
@msg pattern missing 缺少图案
@@ -7419,6 +7420,7 @@ breakText Glyphs 字形
Remove Strokes 移除描边
Place Brush Art 置入画笔图稿
Replace Brush Art 替换画笔图稿
Replace Pattern Art 替换图案图稿
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? 有描边使用了此画笔。要将新图稿应用到这些描边,还是保留描边不变并添加一个使用新图稿的画笔副本?
Apply to Strokes 应用于描边
Leave Strokes 保留描边
Can't render this file because it is too large.
+2
View File
@@ -2119,6 +2119,7 @@ file-filter Templates 範本
@msg {label}: select paths, compound paths, groups or text {label}:請選取路徑、複合路徑、群組或文字
@msg already editing a pattern 已在編輯圖樣
@msg no pattern `{name}` 沒有圖樣 `{name}`
@msg art painted with `{name}` can't be its tile 以 `{name}` 上色的圖稿不能作為它的拼貼
@msg not in pattern editing mode 不在圖樣編輯模式中
@msg finish editing the pattern first 請先完成圖樣編輯
@msg pattern missing 找不到圖樣
@@ -7228,6 +7229,7 @@ breakText Glyphs 字符
Remove Strokes 移除筆畫
Place Brush Art 置入筆刷圖稿
Replace Brush Art 取代筆刷圖稿
Replace Pattern Art 取代圖樣圖稿
Strokes use this brush. Apply the new art to those strokes, or leave them as they are and add a copy of the brush with the new art? 有筆畫使用了此筆刷。要將新圖稿套用到這些筆畫,還是保留筆畫不變並加入一個使用新圖稿的筆刷複本?
Apply to Strokes 套用至筆畫
Leave Strokes 保留筆畫
Can't render this file because it is too large.
+34 -6
View File
@@ -64,8 +64,10 @@ pub(super) enum Drop {
/// (`replace`) it replaces swatch `target` when that is of its kind and neither Registration
/// nor a tint swatch.
New { paint: Paint, target: Option<String>, replace: bool },
/// Art dragged off the canvas becomes a pattern swatch made of a copy of it (the art stays).
Pattern { ids: Vec<u64> },
/// Art dragged off the canvas becomes a pattern swatch made of a copy of it (the art stays);
/// with Alt held (`replace`) over pattern swatch `target`, a copy of it becomes that pattern's
/// tile art instead.
Pattern { ids: Vec<u64>, target: Option<String>, replace: bool },
}
impl Drop {
@@ -80,7 +82,7 @@ impl Drop {
Some(Drop::Move { names: r.names.clone(), target, after, with })
}
PanelDrag::Paint { paint, .. } => Some(Drop::New { paint: paint.clone(), target, replace }),
PanelDrag::Art(ids) => Some(Drop::Pattern { ids: ids.iter().map(|id| id.0).collect() }),
PanelDrag::Art(ids) => Some(Drop::Pattern { ids: ids.iter().map(|id| id.0).collect(), target, replace }),
_ => None,
}
}
@@ -159,6 +161,19 @@ pub(super) fn tile_input(ui: &Ui, resp: Response, e: &Entry, items: &[Entry], se
/// it by the pointer's half, or into a folder); a release there sets the drop.
fn tile_drop(ui: &Ui, resp: &Response, e: &Entry, list: bool, ev: &mut TileEvents) {
let Some(d) = held(resp) else { return };
// Art held with Alt over a pattern swatch would replace its tile art, and the swatch is
// outlined; other art goes to the list (see [`zone_input`]).
if let PanelDrag::Art(_) = &*d {
if crate::panels::alt_held(ui) && matches!(e, Entry::Swatch { paint: Paint::Pattern { .. }, .. }) {
ev.over = true;
let t = Tokens::get(ui.ctx());
ui.painter().rect_stroke(resp.rect.expand(1.0), 0.0, Stroke::new(1.5, t.accent), StrokeKind::Outside);
if resp.dnd_release_payload::<PanelDrag>().is_some() {
ev.drop = Drop::of(&d, Some(e.name().to_string()), false, true);
}
}
return;
}
let PanelDrag::Paint { rows, .. } = &*d else { return };
let name = e.name();
ev.over = true;
@@ -253,9 +268,18 @@ fn replaces(d: &Document, with: &str, target: &str) -> bool {
}
}
/// The pattern swatch `name` paints with.
fn swatch_pattern(d: &Document, name: &str) -> Option<String> {
match &d.swatch(name)?.paint {
Paint::Pattern { pattern, .. } => Some(pattern.clone()),
_ => None,
}
}
/// Run a drop on the panel: move the swatches, give the paint of a swatch Alt-dropped on another of
/// its kind to that one, or make a swatch of the proxy's paint (a color dropped on a folder or a
/// grouped swatch joins that group).
/// its kind to that one, make a swatch of the proxy's paint (a color dropped on a folder or a
/// grouped swatch joins that group), or make a pattern swatch of art (Alt-dropped on a pattern
/// swatch: the art becomes that pattern's tile art).
pub(super) fn apply_drop(app: &mut VectorcraftApp, drop: Drop) {
let Some(d) = app.session.active().map(|st| &st.doc) else { return };
let (cmd, params) = match drop {
@@ -281,7 +305,11 @@ pub(super) fn apply_drop(app: &mut VectorcraftApp, drop: Drop) {
}
("swatch.new", p)
}
Drop::Pattern { ids } => ("object.pattern.make", json!({"ids": ids, "edit": false})),
// Alt: over a pattern swatch, the art becomes that pattern's tile art.
Drop::Pattern { ids, target, replace } => match target.filter(|_| replace).and_then(|t| swatch_pattern(d, &t)) {
Some(name) => ("object.pattern.replaceArt", json!({"name": name, "ids": ids})),
None => ("object.pattern.make", json!({"ids": ids, "edit": false})),
},
};
if let Err(e) = app.run(cmd, params) {
app.status(e);
@@ -830,6 +830,45 @@ fn art_dropped_on_the_panel_becomes_a_pattern_swatch() {
assert!(egui::DragAndDrop::payload::<PanelDrag>(&ctx).is_none());
}
/// Art released with Alt held over a pattern swatch becomes that pattern's tile art in one undo
/// step: no pattern or swatch is added and the art stays. With Alt over a color swatch, or without
/// Alt over the pattern swatch, the art becomes a new pattern swatch as before.
#[test]
fn art_alt_dropped_on_a_pattern_swatch_replaces_its_tile_art() {
let mut app = app();
let square = app.run("shape.rectangle", json!({"x": 0, "y": 0, "width": 10, "height": 10})).unwrap()["id"].as_u64().unwrap();
app.run("object.pattern.make", json!({"ids": [square], "name": "Dots", "edit": false})).unwrap();
let id = app.run("shape.star", json!({"cx": 50, "cy": 50, "radius1": 20, "radius2": 9, "points": 5})).unwrap()["id"].as_u64().unwrap();
let star = vectorcraft_doc::NodeId(id);
let count = |app: &mut VectorcraftApp| app.run("pattern.list", json!({})).unwrap()["patterns"].as_array().map(Vec::len);
let tile_art = |app: &VectorcraftApp| app.session.doc().unwrap().doc.pattern("Dots").map(|p| p.art.clone());
let ctx = context();
let drop = |app: &mut VectorcraftApp, on: &str, modifiers: Modifiers, time: f64| {
frame(app, &ctx, vec![], time, show);
let at = tile_center(&ctx, on);
egui::DragAndDrop::set_payload(&ctx, PanelDrag::Art(vec![star]));
let release = Event::PointerButton { pos: at, button: PointerButton::Primary, pressed: false, modifiers };
frame_with(app, &ctx, vec![Event::PointerMoved(at), release], modifiers, time + 0.5, show);
assert!(egui::DragAndDrop::payload::<PanelDrag>(&ctx).is_none(), "{on}: the drop is taken");
};
let (before, undo, star_before) = (tile_art(&app), undo_steps(&app), app.session.doc().unwrap().doc.node(star).cloned());
drop(&mut app, "Dots", Modifiers::ALT, 0.0);
let art = tile_art(&app).expect("Dots stays");
assert_ne!(Some(&art), before.as_ref(), "{}", app.ui.status);
assert_eq!(art.len(), 1);
assert_eq!(Some(&art[0].kind), star_before.as_ref().map(|n| &n.kind), "the star is the tile art");
assert_eq!(count(&mut app), Some(1), "no new pattern");
assert_eq!(undo_steps(&app), undo + 1, "one undo step");
assert_eq!(app.session.doc().unwrap().doc.node(star).cloned(), star_before, "the star stays as it was");
// Alt over a color swatch: a new pattern.
drop(&mut app, "Bright Red", Modifiers::ALT, 1.0);
assert_eq!(count(&mut app), Some(2), "Alt over a color swatch makes a pattern");
// No Alt over the pattern swatch: a new pattern, and Dots keeps its art.
drop(&mut app, "Dots", Modifiers::NONE, 2.0);
assert_eq!(count(&mut app), Some(3), "a plain drop on a pattern swatch makes a pattern");
assert_eq!(tile_art(&app), Some(art), "Dots keeps its tile art");
}
#[test]
fn a_proxy_dropped_on_the_panel_becomes_a_swatch() {
let mut app = app();
+14
View File
@@ -5318,6 +5318,20 @@ details are VectorCraft's own rules; the help page says only that the option mov
(<https://helpx.adobe.com/illustrator/desktop/paint-and-fill/create-and-edit-patterns/edit-patterns.html>).
`pattern.list` reports it as `moveTileWithArt`. A `pattern.options` call that changes nothing records no undo step.
`object.pattern.replaceArt {name, ids?}` (Replace Pattern Art) makes copies of the selected art, or of `ids`, the tile
art of pattern `name`, as one undo step, and returns `{name}`. The pattern keeps its name, its swatch and the swatch's
place, its tile and its options; with `sizeTileToArt` on, the tile is sized to the new art plus `hSpacing` and
`vSpacing`. Fills and strokes name the pattern, so every object painted with it draws the new tile. The art stays on the
canvas, selected as it was. Art that matches the tile art already records no undo step. The command is off while a
pattern is edited ("finish editing the pattern first"), and returns an error, changing nothing, for a missing `name`, a
pattern that does not exist, no art, and art painted with the pattern itself, directly or through the symbols, other
patterns, graph designs and brushes it uses, or the series and label paints a graph stores. In the Swatches panel, art dragged off the canvas and released with Alt (Option on macOS) held over a
pattern swatch runs it with that swatch's pattern; the swatch is outlined while the art is held there. Released anywhere
else in the list, or without Alt, the art becomes a new pattern swatch as before. The help page describes replacing a
pattern by dragging its edited tile onto the old swatch with Alt or Option held, with the pattern updated in the file
(<https://web.archive.org/web/20220911143322/https://helpx.adobe.com/pdf/cs6/illustrator_reference.pdf#page=226>,
archived copy). Keeping the tile, the options and the source art are VectorCraft's own rules.
```json
{"name":"run_command","arguments":{"command":"pattern.options","params":{"showSwatchBounds":true}}}
{"name":"run_command","arguments":{"command":"prefs.set","params":{"key":"patternTileEdgeColor","value":"#ff4f4f"}}}
+1
View File
@@ -826,6 +826,7 @@ Moved from the ROADMAP's "Shipped so far" on 2026-10-10. Update it when a featur
- **Pattern names and swatch names:** `pattern.options` refuses a new name that another pattern, a swatch or a color group has. It takes a name that only the pattern's own swatches have. The reference page does not say what happens when the new name is taken; the refusal follows VectorCraft's rule that swatches and color groups share one namespace (`Document::swatch_name_taken`), which `swatch.new` and `swatch.edit` also follow. A rename gives the new name only to the pattern's swatches that had the old one; any other swatch with the old name keeps it, and art linked to that swatch stays linked. `object.pattern.make` and `object.pattern.saveCopy` number a color group's name as they number a swatch's. Tests in `tests/pattern.rs` cover each command. Public reference: [Create and edit patterns](https://web.archive.org/web/20211031180358/https://helpx.adobe.com/illustrator/using/create-edit-patterns.html) (archived copy).
- **Cancel, Delete and rename leave no paint of a missing pattern:** the help page lists Save a Copy, Done and Cancel for leaving pattern editing (https://helpx.adobe.com/illustrator/using/create-edit-patterns.html). Canceling a pattern made for the edit removes it with every swatch of it, a color group's included. Canceling a new pattern, `pattern.delete` and a `pattern.options` rename reach every paint of the pattern: art outside the editing layer, opacity mask art, type runs, symbol definitions, graph designs, the series and label paints a graph keeps for its next redraw, other patterns' tiles (a copy Save a Copy made included), graphic and character styles, brush art, and the fill, stroke and appearance new art takes. Canceling a new pattern and Delete make those paints no paint, a VectorCraft rule; a rename renames them. Canceling the edit of an existing pattern puts its definition back as it was when editing started; after a rename in Pattern Options, it also gives the pattern its old name back with its swatches and paints, unless another pattern, swatch or color group has taken that name. Undo and Redo restore new art's paints with the document. Tests in `tests/pattern.rs` cover each command.
- **Move Tile with Art:** Pattern Options has the Move Tile with Art checkbox under Size Tile to Art, and with it on, moving the tile art in pattern editing mode moves the tile with it (<https://helpx.adobe.com/illustrator/desktop/paint-and-fill/create-and-edit-patterns/edit-patterns.html>). VectorCraft's own rules for what the page leaves open: the tile moves only when a move takes all of the tile art, by the same offset; rotations, scales, copies and anchor moves leave it in place; the option is off for a new pattern. `pattern.options {moveTileWithArt}` sets it and `pattern.list` reports it. Tests in `tests/pattern.rs` and `panels::pattern_options::tests` cover it.
- **Art Alt-dragged onto a pattern swatch replaces its tile art:** the help page describes dragging the edited tile onto the old pattern swatch with Alt (Option on macOS) held to replace the pattern and update it in the file (<https://web.archive.org/web/20220911143322/https://helpx.adobe.com/pdf/cs6/illustrator_reference.pdf#page=226>, archived copy). In the Swatches panel, art released this way over a pattern swatch becomes that pattern's tile art in one undo step (`object.pattern.replaceArt`), and every object painted with the pattern draws the new tile. VectorCraft's own rules: the pattern keeps its name, swatch, tile and options (Size Tile to Art refits the tile), the dragged art stays on the canvas, art that matches the tile records nothing, art painted with the pattern itself is refused, and Alt over any other swatch still makes a new pattern. Tests in `tests/pattern.rs` and `panels::swatches::tests` cover it.
- **A clip group in Properties:** with one clip group selected, the panel has Edit Clipping Path and Edit Contents at its top, under the Clip Group heading, which select the clipping path or the clipped art for the selection tools to transform alone, as Object › Clipping Mask does (<https://www.adobe.com/learn/illustrator/web/crop-using-masks>: with a clip group selected, the tutorial uses Edit Clipping Path at the top of the Properties panel to select the mask for editing, and uses Edit Contents to select the masked art). Edit Contents shows only when the group clips something. Not checked against the reference app: whether Properties keeps the buttons while the clipping path or the contents is selected; the Control bar has no clip-group buttons here. Evidence: `panels::properties::tests::one_clip_group_has_edit_clipping_path_and_edit_contents_at_the_top`.
- **Contextual controls in Properties:** the [Properties panel overview](https://helpx.adobe.com/illustrator/desktop/get-started/learn-the-basics/properties-panel-overview.html) lists controls that appear for particular selections and tools; Properties has them, each running the existing command. Quick Actions has Blend Options for one selected blend, with the Blend tool or any other, as the [blending page](https://helpx.adobe.com/illustrator/using/blending-objects.html) describes (#4817) (the Blend Options dialog, OK one undo step) and Merge Live Paint when a Live Paint group is selected with more paths and nothing Live Paint refuses (`livePaint.merge`). Appearance has the stroke's Variable Width Profile list, the Control bar's, with the Width tool or when the stroke has a variable width (`stroke.set {profile}`), and beside fx the Delete icon: with one effect on the one selected object (its own or a fill's or stroke's) its name and an icon that removes it (`effect.remove`), with several an icon that opens the Appearance panel, as the overview describes. With Direct Selection and corners of one path selected, Corner and Corner Radius set the kind and radius of those corners (`object.setLiveShape`); a live rectangle's and polygon's own rows already do. Each edit is one undo step. The overview's Variable Font icon was already in Character. Not checked against the reference app: whether Merge needs two Live Paint groups (the overview speaks of several selected groups; `livePaint.merge` takes a group and paths), and where exactly each control sits in its section. Evidence: `panels::properties::tests::{blend_options_is_a_quick_action_for_one_blend_with_the_blend_tool, merge_live_paint_is_a_quick_action_for_a_live_paint_group_and_more, the_width_profile_shows_for_a_variable_width_or_the_width_tool, direct_selected_corners_show_their_kind_and_radius, one_effect_has_a_delete_icon_in_appearance}`.
- **Edit Artboards in Properties:** a Transform section comes first (#5219): the reference point the Transform panel and Control bar share, the active artboard's X and Y (of that point) and W and H with the Constrain Width and Height Proportions link, its preset and orientation, and Move and Scale Artwork with Artboard. The Artboards section follows, with the name field, Artboard Options and Fill. The active artboard's name is a field. Typing a new name and pressing Enter or clicking elsewhere renames that artboard in one undo step, as the Artboards panel's rename does (`artboard.setProps {index, name}`); pressing Escape or leaving the field empty keeps the old name. A click on the Artboard Options icon beside the field opens Artboard Options for the active artboard, as double-clicking the Artboard tool's button does (`tool.options {tool: "artboard"}`). Pointer and key tests in `panels/properties.rs` cover both. Public references: [Resize artboards](https://helpx.adobe.com/illustrator/desktop/create-manage-artboards/add-edit-artboards/resize-artboards.html) and [Create and add new artboards](https://helpx.adobe.com/illustrator/desktop/create-manage-artboards/add-edit-artboards/add-new-artboards.html).