diff options
author | Bruno Girin <brunogirin@gmail.com> | 2012-01-28 14:52:03 +0000 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-01-28 18:26:26 +0100 |
commit | 71e5e760c5d49077cd6e8fbcdd398767d946b279 (patch) | |
tree | 10703932a3751862b0bbcd9f15daf1f55c2c5c22 | |
parent | 8f036a2767d42155f2f56bb737df8156996d151b (diff) |
Fix for ticket 44576
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
-rw-r--r-- | src/lib/VSDXContentCollector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/VSDXContentCollector.cpp b/src/lib/VSDXContentCollector.cpp index fa1d5cf..2a4b36f 100644 --- a/src/lib/VSDXContentCollector.cpp +++ b/src/lib/VSDXContentCollector.cpp @@ -453,13 +453,13 @@ void libvisio::VSDXContentCollector::_lineProperties(double strokeWidth, Colour { m_styleProps.insert("draw:marker-start-viewbox", "0 0 20 30"); m_styleProps.insert("draw:marker-start-path", "m10 0-10 30h20z"); - m_styleProps.insert("draw:marker-start-width", m_scale*0.118); + m_styleProps.insert("draw:marker-start-width", m_scale*(0.1/(strokeWidth*strokeWidth+1)+2.54*strokeWidth)); } if (endMarker > 0) { m_styleProps.insert("draw:marker-end-viewbox", "0 0 20 30"); m_styleProps.insert("draw:marker-end-path", "m10 0-10 30h20z"); - m_styleProps.insert("draw:marker-end-width", m_scale*0.118); + m_styleProps.insert("draw:marker-end-width", m_scale*(0.1/(strokeWidth*strokeWidth+1)+2.54*strokeWidth)); } } |