inkscape--svg画图

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了inkscape--svg画图相关的知识,希望对你有一定的参考价值。

<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:xlink="http://www.w3.org/1999/xlink"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   width="640px"
   height="480px"
   id="svg3910"
   version="1.1"
   inkscape:version="0.48.3.1 r9886"
   sodipodi:docname="beautilady.svg">
  <defs
     id="defs3912">
    <linearGradient
       inkscape:collect="always"
       id="linearGradient3978">
      <stop
         style="stop-color:#000000;stop-opacity:1;"
         offset="0"
         id="stop3980" />
      <stop
         style="stop-color:#000000;stop-opacity:0;"
         offset="1"
         id="stop3982" />
    </linearGradient>
    <linearGradient
       inkscape:collect="always"
       id="linearGradient3962">
      <stop
         style="stop-color:#000000;stop-opacity:1;"
         offset="0"
         id="stop3964" />
      <stop
         style="stop-color:#000000;stop-opacity:0;"
         offset="1"
         id="stop3966" />
    </linearGradient>
    <radialGradient
       inkscape:collect="always"
       xlink:href="#linearGradient3962"
       id="radialGradient4504"
       gradientUnits="userSpaceOnUse"
       gradientTransform="matrix(-0.02779016,0.61138617,-0.62150089,-0.02824992,282.75641,67.945887)"
       cx="172.96454"
       cy="168.92198"
       fx="172.96454"
       fy="168.92198"
       r="46.447181" />
    <radialGradient
       inkscape:collect="always"
       xlink:href="#linearGradient3978"
       id="radialGradient4506"
       gradientUnits="userSpaceOnUse"
       gradientTransform="matrix(0.22232221,0.52801539,-0.57338864,0.24142677,226.10261,37.191981)"
       cx="169.25253"
       cy="164.77251"
       fx="169.25253"
       fy="164.77251"
       r="46.447181" />
  </defs>
  <sodipodi:namedview
     id="base"
     pagecolor="#ffffff"
     bordercolor="#666666"
     borderopacity="1.0"
     inkscape:pageopacity="0.0"
     inkscape:pageshadow="2"
     inkscape:zoom="0.74"
     inkscape:cx="150.9078"
     inkscape:cy="240"
     inkscape:current-layer="layer1"
     inkscape:document-units="px"
     showgrid="false"
     inkscape:window-width="1024"
     inkscape:window-height="721"
     inkscape:window-x="-4"
     inkscape:window-y="-4"
     inkscape:window-maximized="1" />
  <metadata
     id="metadata3915">
    <rdf:RDF>
      <cc:Work
         rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
        <dc:title />
      </cc:Work>
    </rdf:RDF>
  </metadata>
  <g
     id="layer1"
     inkscape:label="Layer 1"
     inkscape:groupmode="layer">
    <g
       id="g4516"
       style="fill:#ff0005;fill-opacity:0.56470591">
      <path
         sodipodi:nodetypes="cccccccc"
         inkscape:connector-curvature="0"
         id="path4510"
         d="M 214.45121,105.85547 C 197.31223,83.517824 165.05816,88.148399 134.24114,117.29078 64.048108,122.7324 86.863993,178.89491 76.156029,211.51773 43.78067,247.37487 56.258137,293.63271 89.06383,343.1773 c -32.738772,18.96346 9.257181,51.51506 50.34043,83.90071 -72.237533,-18.42924 -27.2178,14.73472 -20.65249,30.97873 l -47.758862,-6.4539 C 57.581668,444.99147 25.886533,420.9558 29.585586,410.92237"
         style="fill:#ff0005;fill-opacity:0.56470588;stroke:#78e933;stroke-width:13;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
      <path
         sodipodi:nodetypes="ccccccc"
         inkscape:connector-curvature="0"
         id="path4512"
         d="m 276.22695,91.475175 c 32.44972,-33.943683 54.53234,-26.407131 73.57447,0 84.62379,122.829845 73.66566,90.459905 111.00709,129.078015 38.67506,61.89084 7.715,96.70136 -12.9078,135.53192 -55.79905,37.50368 -22.09891,38.15476 -25.8156,54.21276 -25.72042,20.19843 -8.25883,29.60135 20.65248,36.14185 18.84781,-5.23468 33.12312,-37.90433 58.08511,-6.4539"
         style="fill:#ff0005;fill-opacity:0.56470588;stroke:#78e933;stroke-width:13;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
    </g>
    <path
       sodipodi:type="spiral"
       style="fill:none;stroke:#d42e45;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:2,2;stroke-dashoffset:0"
       id="path4498"
       sodipodi:cx="236.21277"
       sodipodi:cy="87.602837"
       sodipodi:expansion="1"
       sodipodi:revolution="3"
       sodipodi:radius="38.744911"
       sodipodi:argument="-17.802038"
       sodipodi:t0="0"
       d="m 236.21277,87.602837 c 0.97076,1.682659 -1.78925,2.138737 -2.79669,1.613476 -2.7301,-1.423425 -2.19916,-5.267056 -0.43026,-7.206856 3.16414,-3.469848 8.70052,-2.490421 11.61702,0.752952 4.28008,4.75978 2.80381,12.18544 -1.93617,16.027187 -6.31765,5.120444 -15.68926,3.127444 -20.43735,-3.11938 -5.97499,-7.860994 -3.45654,-19.202256 4.30259,-24.847519 9.39735,-6.837169 22.72044,-3.788827 29.25769,5.485808 7.70391,10.929837 4.12312,26.241865 -6.66902,33.667855 -12.45996,8.57358 -29.76547,4.45875 -38.07802,-7.85224 -9.44525,-13.988534 -4.79533,-33.290575 9.03545,-42.488182 15.51604,-10.318325 36.81679,-5.132582 46.89835,10.218663 11.19243,17.042792 5.47034,40.343849 -11.40188,51.308509"
       transform="translate(0,-9.035461)" />
    <path
       sodipodi:type="arc"
       style="color:#000000;fill:#f5dabe;stroke:none;stroke-width:0.99921262000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;fill-opacity:1"
       id="path4502"
       sodipodi:cx="251.05673"
       sodipodi:cy="257.34042"
       sodipodi:rx="136.17731"
       sodipodi:ry="136.17731"
       d="m 387.23404,257.34042 a 136.17731,136.17731 0 1 1 -272.35461,0 136.17731,136.17731 0 1 1 272.35461,0 z"
       transform="translate(-8,-12)" />
    <g
       id="g3986"
       style="stroke:#6e2c45;stroke-width:5;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:5, 5;stroke-dashoffset:0"
       transform="translate(0,40)">
      <path
         d="m 217.10082,168.92198 c 0,15.68332 -20.57143,28.39717 -45.94758,28.39717 -25.37614,0 -45.94757,-12.71385 -45.94757,-28.39717 0,-15.68332 20.57143,-28.39716 45.94757,-28.39716 25.37615,0 45.94758,12.71384 45.94758,28.39716 z"
         sodipodi:ry="28.397163"
         sodipodi:rx="45.947575"
         sodipodi:cy="168.92198"
         sodipodi:cx="171.15324"
         id="path3918"
         style="color:#000000;fill:url(#radialGradient4504);fill-opacity:1;fill-rule:nonzero;stroke:#6e2c45;stroke-width:5;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:5, 5;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
         sodipodi:type="arc" />
      <path
         d="m 217.10082,168.92198 c 0,15.68332 -20.57143,28.39717 -45.94758,28.39717 -25.37614,0 -45.94757,-12.71385 -45.94757,-28.39717 0,-15.68332 20.57143,-28.39716 45.94757,-28.39716 25.37615,0 45.94758,12.71384 45.94758,28.39716 z"
         sodipodi:ry="28.397163"
         sodipodi:rx="45.947575"
         sodipodi:cy="168.92198"
         sodipodi:cx="171.15324"
         id="path3918-1"
         style="color:#000000;fill:url(#radialGradient4506);fill-opacity:1;fill-rule:nonzero;stroke:#6e2c45;stroke-width:5;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:5, 5;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
         sodipodi:type="arc"
         transform="translate(146.98861,1.70623e-6)" />
    </g>
    <path
       style="fill:#ff0005;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:0.56470591000000003"
       d="m 202.01418,307.03546 120.04256,-37.43262 c -14.35513,20.93809 -28.80118,40.87613 -43.84289,54.26179 -11.62812,10.34789 -23.61221,16.77997 -36.18548,16.73111 -23.19832,-1.14043 -36.30843,-8.95609 -40.01419,-33.56028 z"
       id="path4508"
       inkscape:connector-curvature="0"
       sodipodi:nodetypes="ccscc" />
    <rect
       style="opacity:0.97000001999999996;fill:#cccccc;fill-opacity:0.56470587999999999;fill-rule:nonzero;stroke:#f1d720;stroke-width:5.2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
       id="rect4514"
       width="61.957447"
       height="58.085106"
       x="446.60992"
       y="69.531914" />
  </g>
</svg>

 

以上是关于inkscape--svg画图的主要内容,如果未能解决你的问题,请参考以下文章

Inkscape svg彩色图转灰度图

如何修复 FabricJS 中 Inkscape SVG 的缩放和旋转?

VSCode配置

利用Graphviz绘制逻辑关系依赖图

怎么用python画图

python可以画图吗