summaryrefslogtreecommitdiffstats
path: root/testfiles/cli_tests/testcases/export-margin_mm_viewbox_id_expected.svg
blob: 6e39aa8cd1336e593a68540df7665526206cc91b (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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
   width="150mm"
   height="200mm"
   viewBox="0 0 150 200"
   version="1.1"
   id="svg4"
   sodipodi:docname="square_mm_viewbox.svg"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:svg="http://www.w3.org/2000/svg">
  <defs
     id="defs8" />
  <sodipodi:namedview
     id="namedview6"
     pagecolor="#ffffff"
     bordercolor="#666666"
     borderopacity="1.0"
     objecttolerance="10.0"
     gridtolerance="10.0"
     guidetolerance="10.0"
     inkscape:pageshadow="2"
     inkscape:pageopacity="0.0"
     inkscape:pagecheckerboard="false"
     inkscape:document-units="mm"
     fit-margin-top="50"
     fit-margin-left="50"
     fit-margin-right="50"
     fit-margin-bottom="50" />
  <!-- 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
     x="0"
     y="50"
     width="50"
     height="100"
     fill="#0000ff"
     id="square-blue" />
  <rect
     x="50"
     y="50"
     width="50"
     height="100"
     fill="#ff0000"
     id="square-red" />
</svg>