drawinglayer/source/processor2d/cairopixelprocessor2d.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 5528fb79ec1e143b0aea7bbb0685ad7a6cff2696 Author: Armin Le Grand (Collabora) <armin.le.gr...@me.com> AuthorDate: Thu Mar 27 21:35:40 2025 +0100 Commit: Armin Le Grand <armin.le.gr...@me.com> CommitDate: Mon Mar 31 12:04:27 2025 +0200 Need to take over BColorModifierStack for *all* content renderings Change-Id: Iac558c8b653349a86966869bd96dca265a8fb223 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183419 Reviewed-by: Armin Le Grand <armin.le.gr...@me.com> Tested-by: Jenkins diff --git a/drawinglayer/source/processor2d/cairopixelprocessor2d.cxx b/drawinglayer/source/processor2d/cairopixelprocessor2d.cxx index 137d25931e9f..790c5c7ab5b8 100644 --- a/drawinglayer/source/processor2d/cairopixelprocessor2d.cxx +++ b/drawinglayer/source/processor2d/cairopixelprocessor2d.cxx @@ -2014,6 +2014,10 @@ void CairoPixelProcessor2D::processUnifiedTransparencePrimitive2D( cairo_surface_t* pContent(cairo_surface_create_similar( pTarget, cairo_surface_get_content(pTarget), fContainedWidth, fContainedHeight)); CairoPixelProcessor2D aContent(aViewInformation2D, pContent); + + // take over evtl. used ColorModifierStack for content + aContent.setBColorModifierStack(getBColorModifierStack()); + aContent.process(rTransCandidate.getChildren()); // paint temporary surface to target with fixed transparence