equal
deleted
inserted
replaced
5 // This retrieves geometry obtained through "inkscape -S" |
5 // This retrieves geometry obtained through "inkscape -S" |
6 // already parsed by python and presented as a list of |
6 // already parsed by python and presented as a list of |
7 // <bbox x="0" y="0" w="42" h="42"> |
7 // <bbox x="0" y="0" w="42" h="42"> |
8 const "geometry", "ns:GetSVGGeometry()"; |
8 const "geometry", "ns:GetSVGGeometry()"; |
9 |
9 |
10 reflect:geometry; |
10 debug:geometry; |
11 |
11 |
12 // Debug data |
12 // Debug data |
13 template "reflect:geometry", mode="debug" { |
13 template "debug:geometry", mode="debug" { |
14 | ID, x, y, w, h |
14 | ID, x, y, w, h |
15 foreach "$geometry" |
15 foreach "$geometry" |
16 | «@Id» «@x» «@y» «@w» «@h» |
16 | «@Id» «@x» «@y» «@w» «@h» |
17 } |
17 } |
18 |
18 |