Closed ornamentist closed 1 year ago
This is a bug in implementation. Sorry for this. Seems like we need to delete SkCanvas object to complete the SVG stream. I'll land a fix for this in some time.
From version 0.5.4, you must call canvas.complete
before calling canvas.save
. It should generate the SVG close tag that way.
It's probably something I'm doing wrong, but is there something stopping
SvgCanvas
from writing the closing tag here:Any advice much appreciated. This is with Deno on macOS.