Files
figcraft/crates/render
Bryton CooperandClaude Opus 5.5 f603d964a0 M8: the page scan counts every paint and falls back on a looping file
Follows the page-only scan of the retained canvas:

- Pattern sources come from every paint a layer draws with: its fills
  and strokes, and also its vector regions' own fills and its text runs'
  own fills. Before, the scan read only fills and strokes, so an edit to
  the source of a region's or a run's pattern left the canvas stale
  unless that source also filled an ordinary layer somewhere in the file.
- A layer inside pattern sources is walked once, so a real tree stays
  within the walk's budget of three visits a layer.
- A child list that repeats (a hostile file) runs out the budget; the
  scan then counts every layer of the file, as it did before the page
  scan, instead of what it had reached.

New tests: glass and a small blur on the page with a wider blur on
another page (full renders, a pan, an edit and band-by-band renders
against render_view), a looping child list over blurs, and a vector
region filled with a pattern from another page. Each fails with its
part of this change taken out.

The explanations of render_part, render_bands, render_columns and
band_overlap now sit on the functions the canvas calls.

large_doc_digests prints the same digests as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 05:17:44 -07:00
..