libgimpmath/gimpmathtypes.h moved struct declarations.

2003-07-07  Sven Neumann  <sven@gimp.org>

	* libgimpmath/gimpmathtypes.h
	* libgimpmath/gimpvector.h: moved struct declarations.

	* libgimpmath/gimpmatrix.[ch]: made GimpMatrix3 and GimpMatrix4
	structs instead of typedefs for arrays. Pass them by reference,
	not by value. Added lots of const qualifiers.

	* app/core/gimpchannel.c
	* app/core/gimpdrawable-transform-utils.[ch]
	* app/core/gimpdrawable-transform.[ch]
	* app/core/gimpdrawable.c
	* app/core/gimpitem-linked.[ch]
	* app/core/gimpitem.[ch]
	* app/core/gimplayer.c
	* app/pdb/transform_tools_cmds.c
	* app/tools/gimpperspectivetool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimpsheartool.c
	* app/tools/gimptransformtool.c
	* app/vectors/gimpvectors.c
	* tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.
This commit is contained in:
Sven Neumann
2003-07-07 13:50:48 +00:00
committed by Sven Neumann
parent 6b99ae0405
commit 5c4020edf2
31 changed files with 536 additions and 523 deletions

View File

@ -19,8 +19,8 @@ gimp_md5_get_digest
<SECTION>
<FILE>gimpmatrix</FILE>
<TITLE>GimpMatrix</TITLE>
GimpMatrix3[3][3]
GimpMatrix4[4][4]
GimpMatrix3
GimpMatrix4
gimp_matrix3_transform_point
gimp_matrix3_mult
gimp_matrix3_identity
@ -31,7 +31,6 @@ gimp_matrix3_xshear
gimp_matrix3_yshear
gimp_matrix3_determinant
gimp_matrix3_invert
gimp_matrix3_duplicate
gimp_matrix3_is_diagonal
gimp_matrix3_is_identity
gimp_matrix3_is_simple

View File

@ -24,17 +24,19 @@ basic matrix manipulations and tests.
#GimpVector4
</para>
<!-- ##### TYPEDEF GimpMatrix3[3][3] ##### -->
<!-- ##### STRUCT GimpMatrix3 ##### -->
<para>
</para>
@coeff:
<!-- ##### TYPEDEF GimpMatrix4[4][4] ##### -->
<!-- ##### STRUCT GimpMatrix4 ##### -->
<para>
</para>
@coeff:
<!-- ##### FUNCTION gimp_matrix3_transform_point ##### -->
<para>
@ -127,16 +129,6 @@ basic matrix manipulations and tests.
</para>
@matrix:
@matrix_inv:
<!-- ##### FUNCTION gimp_matrix3_duplicate ##### -->
<para>
</para>
@src:
@target:
<!-- ##### FUNCTION gimp_matrix3_is_diagonal ##### -->