diff options
author | Andrés Maldonado <amaldona@tutanota.com> | 2019-12-26 22:46:36 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-27 13:27:48 +0100 |
commit | 9c64e8a2948c379c537ee0882afa57882facb26e (patch) | |
tree | 02a186695cc27291286e951cbab5b8b47c2e5f9a /drawinglayer | |
parent | 85b29e0be7bbade080c2978aef598839a89cfd3e (diff) |
tdf#125901: apply color modifiers when drawing hatch
With this fix, the shadow of a shape with a Hatching fill is no longer
the same color as the hatching (in full screen mode)
Change-Id: I979866e748b5caf2ccafc8a6084ffdb46bc8122c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/73964
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx index 71598cabc92c..48d7524b676d 100644 --- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx @@ -1804,7 +1804,7 @@ namespace drawinglayer aTransform, false, eHatch, - Color(rFillHatchAttribute.getColor()), + Color(maBColorModifierStack.getModifiedColor(rFillHatchAttribute.getColor())), SvtGraphicFill::GradientType::Linear, Color(), Color(), @@ -1825,7 +1825,7 @@ namespace drawinglayer mpOutputDevice->DrawHatch(aToolsPolyPolygon, Hatch(aHatchStyle, - Color(rFillHatchAttribute.getColor()), + Color(maBColorModifierStack.getModifiedColor(rFillHatchAttribute.getColor())), basegfx::fround(rFillHatchAttribute.getDistance()), basegfx::fround(rFillHatchAttribute.getAngle() / F_PI1800))); |