Support for svg shapes [message #1821369] |
Tue, 11 February 2020 23:22  |
Eclipse User |
|
|
|
Hi
It seems that svg shapes aren't fully supported. Please see attached screenshot. There are 3 problems:
1) A node label is not centered vertically.
2) Border is scaled. I added vector-effect="non-scaling-stroke" but it doesn't help.
3) Also when I drag a node it's resized randomly.
Can you please help to fix it?
Here is the svg shape:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 50 30" preserveAspectRatio="none">
<path d="M 5,0.5 h 40 l 4.5,14.5 -4.5,14.5 h -40 l -4.5,-15 Z"
id="path"
stroke="#000000"
stroke-width="1"
fill="#FFAFFF"
vector-effect="non-scaling-stroke" />
</svg>
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.23527 seconds