Files
Graphite/node-graph/libraries/rendering
Dennis Kobert 1fff59f380 Composite a paint's own opacity into its rendered color
A paint row's opacity and fill-opacity attributes now fade the color it
contributes, and a color stack collapses to the one composited color
the SVG fast path emits: each pass mixes by its blend mode and then
composites source-over in straight alpha, with the alpha-only modes
moving only the backdrop's coverage. Gradient paints fade every emitted
stop the same way, on the SVG stop order and the vello ramp alike, and
a masker drops the fill half so it cannot reach the content clipped to
it. The blend-mode formula application lands beside the BlendMode enum,
with an overlay channel formula pinned as hard light with swapped
operands.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-09 21:35:21 +00:00
..