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 debug:geometry; |
|
11 |
|
12 // Debug data |
10 // Debug data |
13 template "debug:geometry", mode="debug" { |
11 emit "debug:geometry" { |
14 | ID, x, y, w, h |
12 | ID, x, y, w, h |
15 foreach "$geometry" |
13 foreach "$geometry" |
16 | «@Id» «@x» «@y» «@w» «@h» |
14 | «@Id» «@x» «@y» «@w» «@h» |
17 } |
15 } |
18 |
16 |