Hi,
I'm a newbie in SVG, I've been trying to get the svg below working for sometime now, I need help:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" zoomAndPan="disable">
<g transform="translate(10mm,10mm)">
<rect x="0mm" y="0mm" width="100mm" height="30mm" style="fill:red;stroke:black;stroke-width:1mm"/> </g> </svg>
The "translate(10mm,10mm)" doesn't work unless i get rid of the units. Without the units, how can I tell it 10 is in mm and not in cm or inch or pixel or ... ?
Any help would be appreciated
I'm a newbie in SVG, I've been trying to get the svg below working for sometime now, I need help:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" zoomAndPan="disable">
<g transform="translate(10mm,10mm)">
<rect x="0mm" y="0mm" width="100mm" height="30mm" style="fill:red;stroke:black;stroke-width:1mm"/> </g> </svg>
The "translate(10mm,10mm)" doesn't work unless i get rid of the units. Without the units, how can I tell it 10 is in mm and not in cm or inch or pixel or ... ?
Any help would be appreciated