pixie/fileformats/svg

    Dark Mode
Search:
Group by:

Load SVG files.

Consts

xmlSignature = "<?xml"
  Source Edit
svgSignature = "<svg"
  Source Edit

Procs

proc decodeSvg(data: string; width = 0; height = 0): Image {...}{.
    raises: [PixieError], tags: [ReadIOEffect, RootEffect, WriteIOEffect].}
Render SVG file and return the image. Defaults to the SVG's view box size.   Source Edit