22 Nov
2016
22 Nov
'16
8:21 a.m.
Hi,
I'm looking for a solution to convert my fill pattern which looks like this:
<pattern id="diagonalHatch" patternUnits="userSpaceOnUse" width="4" height="4" patternTransform="rotate(45 2 2)"> <path d="M -1,2 l 6,0 M 2,-1 l 0,6" style="stroke:#000000; stroke-width:1" /> </pattern>
and then:
fill="url(#diagonalHatch)"
to explicit paths, cause in my use case I cant use the fill argument, everything must be paths. For now I convert my svg to pbm and back to svg, this is quick'n'dirty but was the only solution I found til now.
I want to do this automated on linux, so I'm looking for a cli solution so I can integrate it into my process.
Is this even possible with inkscape or are there other tools I could use?
Regards Matthias