import_paths_from_file


Description:

[ Version ( since = "2.4" ) ]
public bool import_paths_from_file (File file, bool merge, bool scale, out (unowned Path)[] paths)

Import paths from an SVG file.

This procedure imports paths from an SVG file. SVG elements other than paths and basic shapes are ignored.

Parameters:

this

The image.

file

The SVG file to import.

merge

Merge paths into a single path object.

scale

Scale the SVG to image dimensions.

paths

The list of newly created paths.

Returns:

TRUE on success.