summaryrefslogtreecommitdiff
path: root/svgio/inc
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2023-06-20 16:47:58 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2023-06-20 18:29:43 +0200
commit3e0e67a152e9631574e28dacb6e06a96f03ebca2 (patch)
tree1dfecd25d7aa8819cf54d634ca8e093b8fadfb20 /svgio/inc
parent7c226d2624c2320f22f5c14895d419d4df82a91d (diff)
tdf#155932: tdf#97717: only apply opacity when primitive
Partially revert d47b37eea9779e3c354e6c19a7211a306965b7ef "tdf#97717: do not call add_postProcess from g element" since we still need to call add_postProcess from g to apply the clip-path Change-Id: Ibdc5afadc0db239d0b0e14810943009a4c0a16a9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153353 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'svgio/inc')
-rw-r--r--svgio/inc/svgstyleattributes.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svgio/inc/svgstyleattributes.hxx b/svgio/inc/svgstyleattributes.hxx
index 52876ea0576d..b54e3cd627e4 100644
--- a/svgio/inc/svgstyleattributes.hxx
+++ b/svgio/inc/svgstyleattributes.hxx
@@ -293,7 +293,8 @@ namespace svgio::svgreader
void add_postProcess(
drawinglayer::primitive2d::Primitive2DContainer& rTarget,
drawinglayer::primitive2d::Primitive2DContainer&& rSource,
- const std::optional<basegfx::B2DHomMatrix>& pTransform) const;
+ const std::optional<basegfx::B2DHomMatrix>& pTransform,
+ bool bIsPrimitive) const;
/// helper to set mpCssStyleParent temporarily for CSS style hierarchies
void setCssStyleParent(const SvgStyleAttributes* pNew) { mpCssStyleParent = pNew; }