mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-07 18:03:32 +00:00
When anchors of a kept path (a path or compound path of 1,024 anchors or more) are added or deleted, or a subpath is closed or opened, the next frame writes again only the path elements from the first anchor that changed to the last, and the closing segment and ClosePath when an end anchor changed or the subpath was closed or opened. The elements after the change move with it. Before, such an edit made the whole path again and measured it whole. - The runs of segments now carry their own ends. The runs that held the segments written become one run, split into runs of 128 when it grows past 256, and only those runs are measured again, with the miter tips of the run of the segment with length before each span. When a subpath is closed or opened and the stroke reaches farther from one than from the other, all of that subpath's tips are measured again. - On a subpath that is open before and after the edit, the handle before the first anchor and the one after the last are not compared, so Delete Anchor Point, which clears them, writes again only the segments around the anchor deleted. - A subpath that has fewer than two anchors before or after the edit is written again whole. A compound path member that gains or loses subpaths is made again. When members are added or removed, those members and every member between the first and the last of them are made again, and the members before and after them stay. - An edit that adds or deletes anchors in, closes or opens more than 16 subpaths makes the whole path again, as before. - An edit that leaves every anchor as it was, such as a new stroke, leaves the kept path as it is. The pixels and the cull bounds are the same as with a path made again. Docs: docs/target-app-parity.md.