diff options
author | Sarper Akdemir <sarper.akdemir.extern@allotropia.de> | 2023-09-04 18:10:22 +0300 |
---|---|---|
committer | Sarper Akdemir <sarper.akdemir.extern@allotropia.de> | 2023-09-05 13:21:13 +0200 |
commit | 98319164284c4a25d6a2313e6b8a35d244d94e91 (patch) | |
tree | 72cc75d8dafc350831ef778f0479830d3a1315a7 /xmloff/inc/XMLThemeContext.hxx | |
parent | 6ee0f9f02f7255339e18ab9e6189b2200bb71e6e (diff) |
tdf#150557: svx: don't factor in transparence twice for cell shadows
multiplying child transparence with shadow alpha to get the
correct shadow alpha has been incorrect maybe since commits:
7eb4f92ed90e13ce5cbf7286fae623770e71324c,
e735ad1c57cddaf17d6ffc0cf15b5e14fa63c4ad
In ShadowPrimitive2D::create2DDecomposition the
shadow-casting primitive's alpha(mask) itself is already
being taken into account.
Therefore getting cell shadow alpha by multiplying child
transparence with shadow alpha, has the effect of child
transparence being applied twice for the table cell.
Change-Id: I78f9bbfcb0694a86eabc061330677784e887b5dc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156528
Tested-by: Jenkins
Reviewed-by: Sarper Akdemir <sarper.akdemir.extern@allotropia.de>
Diffstat (limited to 'xmloff/inc/XMLThemeContext.hxx')
0 files changed, 0 insertions, 0 deletions