<?xml version="1.0"?>
<page id="Gimp.Matrix2.transform_point"
      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="Gimp.Matrix2" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>void</api:type>
      </api:returns>
      <api:name>gimp_matrix2_transform_point</api:name>
      <api:arg>
        <api:type>Number(gdouble)</api:type>
        <api:name>x</api:name>
      </api:arg>
      <api:arg>
        <api:type>Number(gdouble)</api:type>
        <api:name>y</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Matrix2.prototype.transform_point</title>
  <synopsis><code mime="text/x-gjs">
function transform_point(x: Number(gdouble), y: Number(gdouble)): [newx: Number(gdouble), newy: Number(gdouble)] {
    // Gjs wrapper for gimp_matrix2_transform_point()
}
  </code></synopsis>
  <p>Transforms a point in 2D as specified by the transformation matrix.</p>
  <p>Since 2.10.16</p>
<terms>
<item>
<title><code>x</code></title>
  <p>The source X coordinate.</p>
</item>
<item>
<title><code>y</code></title>
  <p>The source Y coordinate.</p>
</item>
<item>
<title><code>newx</code></title>
  <p>The transformed X coordinate.</p>
</item>
<item>
<title><code>newy</code></title>
  <p>The transformed Y coordinate.</p>
</item>
</terms>

</page>
