diff options
author | Bartosz Kosiorek <gang65@poczta.onet.pl> | 2019-11-13 07:39:46 +0100 |
---|---|---|
committer | Xisco FaulĂ <xiscofauli@libreoffice.org> | 2019-11-20 23:15:58 +0100 |
commit | 26c6e23155b151c3f05f3cfdde2bd842aef05306 (patch) | |
tree | 2199bc4bb738b02b6ea3429034484531931e1af7 /drawinglayer/source/tools/emfpcustomlinecap.cxx | |
parent | tdf#128632 vcl image lazy-load: take unit into account when setting size (diff) | |
download | core-26c6e23155b151c3f05f3cfdde2bd842aef05306.tar.gz core-26c6e23155b151c3f05f3cfdde2bd842aef05306.zip |
tdf#42112 Add support for Custom Line Cap
original patch updated by Chris Sherlock
Change-Id: Ie68c3cc40d2c7263a0f786a973da77b00e4cbeb8
Reviewed-on: https://gerrit.libreoffice.org/82564
Tested-by: Jenkins
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
(cherry picked from commit d15518584a3197e4b8318d0176352a0584f42167)
Reviewed-on: https://gerrit.libreoffice.org/83298
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Reviewed-by: Xisco FaulĂ <xiscofauli@libreoffice.org>
Diffstat (limited to 'drawinglayer/source/tools/emfpcustomlinecap.cxx')
-rw-r--r-- | drawinglayer/source/tools/emfpcustomlinecap.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drawinglayer/source/tools/emfpcustomlinecap.cxx b/drawinglayer/source/tools/emfpcustomlinecap.cxx index 82e8f94e0e37..98af0f5241c7 100644 --- a/drawinglayer/source/tools/emfpcustomlinecap.cxx +++ b/drawinglayer/source/tools/emfpcustomlinecap.cxx @@ -67,13 +67,7 @@ namespace emfplushelper path.Read(s, pathFlags); polygon = path.GetPolygon(rR, false); mbIsFilled = bFill; - - // transformation to convert the path to what LibreOffice - // expects - B2DHomMatrix aMatrix; - aMatrix.scale(1.0, -1.0); - polygon.transform(aMatrix); - }; + } void EMFPCustomLineCap::Read(SvStream& s, EmfPlusHelperData const & rR) { |