Function

GimpPathexport_to_file

since: 2.6

Declaration [src]

gboolean
gimp_path_export_to_file (
  GimpImage* image,
  GFile* file,
  GimpPath* path
)

Description [src]

Save a path as an SVG file.

This procedure creates an SVG file to save a Path object, that is, a path. The resulting file can be edited using a vector graphics application, or later reloaded into GIMP. Pass NULL as the ‘path’ argument to export all paths in the image.

Available since: 2.6

Parameters

image

Type: GimpImage

The image.

The data is owned by the caller of the function.
file

Type: GFile

The SVG file to create.

The data is owned by the caller of the function.
path

Type: GimpPath

The path object to export, or NULL for all in the image.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE on success.