Gimp » Gimp.Vector2 »

Gimp.Vector2.prototype.add_val

function add_val(vector2: Gimp.Vector2): Gimp.Vector2 {
    // Gjs wrapper for gimp_vector2_add_val()
}
  

This function is identical to Gimp.vector2_add but the vectors are passed by value rather than by reference.

vector2

the second Gimp.Vector2.

Returns

the resulting Gimp.Vector2.

More Information

  • Gimp.Vector2