diff options
author | Armin Le Grand <alg@apache.org> | 2012-08-15 14:31:24 +0000 |
---|---|---|
committer | Armin Le Grand <alg@apache.org> | 2012-08-15 14:31:24 +0000 |
commit | c0f38bc7f1a2b4857bca517b0a5249136b15f79c (patch) | |
tree | bac0fe36cc8164e21b09debeaab3ec5ef0f37700 /drawinglayer/source | |
parent | 3048c821bb664f39c7b5e2533af4568fbcd22f73 (diff) |
#119198# Added to apply CurrentTransformation in primitive to metafile conversion when creating SvtGraphicStroke elements for compatibility
Notes
Notes:
prefer: 432b6ab482d6fcef05514ab17e4bc762ee552139
Diffstat (limited to 'drawinglayer/source')
-rw-r--r-- | drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx index 4d22532275f7..b39534b739fb 100644 --- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx @@ -423,8 +423,9 @@ namespace drawinglayer if(pLineAttribute) { - // pre-fill fLineWidth - fLineWidth = pLineAttribute->getWidth(); + // pre-fill fLineWidth #119198# Need to apply maCurrentTransformation, too (!) + const basegfx::B2DVector aDiscreteUnit(maCurrentTransformation * basegfx::B2DVector(pLineAttribute->getWidth(), 0.0)); + fLineWidth = aDiscreteUnit.getLength(); // pre-fill fMiterLength fMiterLength = fLineWidth; |