是否可以检查矢量设计的代码?

时间:2016-07-17 13:34:17

标签: svg vector eps

据我所知,所有矢量图(甚至其他图纸)都是由代码组成的。我想知道是否有可能检查相同的代码。例如,如果我有.svg或.eps格式的矩形,我该如何检查制作这个矩形的代码?

1 个答案:

答案 0 :(得分:0)

尝试在文本编辑器中打开它?

例如,this image应如下所示:

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%" viewBox="0 0 100 100">

 <title>SVG Logo</title>

 <a xlink:href="http://www.w3.org/Graphics/SVG/" target="_parent"
 xlink:title="W3C SVG Working Group home page">

   <rect
    id="background"
    fill="#FF9900"
    width="100"
    height="100"
    rx="4"
    ry="4"/>

...
相关问题