libgimpmath: add new matrix functions to .def file

... and fix docs for gimp_matrix4_transform_point().
This commit is contained in:
Ell 2020-01-07 10:00:01 +02:00
parent 5646e03eb3
commit 9d015b7b1a
2 changed files with 8 additions and 0 deletions

View File

@ -1,7 +1,10 @@
EXPORTS EXPORTS
gimp_matrix2_get_type gimp_matrix2_get_type
gimp_matrix2_determinant
gimp_matrix2_identity gimp_matrix2_identity
gimp_matrix2_invert
gimp_matrix2_mult gimp_matrix2_mult
gimp_matrix2_transform_point
gimp_matrix3_affine gimp_matrix3_affine
gimp_matrix3_determinant gimp_matrix3_determinant
gimp_matrix3_get_type gimp_matrix3_get_type
@ -18,7 +21,10 @@ EXPORTS
gimp_matrix3_translate gimp_matrix3_translate
gimp_matrix3_xshear gimp_matrix3_xshear
gimp_matrix3_yshear gimp_matrix3_yshear
gimp_matrix4_identity
gimp_matrix4_mult
gimp_matrix4_to_deg gimp_matrix4_to_deg
gimp_matrix4_transform_point
gimp_param_matrix2_get_type gimp_param_matrix2_get_type
gimp_param_matrix3_get_type gimp_param_matrix3_get_type
gimp_param_spec_matrix2 gimp_param_spec_matrix2

View File

@ -960,6 +960,8 @@ gimp_matrix4_to_deg (const GimpMatrix4 *matrix,
* @newz: The transformed Z coordinate. * @newz: The transformed Z coordinate.
* *
* Transforms a point in 3D as specified by the transformation matrix. * Transforms a point in 3D as specified by the transformation matrix.
*
* Returns: The transformed W coordinate.
*/ */
gdouble gdouble
gimp_matrix4_transform_point (const GimpMatrix4 *matrix, gimp_matrix4_transform_point (const GimpMatrix4 *matrix,