Kaydet (Commit) 6f6b12cb authored tarafından Jan Holesovsky's avatar Jan Holesovsky

EMF+: Stroke size is always supposed to be absolute.

Change-Id: I7221311e5dee6384dc2d1c071bf6f1c61811895a
üst 3251450c
......@@ -625,7 +625,7 @@ namespace cppcanvas
SAL_INFO ("cppcanvas.emf", "TODO: pen with zero width - using minimal which might not be correct\n");
}
#endif
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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment