I am trying to scale my SVG down width 0.5 and then draw a line from positive to negative coordinates, but it seems that it renders only to x:0 and y:0.
Does SVG.jsnot support drawing with negative coordinates, or am I doing something wrong here?
My code:
const designerDiv = document.getElementById('designerDiv')
var draw = SVG().addTo(designerDiv).attr({width: '100%', height: '100%'})
draw.rect(100, 100).attr({ fill: '#f06' })
draw.scale(0.5, 0.5, 0, 0)
draw.line(-100, -100, 100, 100).stroke({ width: 3, color: '#000' })
draw.line(-100, 100, 100, -100).stroke({ width: 3, color: '#000' })