write_svg
Mojo function 🡭
write_svg
fn def write_svg(svg: SvgCanvas, path: String)Write svg’s accumulated markup to path, the SVG counterpart to write_bmp/write_png.
Args:
- svg (
SvgCanvas): Document to write. - path (
String): File path to write to.
Raises:
Error: path can’t be opened for writing.