[gimp] libgimpmath: add new matrix functions to .def file
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimpmath: add new matrix functions to .def file
- Date: Tue, 7 Jan 2020 08:04:37 +0000 (UTC)
commit 9d015b7b1a537b6e475bc1dab0cc5b874992157a
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().
libgimpmath/gimpmath.def | 6 ++++++
libgimpmath/gimpmatrix.c | 2 ++
2 files changed, 8 insertions(+)
---
diff --git a/libgimpmath/gimpmath.def b/libgimpmath/gimpmath.def
index 2d6ef8f618..97bc32fd2d 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_param_matrix2_get_type
gimp_param_matrix3_get_type
gimp_param_spec_matrix2
diff --git a/libgimpmath/gimpmatrix.c b/libgimpmath/gimpmatrix.c
index 7a4422df9f..cdc23d5a19 100644
--- a/libgimpmath/gimpmatrix.c
+++ b/libgimpmath/gimpmatrix.c
@@ -960,6 +960,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]