summaryrefslogtreecommitdiffstats
path: root/vcl/unx/generic/gdi/gdiimpl.hxx
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2016-04-09 23:15:09 +0200
committerArmin Le Grand <Armin.Le.Grand@cib.de>2016-04-26 16:42:27 +0000
commit32cec4ca8bf1e09dd33aa461984e8e8ae34f4a7c (patch)
tree5591a63de12179505a0e7a4870632754585152d3 /vcl/unx/generic/gdi/gdiimpl.hxx
parentearly bail out if nGlobalError, tdf#97831 follow-up (diff)
downloadcore-32cec4ca8bf1e09dd33aa461984e8e8ae34f4a7c.tar.gz
core-32cec4ca8bf1e09dd33aa461984e8e8ae34f4a7c.zip
tdf#48066 render stroke-miterlimit correctly in SVG import
The property stroke-miterlimit is transported to the renderers via a new member mfMiterMinimumAngle in class LineAttribute Several drawPolyLine methods are adapted. This patch does not include changes in MetaAction. Presentation mode, printing, and PDF-export is still wrong. Corrected LineJoinMiter to LineJoinBevel in canvas, that s closer to NONE. Removed DrawPolyLine method without MiterMinimumAngle and adapted calls accordingly. Change-Id: I6bcd24add5d85c4d9a39e3788e0682091c5fc9c4 Reviewed-on: https://gerrit.libreoffice.org/23946 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de> Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Diffstat (limited to 'vcl/unx/generic/gdi/gdiimpl.hxx')
-rw-r--r--vcl/unx/generic/gdi/gdiimpl.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/unx/generic/gdi/gdiimpl.hxx b/vcl/unx/generic/gdi/gdiimpl.hxx
index d637237d7871..0b58543c71fa 100644
--- a/vcl/unx/generic/gdi/gdiimpl.hxx
+++ b/vcl/unx/generic/gdi/gdiimpl.hxx
@@ -164,7 +164,8 @@ public:
double fTransparency,
const basegfx::B2DVector& rLineWidths,
basegfx::B2DLineJoin,
- css::drawing::LineCap) override;
+ css::drawing::LineCap,
+ double fMiterMinimumAngle) override;
virtual bool drawPolyLineBezier(
sal_uInt32 nPoints,