summaryrefslogtreecommitdiff
path: root/include/svx/svdopath.hxx
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2017-01-20 09:06:23 +0100
committerjan iversen <jani@documentfoundation.org>2017-01-23 08:16:14 +0000
commit852b29b091eeb4d4b9521b082b522c37a2a6ec16 (patch)
treeb819522278765268bec648262e1e9359f13ff7e5 /include/svx/svdopath.hxx
parent3772c676ad6be6f424c485fd9aa0732bfeacb6bb (diff)
tdf#105266 Make LIGHTEN and DARKEN follow MS specification
Enhanced geometry of custom shapes has got commands for LIGHTEN and DARKEN of subpaths. MS specifies, that LIGHTEN is a blending with white and DARKEN is a blending with black. This patch adapts the calcuation accordingly. Change-Id: Ie46f1a1a2210c209c3fac34a7a58758b72eb276c Reviewed-on: https://gerrit.libreoffice.org/33337 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'include/svx/svdopath.hxx')
-rw-r--r--include/svx/svdopath.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdopath.hxx b/include/svx/svdopath.hxx
index 08f61790cc36..85eca76899a9 100644
--- a/include/svx/svdopath.hxx
+++ b/include/svx/svdopath.hxx
@@ -69,7 +69,7 @@ public:
double GetBrightness() { return mdBrightness; }
SdrPathObj(SdrObjKind eNewKind);
- SdrPathObj(SdrObjKind eNewKind, const basegfx::B2DPolyPolygon& rPathPoly, double dBrightness = 1.0);
+ SdrPathObj(SdrObjKind eNewKind, const basegfx::B2DPolyPolygon& rPathPoly, double dBrightness = 0.0);
virtual ~SdrPathObj() override;
virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const override;