diff options
author | Jan Holesovsky <kendy@collabora.com> | 2013-11-19 10:02:12 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2013-11-26 11:00:17 +0100 |
commit | e88d04749fb9938b997dbf7a5e7d91a7588c8b83 (patch) | |
tree | 7fcf7798de9d8aa09ec8693a958f11dfcf9db4bb | |
parent | 3b44cb0715a44684fcb8139954e5d76a1072a487 (diff) |
EMF+: Stroke size is always supposed to be absolute.
Conflicts:
cppcanvas/source/mtfrenderer/emfplus.cxx
Change-Id: I7221311e5dee6384dc2d1c071bf6f1c61811895a
-rw-r--r-- | cppcanvas/source/mtfrenderer/emfplus.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx index c77d16b29894..41cb383eecba 100644 --- a/cppcanvas/source/mtfrenderer/emfplus.cxx +++ b/cppcanvas/source/mtfrenderer/emfplus.cxx @@ -604,7 +604,7 @@ namespace cppcanvas void SetStrokeAttributes (rendering::StrokeAttributes& rStrokeAttributes, ImplRenderer& rR, const OutDevState& rState) { EMFP_DEBUG (if (width == 0.0) printf ("EMF+\tTODO: pen with zero width - using minimal which might not be correct\n")); - rStrokeAttributes.StrokeWidth = (rState.mapModeTransform * rR.MapSize (width == 0.0 ? 0.05 : width, 0)).getX (); + rStrokeAttributes.StrokeWidth = fabs((rState.mapModeTransform * rR.MapSize (width == 0.0 ? 0.05 : width, 0)).getX()); } void Read (SvStream& s, ImplRenderer& rR, sal_Int32, sal_Int32 ) |