<?xml version="1.0"?>
<page id="GimpUi.ZoomModel.get_factor"
      type="topic"
      style="method"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="GimpUi.ZoomModel" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Number(gdouble)</api:type>
      </api:returns>
      <api:name>gimp_zoom_model_get_factor</api:name>
    </api:function>
  </info>
  <title>GimpUi.ZoomModel.prototype.get_factor</title>
  <synopsis><code mime="text/x-gjs">
function get_factor(): Number(gdouble) {
    // Gjs wrapper for gimp_zoom_model_get_factor()
}
  </code></synopsis>
  <p>Retrieves the current zoom factor of <code>model</code>.</p>

<terms>
<item>
<title><code>Returns</code></title>
  <p>the current scale factor</p>  <p>Since GIMP 2.4</p>
</item>
</terms>

</page>
