deckcraft/crates/render
Brandon Thomas 862e2175a7 Render: shadows are cast by what is drawn: no-fill shapes, see-through fills, lines
An outer shadow was always the shape's filled silhouette at the shadow's
opacity: an outline-only shape cast a solid block, a 40% fill cast a full
shadow that darkened it from behind, and lines (and outlines) cast none.
PowerPoint casts the shadow from the drawn shape: the filled part as
see-through as its fill (nothing for no fill) plus the outline, which is
now stroked into the shadow layer with the line's width, dash and opacity.

Wild synthetic set: combined effects slide (no-fill frame, 40% fill,
shadows) 21.88 -> 2.34.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-13 08:16:41 -04:00
..
src Render: shadows are cast by what is drawn: no-fill shapes, see-through fills, lines 2026-10-13 08:16:41 -04:00
tests/fixtures Emoji: drawn in colour, with families, skin tones and flags joined (#278) 2026-10-12 17:48:51 -04:00
Cargo.toml Transitions like PowerPoint: measured frame by frame and retuned (#366) 2026-10-13 05:31:13 -04:00