SVG coords to VML coords

后端 未结 2 1564
庸人自扰
庸人自扰 2021-02-11 07:24

i have svg file



        
2条回答
  •  北恋
    北恋 (楼主)
    2021-02-11 07:55

    ok its simple

    we have

    
    ...
    
    ... 
    
    

    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

    
    ...
    
    
    
    ...
    
    

提交回复
热议问题