Commit Graph
2 Commits
Author SHA1 Message Date
Skyfuller1303 e22a9baedc fix: preserve tiny pattern scales and account for cached tiles 2026-10-15 11:47:12 +02:00
Skyfuller1303 3ab072088c feat(vector): pattern paints for shape fill and stroke
Pattern fills on shape layers rendered transparent because the vector
renderer had no access to the document's pattern table. Add
Paint::Pattern, Paint::from_fill_with_patterns,
CompiledShape::with_patterns and render_shape_with_patterns, which
resolve a pattern by id or name and sample it in the document's colour
mode, for the fill and the stroke independently.

The compositor's fill/stroke split (used for clipped layers and interior
effects) now renders with the same patterns and colour mode on CPU and
GPU, and its cache key covers the referenced pattern tiles.

Refs #2496
2026-10-13 19:53:02 +02:00