https://bugs.documentfoundation.org/show_bug.cgi?id=162932

--- Comment #8 from Mike Kaganski <[email protected]> ---
Let me describe what design I followed when I implemented the glow feature. I
analyzed how it worked in MS Office; and it turned out, that the glow takes any
single pixel from the rendered main shape - even if it's 1% alpha (so *almost*
fully transparent), and considers all those pixels as giving the glow (i.e.,
creating the underlying "soft shadow" with the set radius under each such
pixel). For solid areas, this means that the whole area under it is also solid
glow; and the glow would have the edges fading to the outside of the area,
according to the radius. And of course, for partially transparent main shape
pixels, this makes the underlying glow visible through them. That is exactly
how MS Office glow works; and the implementation (created with compatibility in
mind) followed that to the letter.

Only 100% transparent main shape pixels don't cast the glow. This e.g. may be
seen with hatch fills.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to