The OpenD Programming Language

nsvgParseFromFile

  1. NSVG* nsvgParseFromFile(const(char)[] filename, const(char)[] units, float dpi, int canvaswdt, int canvashgt)
  2. NSVG* nsvgParseFromFile(ST fi, const(char)[] units, float dpi, int canvaswdt, int canvashgt)
    nothrow
    static if(NanoSVGHasIVVFS)
    nsvgParseFromFile
    (
    ST
    )
    (
    auto ref ST fi
    ,
    const(char)[] units = "px"
    ,
    float dpi = 96
    ,
    int canvaswdt = -1
    ,
    int canvashgt = -1
    )
    if (
    isReadableStream!ST &&
    isSeekableStream!ST
    &&
    streamHasSize!ST
    )

Meta