export_path_to_string


Description:

[ Version ( since = "2.6" ) ]
public string export_path_to_string (Path? path)

Save a path as an SVG string.

This procedure works like [method@Gimp.Image.export_path_to_file] but creates a string rather than a file. The string is NULL-terminated and holds a complete XML document. Pass null as the 'path' argument to export all paths in the image.

Parameters:

this

The image.

path

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

Returns:

A string whose contents are a complete SVG document. The returned value must be freed with g_free.