Outer Glow, brush Smoothing and the rest of Compositor 1.2.0

This commit is contained in:
雷电芽衣 committed 2026-09-27 07:00:12 -04:00
1 parent 2cd0d1b86d
commit 374ba8ec73
32 files changed
+624 -47

No files matched your search

+2
View File
@@ -104,6 +104,8 @@ double LayerEffectsRenderer::margin(const LayerEffects &all)
margin = std::max(margin, effects.stroke->size);
if (effects.shadow)
margin = std::max(margin, effects.shadow->distance + effects.shadow->blur * 3);
if (effects.outerGlow)
margin = std::max(margin, effects.outerGlow->size * 3);
return std::ceil(margin) + 2;
}