Converts from SVG to canvas.