<?xml version="1.0"?>
<page id="Gimp.Vectors.export_to_file"
      type="topic"
      style="function"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="Gimp.Vectors" group="function" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Boolean</api:type>
      </api:returns>
      <api:name>gimp_vectors_export_to_file</api:name>
      <api:arg>
        <api:type>Gimp.Image</api:type>
        <api:name>image</api:name>
      </api:arg>
      <api:arg>
        <api:type>Gio.File</api:type>
        <api:name>file</api:name>
      </api:arg>
      <api:arg>
        <api:type>Gimp.Vectors</api:type>
        <api:name>vectors</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Vectors.export_to_file</title>
  <synopsis><code mime="text/x-gjs">
function export_to_file(image: <link xref="Gimp.Image">Gimp.Image</link>, file: <link href="../Gio-2.0/Gio.File.html">Gio.File</link>, vectors: <link xref="Gimp.Vectors">Gimp.Vectors</link>): Boolean {
    // Gjs wrapper for gimp_vectors_export_to_file()
}
  </code></synopsis>
  <p>save a path as an SVG file.</p>  <p>This procedure creates an SVG file to save a Vectors object, that
is, a path. The resulting file can be edited using a vector graphics
application, or later reloaded into GIMP. If you pass 0 as the
'vectors' argument, then all paths in the image will be exported.</p>
  <p>Since 2.6</p>
<terms>
<item>
<title><code>image</code></title>
  <p>The image.</p>
</item>
<item>
<title><code>file</code></title>
  <p>The SVG file to create.</p>
</item>
<item>
<title><code>vectors</code></title>
  <p>The vectors object to be saved, or 0 for all in the image.</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>TRUE on success.</p>
</item>
</terms>

</page>
