|
|
Re: Support for svg shapes [message #1821389 is a reply to message #1821371] |
Wed, 12 February 2020 10:25 |
|
Hello,
I am not sure about this issue because I am not an SVG expert, but I do not think that I tested this extension point with a SVG having the attributes "vector-effect" and "preserveAspectRatio". This might be the cause of your issue. I need to test to be sure.
Best regards,
Steve
Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Re: Support for svg shapes [message #1821551 is a reply to message #1821390] |
Fri, 14 February 2020 15:42 |
|
Hello,
I checked by adding your svg as a custom bundled image where I set the identifier and attribute for the border color and size. When I change the color and size in the VSM, I see it change on the diagram so the extension point is properly set. However, like you when I change the size of the diagram element, the border size change proportionally. What is strange is that if I open the image in an editor and zoom in, the border width also grows. As you have linked in your previous message I did not expect that with the attribute 'vector-effect="non-scaling-stroke"'. Do you have the same issue? For information, Sirius only changes the referenced attributes before displaying the SVG. At this point, I would tend to think that the issue comes from how the SVG file is specified but I am not entirely sure.
Best regards,
Steve
Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04598 seconds