tdf#55058 tdf#143875 EMF+ Fix display of dashed lines and line joints
commit547ac0aa23a25f03a17014cb474eedc1fd88017f
authorBartosz Kosiorek <gang65@poczta.onet.pl>
Wed, 20 Apr 2022 17:44:05 +0000 (20 19:44 +0200)
committerXisco Fauli <xiscofauli@libreoffice.org>
Fri, 22 Apr 2022 14:13:54 +0000 (22 16:13 +0200)
tree50792210e32f51d12fa558830c53f8b8d2040e7b
parentaf0955d600cd3d54d26a87b9ff30e3c402a226dd
tdf#55058 tdf#143875 EMF+ Fix display of dashed lines and line joints

With previous implementation, empty spaces between dashes
were too long.
Additionally line joints were not working correctly, after
EMF+ reworking: tdf#111486

This commit fixes all these issues and additionally it is
covering it with tests.
Change-Id: I9404e566d2d7d3405ab817268ad9b1f538c200eb

Change-Id: I523f92a928ab592ff175d0d01c1ad1a3bc22e324
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133207
Tested-by: Jenkins
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
(cherry picked from commit 80c856336668e35837667323957fa3ad4172f3c0)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133152
compilerplugins/clang/redundantfcast.cxx
drawinglayer/source/tools/emfpcustomlinecap.cxx
drawinglayer/source/tools/emfpcustomlinecap.hxx
drawinglayer/source/tools/emfphelperdata.cxx
drawinglayer/source/tools/emfppen.cxx
drawinglayer/source/tools/emfppen.hxx
drawinglayer/source/tools/primitive2dxmldump.cxx
emfio/qa/cppunit/emf/EmfImportTest.cxx
emfio/qa/cppunit/emf/data/TestEmfPlusDrawLineWithDash.emf [new file with mode: 0644]
svx/qa/unit/svdraw.cxx