libgimpmath: add version annotations to new matrix functions

This commit is contained in:
Ell
2020-01-15 18:20:43 +02:00
parent 4a4999082a
commit 628833426a
2 changed files with 16 additions and 0 deletions

View File

@ -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,