[gimp/gimp-2-10] libgimpmath: add version annotations to new matrix functions



commit 628833426aa8cd0c87cc76d1cf6cbe6331d692a5
Author: Ell <ell_se yahoo com>
Date:   Wed Jan 15 18:20:43 2020 +0200

    libgimpmath: add version annotations to new matrix functions

 devel-docs/libgimpmath/libgimpmath-docs.sgml |  4 ++++
 libgimpmath/gimpmatrix.c                     | 12 ++++++++++++
 2 files changed, 16 insertions(+)
---
diff --git a/devel-docs/libgimpmath/libgimpmath-docs.sgml b/devel-docs/libgimpmath/libgimpmath-docs.sgml
index 2760b401a7..eab92bbc65 100644
--- a/devel-docs/libgimpmath/libgimpmath-docs.sgml
+++ b/devel-docs/libgimpmath/libgimpmath-docs.sgml
@@ -35,6 +35,10 @@
     <title>Index of new symbols in GIMP 2.10</title>
     <xi:include href="xml/api-index-2.10.xml"><xi:fallback /></xi:include>
   </index>
+  <index role="2.10.16" id="api-index-2-10-16">
+    <title>Index of new symbols in GIMP 2.10.16</title>
+    <xi:include href="xml/api-index-2.10.xml"><xi:fallback /></xi:include>
+  </index>
   <index role="deprecated" id="api-index-deprecated">
     <title>Index of deprecated symbols</title>
     <xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
diff --git a/libgimpmath/gimpmatrix.c b/libgimpmath/gimpmatrix.c
index 6d10e5096a..1cf6a6cce7 100644
--- a/libgimpmath/gimpmatrix.c
+++ b/libgimpmath/gimpmatrix.c
@@ -271,6 +271,8 @@ gimp_matrix2_mult (const GimpMatrix2 *matrix1,
  * Calculates the determinant of the given matrix.
  *
  * Returns: The determinant.
+ *
+ * Since: 2.10.16
  */
 
 gdouble
@@ -285,6 +287,8 @@ gimp_matrix2_determinant (const GimpMatrix2 *matrix)
  * @matrix: The matrix that is to be inverted.
  *
  * Inverts the given matrix.
+ *
+ * Since: 2.10.16
  */
 void
 gimp_matrix2_invert (GimpMatrix2 *matrix)
@@ -312,6 +316,8 @@ gimp_matrix2_invert (GimpMatrix2 *matrix)
  * @newy: The transformed Y coordinate.
  *
  * Transforms a point in 2D as specified by the transformation matrix.
+ *
+ * Since: 2.10.16
  */
 void
 gimp_matrix2_transform_point (const GimpMatrix2 *matrix,
@@ -930,6 +936,8 @@ gimp_matrix3_is_simple (const GimpMatrix3 *matrix)
  * @matrix: A matrix.
  *
  * Sets the matrix to the identity matrix.
+ *
+ * Since: 2.10.16
  */
 void
 gimp_matrix4_identity (GimpMatrix4 *matrix)
@@ -949,6 +957,8 @@ gimp_matrix4_identity (GimpMatrix4 *matrix)
  * @matrix2: The second input matrix which will be overwritten by the result.
  *
  * Multiplies two matrices and puts the result into the second one.
+ *
+ * Since: 2.10.16
  */
 void
 gimp_matrix4_mult (const GimpMatrix4 *matrix1,
@@ -1002,6 +1012,8 @@ gimp_matrix4_to_deg (const GimpMatrix4 *matrix,
  * Transforms a point in 3D as specified by the transformation matrix.
  *
  * Returns: The transformed W coordinate.
+ *
+ * Since: 2.10.16
  */
 gdouble
 gimp_matrix4_transform_point (const GimpMatrix4 *matrix,


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