mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-23 10:53:35 +01:00
With Use Preview Bounds on, every pointer move near a corner of a compound path's preview bounds scanned all of its members to find the one holding that corner. A compound with tens of thousands of members cost one visit from the walk budget and then a full member scan on each move. - The holder of each of the four corners is found in one pass over the members when the compound is measured, and cached with the bounds for the document's revision. Later moves read it from the cache. - Measuring an object not yet measured (its geometric bounds, its preview bounds and its holders) counts its members against a separate limit of 20,000 per move. An object with more members than are left gives no corner on that move, and nothing is cached for it.