[gimp/gimp-2-10] libgimpmath: add new matrix functions to .def file



commit 27ad1316dd8b9455546782f76ccb08cea9a126fb
Author: Ell <ell_se yahoo com>
Date:   Tue Jan 7 10:00:01 2020 +0200

    libgimpmath: add new matrix functions to .def file
    
    ... and fix docs for gimp_matrix4_transform_point().
    
    (cherry picked from commit 9d015b7b1a537b6e475bc1dab0cc5b874992157a)

 libgimpmath/gimpmath.def | 6 ++++++
 libgimpmath/gimpmatrix.c | 2 ++
 2 files changed, 8 insertions(+)
---
diff --git a/libgimpmath/gimpmath.def b/libgimpmath/gimpmath.def
index 1a489403ac..adc557276b 100644
--- a/libgimpmath/gimpmath.def
+++ b/libgimpmath/gimpmath.def
@@ -1,7 +1,10 @@
 EXPORTS
        gimp_matrix2_get_type
+       gimp_matrix2_determinant
        gimp_matrix2_identity
+       gimp_matrix2_invert
        gimp_matrix2_mult
+       gimp_matrix2_transform_point
        gimp_matrix3_affine
        gimp_matrix3_determinant
        gimp_matrix3_get_type
@@ -18,7 +21,10 @@ EXPORTS
        gimp_matrix3_translate
        gimp_matrix3_xshear
        gimp_matrix3_yshear
+       gimp_matrix4_identity
+       gimp_matrix4_mult
        gimp_matrix4_to_deg
+       gimp_matrix4_transform_point
        gimp_md5_get_digest
        gimp_param_matrix2_get_type
        gimp_param_matrix3_get_type
diff --git a/libgimpmath/gimpmatrix.c b/libgimpmath/gimpmatrix.c
index 4ead2b6ff2..6d10e5096a 100644
--- a/libgimpmath/gimpmatrix.c
+++ b/libgimpmath/gimpmatrix.c
@@ -1000,6 +1000,8 @@ gimp_matrix4_to_deg (const GimpMatrix4 *matrix,
  * @newz: The transformed Z coordinate.
  *
  * Transforms a point in 3D as specified by the transformation matrix.
+ *
+ * Returns: The transformed W coordinate.
  */
 gdouble
 gimp_matrix4_transform_point (const GimpMatrix4 *matrix,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]