summaryrefslogtreecommitdiffstats
path: root/testfiles/cli_tests/testcases/export-margin_mm_viewbox_drawing_expected.svg
blob: e7773cd446856859cb9e22ed79b6e8770d161009 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   sodipodi:docname="square_mm_viewbox.svg"
   id="svg4"
   version="1.1"
   viewBox="0 0 200 200"
   height="200mm"
   width="200mm">
  <metadata
     id="metadata10">
    <rdf:RDF>
      <cc:Work
         rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
      </cc:Work>
    </rdf:RDF>
  </metadata>
  <defs
     id="defs8" />
  <sodipodi:namedview
     fit-margin-bottom="50"
     fit-margin-right="50"
     fit-margin-left="50"
     fit-margin-top="50"
     id="namedview6"
     inkscape:window-height="480"
     inkscape:window-width="640"
     inkscape:pageshadow="2"
     inkscape:pageopacity="0"
     guidetolerance="10"
     gridtolerance="10"
     objecttolerance="10"
     borderopacity="1"
     bordercolor="#666666"
     pagecolor="#ffffff" />
  <!-- Consider that usually 1 user unit = 1 px = 1/96 inch, but viewBox scale the the drawing here, 
  so that 1 (unitless) user unit is equivalent to 1 mm after scaling. 
  The first square (square-mm) doesn't actually have a size of 100 mm.
  The second and third square together has the size of 100 mm × 100 mm.
  <rect x="0" y="0" width="100mm" height="100mm" fill="yellow" id="square-mm" />-->
  <rect
     id="square-blue"
     fill="#0000ff"
     height="100"
     width="50"
     y="50"
     x="50" />
  <rect
     id="square-red"
     fill="#ff0000"
     height="100"
     width="50"
     y="50"
     x="100" />
</svg>