office-gobmx/drawinglayer/source/primitive2d
Noel Grandin cfd7cffb00 tdf#158014 Skia adds filled white areas in .svg when exporting to PDF
So my strategy here is to assume that ProcessAndBlurAlphaMask
was doing the right thing before
    commit 81994cb2b8
    Date:   Fri Apr 16 20:33:10 2021 +0200
    Convert internal vcl bitmap formats transparency->alpha (II)
but the subsequent naiving changing of its logic undermines it
because of some subtle interaction.

So take the brute force approach of reverting most of the code
to its prior state (i.e. working in the transparency domain),
and doing an Invert() before and after the original code.

This seems to fix all of the test files I have on hand
for this situation for both Skia and non-Skia cases.

Change-Id: If4c4d4c5351a4ec55897bed96b57d28eda88f5dd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158793
Tested-by: Jenkins
Reviewed-by: Patrick Luby <plubius@neooffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-11-05 06:32:17 +01:00
..
animatedprimitive2d.cxx
backgroundcolorprimitive2d.cxx
baseprimitive2d.cxx
bitmapprimitive2d.cxx
borderlineprimitive2d.cxx
BufferedDecompositionGroupPrimitive2D.cxx
BufferedDecompositionPrimitive2D.cxx
controlprimitive2d.cxx
cropprimitive2d.cxx
discretebitmapprimitive2d.cxx
discreteshadowprimitive2d.cxx
embedded3dprimitive2d.cxx
epsprimitive2d.cxx
fillgradientprimitive2d.cxx
fillgraphicprimitive2d.cxx
fillhatchprimitive2d.cxx
glowprimitive2d.cxx
GlowSoftEgdeShadowTools.cxx
GlowSoftEgdeShadowTools.hxx
graphicprimitive2d.cxx
graphicprimitivehelper2d.cxx
gridprimitive2d.cxx
groupprimitive2d.cxx
helplineprimitive2d.cxx
hiddengeometryprimitive2d.cxx
invertprimitive2d.cxx
markerarrayprimitive2d.cxx
maskprimitive2d.cxx
mediaprimitive2d.cxx
metafileprimitive2d.cxx
modifiedcolorprimitive2d.cxx
objectinfoprimitive2d.cxx
pagehierarchyprimitive2d.cxx
pagepreviewprimitive2d.cxx
patternfillprimitive2d.cxx
pointarrayprimitive2d.cxx
polygonprimitive2d.cxx
PolyPolygonColorPrimitive2D.cxx
PolyPolygonGradientPrimitive2D.cxx
PolyPolygonGraphicPrimitive2D.cxx
PolyPolygonHairlinePrimitive2D.cxx
PolyPolygonHatchPrimitive2D.cxx
PolyPolygonMarkerPrimitive2D.cxx
PolyPolygonSelectionPrimitive2D.cxx
PolyPolygonStrokePrimitive2D.cxx
Primitive2DContainer.cxx
primitivetools2d.cxx
sceneprimitive2d.cxx
sdrdecompositiontools2d.cxx
shadowprimitive2d.cxx
softedgeprimitive2d.cxx
structuretagprimitive2d.cxx
svggradientprimitive2d.cxx
textbreakuphelper.cxx
textdecoratedprimitive2d.cxx
texteffectprimitive2d.cxx
textenumsprimitive2d.cxx
texthierarchyprimitive2d.cxx
textlayoutdevice.cxx
textlineprimitive2d.cxx
textprimitive2d.cxx
textstrikeoutprimitive2d.cxx
Tools.cxx
transformprimitive2d.cxx
transparenceprimitive2d.cxx
unifiedtransparenceprimitive2d.cxx
wallpaperprimitive2d.cxx
wrongspellprimitive2d.cxx