Skip to content Skip to sidebar Skip to footer

SVG Coords To VML Coords

i have svg file Copy

69.1341/200=0.3456705

round(0.3456705*10000)=3456

its a 3456 "some units" per pixel

in vml its equals to "width:1px;height:1px" and coordsize="3456 3456"

result

<body>
...
<v:group style="position: absolute;
                left: 0pt;
                top: 0pt; 
                width: 1px;
                height: 1px;
                z-index: -56;"
                coordsize="1 1"
                coordorigin="0 0" id="Слой_x0020_1">

<v:shape path="m 491257,355851 nf v 30290,8903 72612,6110 123164,-4684 -51337,38580 -121161,49633 -197673,50731 e" 
   strokeweight="0.126615" 
   fill="false" 
   style="width: 1px; height: 1px;" 
   coordorigin="-100000 -100000" 
   coordsize="3456 3456"
   class="fil3 str0"></v:shape>
...
</body>

Solution 2:

Here is a lightweight library that will convert SVG path(s) to VML paths(s) SVG to VML conversion with Core Framework


Post a Comment for "SVG Coords To VML Coords"