diff options
author | obo <obo@openoffice.org> | 2010-09-14 12:55:12 +0200 |
---|---|---|
committer | obo <obo@openoffice.org> | 2010-09-14 12:55:12 +0200 |
commit | 676446d17e9f43d237db66112692ecd7ec03139a (patch) | |
tree | 26a58b1578bdabd4cf2b699c479c1c4b58aa41f5 | |
parent | 48d38c30f11aab1390cfaba67717124c6e46e7f2 (diff) | |
parent | cee4cdae3a3f0becd1c60b958bc503886b8ac189 (diff) |
CWS-TOOLING: integrate CWS ooo33gsl08
-rw-r--r-- | drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx index 01cfe2ff8b..27e9c40335 100644 --- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx @@ -1206,7 +1206,12 @@ namespace drawinglayer mpOutputDevice->SetLineColor(Color(aHairlineColor)); mpOutputDevice->SetFillColor(); aHairLinePolyPolygon.transform(maCurrentTransformation); - LineInfo aLineInfo(LINE_SOLID, basegfx::fround(rLine.getWidth())); + + // #i113922# LineWidth needs to be transformed, too + const basegfx::B2DVector aDiscreteUnit(maCurrentTransformation * basegfx::B2DVector(rLine.getWidth(), 0.0)); + const double fDiscreteLineWidth(aDiscreteUnit.getLength()); + + LineInfo aLineInfo(LINE_SOLID, basegfx::fround(fDiscreteLineWidth)); aLineInfo.SetLineJoin(rLine.getLineJoin()); for(sal_uInt32 a(0); a < aHairLinePolyPolygon.count(); a++) |