From: Darren S. <dsy...@gm...> - 2010-03-22 09:13:23
|
I wondered if this project was still active and anyone monitoring the list? I tried using the latest svgsharp library to load and render a diagram created within Visio. Most of the diagram rendered cleanly (better than firefox/chrome and Inkscape). However, arrows at the end of lines had an incorrect orientation - they were rotated 90 degrees anticlockwise. Reviewing the code I could see the marker orientation calculated for marker-end adding 270 for the start angle which forced an incorrect calculation for the marker angle to match the incoming line. The unit tests are very explicit about angle calculations in this area so I'm assuming that I don't understand the coordinate system used or there are some other transformations occurring (or should occur elsewhere). I then tried a simple marker example and the library failed to render this. Checking the unit tests each of the marker examples in the unit tests also failed to render. I wondered if this was a known issue or if anyone had experienced this in the past. -- Darren |