aryagraph.render.export.svg_to_png#

aryagraph.render.export.svg_to_png(svg: str, path: str | Path, width: float, height: float, scale: float = 2.0) → Path[source]#

Rasterise svg to path at scale × its CSS pixel size.