summaryrefslogtreecommitdiff
path: root/drawinglayer/source/processor3d
diff options
context:
space:
mode:
authorA_GAN <ganzouri97@gmail.com>2020-06-03 05:55:46 +0200
committerTomaž Vajngerl <quikee@gmail.com>2020-06-04 18:43:51 +0200
commitb90d0a9dc8e7b4e6a683b35939a7ce0c3090e888 (patch)
tree23a05ec72ca8785a2f2ed305f196f16eab8f8656 /drawinglayer/source/processor3d
parentda8ea444b004a0be36964ae9a778f73e752b2673 (diff)
Update ShadowPrimitive2D to support shadow blur
Add attribute for the blur radius and get function. give more range for the shadow depends on the size of the blur radius. update the blur radius to be imported in Hmm and the test function. Change-Id: I32faaf02884d9a6b2f11a9033178b3b6bb419580 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95388 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'drawinglayer/source/processor3d')
-rw-r--r--drawinglayer/source/processor3d/shadow3dextractor.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/drawinglayer/source/processor3d/shadow3dextractor.cxx b/drawinglayer/source/processor3d/shadow3dextractor.cxx
index 45fca6d8dd38..0b653236eb1b 100644
--- a/drawinglayer/source/processor3d/shadow3dextractor.cxx
+++ b/drawinglayer/source/processor3d/shadow3dextractor.cxx
@@ -74,6 +74,7 @@ namespace drawinglayer::processor3d
primitive2d::BasePrimitive2D* pNew = new primitive2d::ShadowPrimitive2D(
rPrimitive.getShadowTransform(),
rPrimitive.getShadowColor(),
+ 0, // shadow3d doesn't have rPrimitive.getShadowBlur() yet.
aNewSubList);
if(basegfx::fTools::more(rPrimitive.getShadowTransparence(), 0.0))