incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1373472 - /incubator/ooo/trunk/main/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
Date Wed, 15 Aug 2012 15:31:24 GMT
Author: alg
Date: Wed Aug 15 15:31:24 2012
New Revision: 1373472

URL: http://svn.apache.org/viewvc?rev=1373472&view=rev
Log:
#119198# Added to apply CurrentTransformation in primitive to metafile conversion when creating
SvtGraphicStroke elements for compatibility

Modified:
    incubator/ooo/trunk/main/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx

Modified: incubator/ooo/trunk/main/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx?rev=1373472&r1=1373471&r2=1373472&view=diff
==============================================================================
--- incubator/ooo/trunk/main/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx (original)
+++ incubator/ooo/trunk/main/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx Wed
Aug 15 15:31:24 2012
@@ -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;



Mime
View raw message