mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-22 10:23:16 +01:00
Graphs: redraw graphs a paste or library adds a design for, reuse redrawn symbols
- A paste that adds a design the document lacked draws the document's graphs that name it again, in the same undo step; the pasted graphs keep their art. - A library design brings along the designs its art uses, and the graphs that name any of them are drawn again. A design the document keeps brings none of the library design's resources. - Only a series that draws a design is redrawn for it: a marker counts while Mark Data Points is on or the legend has an entry for the series, and a column design counts for a column or bar series. - A symbol pasted a second time is the one the first paste added and drew again with the document's designs. - Renaming a design renames it in the graphs of symbols and opacity masks, and Select Unused counts those graphs. - swatch.library.load reads a file no further than the 256 MB limit.
This commit is contained in:
1 parent
4137b8e50a
commit
9d2bbbc6b4
7 files changed
+526
-61
No files matched your search
+4
-3
@@ -5409,10 +5409,11 @@ Defined copy made with `swatch.library.copyToUser` holds the swatches alone, so
|
||||
swatches, patterns, symbols, styles, brushes and images its art uses, in the same undo step as the graph change.
|
||||
`graph.design {library, add: name | [names]}` copies designs without applying them and returns `{added, existing}`, and
|
||||
`graph.design {library}` lists the library's designs. A design the document already has under the same name stays as it
|
||||
is. With no `design`, `graph.column`, `graph.marker` and `graph.design` list the loaded libraries that hold designs as
|
||||
`libraries: [{library, name, designs}]`. Copying a graph and pasting it into another document brings the designs its series
|
||||
is. `graph.column` and `graph.marker` with no `design`, and `graph.design {}`, list the loaded libraries that hold
|
||||
designs as `libraries: [{library, name, designs}]`. Copying a graph and pasting it into another document brings the designs its series
|
||||
draw with in the same way; a pasted graph is drawn again with the document's design of that name when that design
|
||||
would draw it otherwise.
|
||||
would draw it otherwise. The graphs already in the document that draw with a design the copy or paste adds, one a copied
|
||||
design's art uses included, are drawn again with it.
|
||||
`swatch.library.copyToUser {library}` copies a loaded library into the user library folder of the desktop
|
||||
app (a library file as it is; a document's swatches or a library loaded from `data` or `dataBase64`
|
||||
as `.vcswatches`; a library with pattern swatches is refused) under a name no file there has, and lists it as User
|
||||
|
||||
Reference in new issue
Block a user