本來這個blog是記錄開發輸入法的點滴的,後來越來越雜,現在什麼都記錄了。

2012年4月11日 星期三

Doraemon in SVG format doraemon.svg

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"
   version="1.1"
   width="400"
   height="200" >

   <g transform="translate(226,56)">
    <path id="face" d="M -37 52 A 55 45 0 1 1 37 52 Z" style="fill:white;stroke:none" />
    <path id="head" d="M -37 52 A 55 45 0 1 1 37 52
                       L 47 52
                       A 64 64 0 1 0 -47 52
                       Z" style="fill:deepskyblue;stroke:black;stroke-width:2" />

    <circle id="nose" r="7" fill="red" stroke="black" stroke-width="2" />
    <ellipse id="lefteye" cx="-18" cy="-18" rx="18" ry="18" fill="white" stroke="black" stroke-width="2"/>
    <circle id="lefteye_center" r="2" cx="-9" cy="-10" fill="black" stroke="black" stroke-width="2" />
    <ellipse id="righteye" cx="18" cy="-18" rx="18" ry="18" fill="white" stroke="black" stroke-width="2"/>
    <circle id="righteye_center" r="2" cx="9" cy="-10" fill="black" stroke="black" stroke-width="2" />
    <line id="mouth_top_vert" x1="0" y1="7" x2="0" y2="45" stroke="black" stroke-width="2" />
    <path id="mouth" d="M -32,29 A 40 40 0 0 0 32 29" style="fill:none;stroke:black;stroke-width:2" />

    <path id="moustache_left_top" d="M -44 24 l 21 -6" style="stroke:black;stroke-width:2;fill:none"/>
    <path id="moustache_left_mid" d="M -44 12 l 22 0"  style="stroke:black;stroke-width:2;fill:none"/>
    <path id="moustache_left_btm" d="M -44  0 l 21 6"  style="stroke:black;stroke-width:2;fill:none"/>

    <path id="moustache_right_top" d="M 44 24 l -21 -6" style="stroke:black;stroke-width:2;fill:none"/>
    <path id="moustache_right_mid" d="M 44 12 l -22 0"  style="stroke:black;stroke-width:2;fill:none"/>
    <path id="moustache_right_btm" d="M 44  0 l -21 6"  style="stroke:black;stroke-width:2;fill:none"/>

    <path id="head_body_separator" d="M 47 52
                                      A 2 2 0 1 1 47 62
                                      L -47 62
                                      A 2 2 0 0 1 -47 52
                                      Z" style="fill:red;stroke:black;stroke-width:2" />

    <path id="body_outline" d="M -47 62 L -69 77 A 15 15 1 0 1 -57 98 L -47 89 L -47 127 L -7 127
                               A 2 2 0 1 1 7 127 L 47 127 L 47 89 L 57 98 A 15 15 1 0 1 69 77 L 47 62 Z"
                            style="fill:deepskyblue;stroke:black;stroke-width:2" />

    <path id="body_outline" d="M -30 62 A 35 35 1 1 0 30 62 Z"
                            style="fill:white;stroke:black;stroke-width:2" />

    <path id="pocket" d="M -25 80 A 25 25 1 0 0 25 80 Z"
                            style="fill:none;stroke:black;stroke-width:2" />
    <g id="ring">
      <path id="ring_outline" d="M -6 62 A 8 8 0 0 0 0 74 L 0 68 L 0 74 A 8 8 0 0 0 6 62 Z"
                              style="fill:yellow;stroke:black;stroke-width:2;" />
      <circle id="ring_center" r="2" cx="0" cy="68" style="fill:black;stroke:none" />
    </g>

    <path id="left_hand" d="M -69 77 A 15 15 1 0 1 -57 98 A 15 15 1 1 1 -69 77"
                            style="fill:white;stroke:black;stroke-width:2" />

    <path id="left_foot" d="M -8 140 A 8 8 0 0 0 -7 127 L -47 127 A 8 8 0 0 0 -50 140 Z"
                            style="fill:white;stroke:black;stroke-width:2" />

    <path id="right_hand" d="M 69 77 A 15 15 1 0 0 57 98 A 15 15 1 1 0 69 77"
                            style="fill:white;stroke:black;stroke-width:2" />

    <path id="right_foot" d="M 8 140 A 8 8 0 0 1 7 127 L 47 127 A 8 8 0 0 1 50 140 Z"
                            style="fill:white;stroke:black;stroke-width:2" />

  </g>
</svg>

2 則留言:

匿名 提到...
網誌管理員已經移除這則留言。
匿名 提到...
網誌管理員已經移除這則留言。