svg-with-explicit-width.svg 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!-- Created with Inkscape (http://www.inkscape.org/) -->
  3. <svg
  4. xmlns:dc="http://purl.org/dc/elements/1.1/"
  5. xmlns:cc="http://creativecommons.org/ns#"
  6. xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  7. xmlns:svg="http://www.w3.org/2000/svg"
  8. xmlns="http://www.w3.org/2000/svg"
  9. xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
  10. xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
  11. width="320"
  12. height="480"
  13. id="svg3004"
  14. version="1.1"
  15. inkscape:version="0.48.2 r9819"
  16. sodipodi:docname="New document 1">
  17. <defs
  18. id="defs3006" />
  19. <sodipodi:namedview
  20. id="base"
  21. pagecolor="#ffffff"
  22. bordercolor="#666666"
  23. borderopacity="1.0"
  24. inkscape:pageopacity="0.0"
  25. inkscape:pageshadow="2"
  26. inkscape:zoom="0.7"
  27. inkscape:cx="269.94414"
  28. inkscape:cy="161.57339"
  29. inkscape:document-units="px"
  30. inkscape:current-layer="layer1"
  31. showgrid="false"
  32. fit-margin-top="0"
  33. fit-margin-left="0"
  34. fit-margin-right="0"
  35. fit-margin-bottom="0"
  36. inkscape:window-width="747"
  37. inkscape:window-height="680"
  38. inkscape:window-x="277"
  39. inkscape:window-y="9"
  40. inkscape:window-maximized="0" />
  41. <metadata
  42. id="metadata3009">
  43. <rdf:RDF>
  44. <cc:Work
  45. rdf:about="">
  46. <dc:format>image/svg+xml</dc:format>
  47. <dc:type
  48. rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
  49. <dc:title></dc:title>
  50. </cc:Work>
  51. </rdf:RDF>
  52. </metadata>
  53. <g
  54. inkscape:label="Layer 1"
  55. inkscape:groupmode="layer"
  56. id="layer1"
  57. transform="translate(-105.05586,-213.93558)">
  58. <rect
  59. style="opacity:0.98000004;color:#000000;fill:#000000;fill-opacity:0.99607843;fill-rule:nonzero;stroke:none;stroke-width:3;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
  60. id="rect3012"
  61. width="320"
  62. height="480"
  63. x="105.05586"
  64. y="213.93558" />
  65. <rect
  66. style="opacity:0.98000004;color:#000000;fill:#cccccc;fill-opacity:0.99607843;fill-rule:nonzero;stroke:none;stroke-width:3;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
  67. id="rect3014"
  68. width="300"
  69. height="460"
  70. x="115.15739"
  71. y="224.03709" />
  72. <text
  73. xml:space="preserve"
  74. style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
  75. x="136.48444"
  76. y="333.93558"
  77. id="text3016"
  78. sodipodi:linespacing="125%"><tspan
  79. sodipodi:role="line"
  80. id="tspan3018"
  81. x="136.48444"
  82. y="333.93558">Outer rect is</tspan></text>
  83. <text
  84. xml:space="preserve"
  85. style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
  86. x="64.285713"
  87. y="187.14285"
  88. id="text3020"
  89. sodipodi:linespacing="125%"
  90. transform="translate(105.05586,213.93558)"><tspan
  91. sodipodi:role="line"
  92. id="tspan3022"
  93. x="64.285713"
  94. y="187.14285">320x480</tspan></text>
  95. <text
  96. xml:space="preserve"
  97. style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
  98. x="130.77014"
  99. y="511.07843"
  100. id="text3024"
  101. sodipodi:linespacing="125%"><tspan
  102. sodipodi:role="line"
  103. id="tspan3026"
  104. x="130.77014"
  105. y="511.07843">SVG specifies</tspan></text>
  106. <text
  107. xml:space="preserve"
  108. style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
  109. x="145.05586"
  110. y="568.22131"
  111. id="text3028"
  112. sodipodi:linespacing="125%"><tspan
  113. sodipodi:role="line"
  114. id="tspan3030"
  115. x="145.05586"
  116. y="568.22131">width = 320</tspan></text>
  117. </g>
  118. </svg>