NULL if an error occurs.Handle.newFromFile
rsvg.handle.Handle newFromFile(string filename)Loads the SVG specified by file_name. Note that this function, like [rsvg.handle.Handle.new_], does not specify any loading flags for the resulting handle. If you require the use of [rsvg.types.HandleFlags], use [rsvg.handle.Handle.newFromGfileSync].
Parameters
filename | The file name to load, or a URI. |
Returns
A [rsvg.handle.Handle] or
Throws
[ErrorWrap]