Files
vectorcraft/docs
dotCooCoo 80c33ec810 Scripts: fix review findings in the layer and path items
- controlBounds takes in the paths' direction handles. A clipping
  group's are its clipping path's.
- A compound path's pathItems is a PathItems collection: add() and the
  shape methods make the path inside it.
- resize() scales and sets the stroke weight as one step, so a failed
  stroke change undoes the scale too.
- A point change that adds or removes anchors deselects the path's
  direct-selected anchors, from a script and from path.setAnchors, so
  other anchors are not left selected in their place.
- A script that ends past the allowance of the last answer is asked
  again before its changes are kept.
- documents.addDocument starts from the built-in preset when a saved
  preset has its name, and Recent keeps the built-in preset's name.
- Saved preset rows past the artboard limit read as the limit.
- Host classes that do not fit the heap end with the heap limit.
- Layers keep their list while the document is unchanged, and getByName
  charges its scan on a kept list too.
- Selection ids are deduplicated with a set.
- A path made on the current layer is made in one step, so a failed
  stroke or reversal after it undoes the path too.
- Path points are found through a kept index of where each subpath's
  points start, rebuilt when the path's points change, so reading every
  point of a path with many subpaths is no longer quadratic.
- A pixel-aligned compound path snaps a path moved into it.
2026-11-25 04:38:31 -08:00
..
2026-11-20 05:45:14 +07:00
2026-11-19 15:12:20 +07:00