From 0271f4c86101255862af3dee0ee095ed85637bbf Mon Sep 17 00:00:00 2001 From: Ell Date: Wed, 15 Jan 2020 18:20:43 +0200 Subject: [PATCH] libgimpmath: add version annotations to new matrix functions --- devel-docs/libgimpmath/libgimpmath3-docs.sgml | 4 ++++ libgimpmath/gimpmatrix.c | 12 ++++++++++++ 2 files changed, 16 insertions(+) diff --git a/devel-docs/libgimpmath/libgimpmath3-docs.sgml b/devel-docs/libgimpmath/libgimpmath3-docs.sgml index 2f755e720c..b78dce9fe1 100644 --- a/devel-docs/libgimpmath/libgimpmath3-docs.sgml +++ b/devel-docs/libgimpmath/libgimpmath3-docs.sgml @@ -34,6 +34,10 @@ Index of new symbols in GIMP 2.10 + + Index of new symbols in GIMP 2.10.16 + + Index of deprecated symbols diff --git a/libgimpmath/gimpmatrix.c b/libgimpmath/gimpmatrix.c index cdc23d5a19..bef70a65f7 100644 --- a/libgimpmath/gimpmatrix.c +++ b/libgimpmath/gimpmatrix.c @@ -251,6 +251,8 @@ gimp_matrix2_mult (const GimpMatrix2 *matrix1, * Calculates the determinant of the given matrix. * * Returns: The determinant. + * + * Since: 2.10.16 */ gdouble @@ -265,6 +267,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) @@ -292,6 +296,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, @@ -890,6 +896,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) @@ -909,6 +917,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, @@ -962,6 +972,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,