Imported Upstream version 2.3.18

This commit is contained in:
Ari Pollak
2010-08-11 01:21:39 -04:00
parent 2e1d89b96f
commit 50ca37e277
1279 changed files with 155433 additions and 58921 deletions

View File

@ -19,7 +19,7 @@
<div>
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GIMP Math Library Reference Manual</p></th></tr></table></div>
<div><p class="releaseinfo">
for GIMP 2.3.16
for GIMP 2.3.18
</p></div>
</div>

View File

@ -25,16 +25,16 @@
<th width="100%" align="center">GIMP Math Library Reference Manual</th>
<td><a accesskey="n" href="libgimpmath-index.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2593889" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2574804" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2596071" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2580904" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpmath-GimpMD5"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2593889"></a><span class="refentrytitle">GimpMD5</span>
<a name="id2574804"></a><span class="refentrytitle">GimpMD5</span>
</h2>
<p>GimpMD5 &#8212; the MD5 message-digest algorithm</p>
</td>
@ -52,17 +52,17 @@ void <a href="libgimpmath-GimpMD5.html#gimp-md5-get-digest">gimp_
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2596071"></a><h2>Description</h2>
<a name="id2580904"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2596086"></a><h2>Details</h2>
<a name="id2580919"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2596097"></a><h3>
<a name="id2580930"></a><h3>
<a name="gimp-md5-get-digest"></a>gimp_md5_get_digest ()</h3>
<a class="indexterm" name="id2596109"></a><pre class="programlisting">void gimp_md5_get_digest (const gchar *buffer,
<a class="indexterm" name="id2580942"></a><pre class="programlisting">void gimp_md5_get_digest (const gchar *buffer,
gint buffer_size,
guchar digest[16]);</pre>
<p>

View File

@ -25,16 +25,16 @@
<th width="100%" align="center">GIMP Math Library Reference Manual</th>
<td><a accesskey="n" href="libgimpmath-GimpMatrix.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2583695" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2583698" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2555885" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2510809" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpmath-GimpMath"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2583695"></a><span class="refentrytitle">GimpMath</span>
<a name="id2583698"></a><span class="refentrytitle">GimpMath</span>
</h2>
<p>GimpMath &#8212; Mathematical definitions and macros.</p>
</td>
@ -56,18 +56,18 @@
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2555885"></a><h2>Description</h2>
<a name="id2510809"></a><h2>Description</h2>
<p>
Mathematical definitions and macros. These macros should be used
rather than the ones from math.h for enhanced portability.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2555902"></a><h2>Details</h2>
<a name="id2510826"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2555913"></a><h3>
<a name="id2510837"></a><h3>
<a name="RINT:CAPS"></a>RINT()</h3>
<a class="indexterm" name="id2555925"></a><pre class="programlisting">#define RINT(x)</pre>
<a class="indexterm" name="id2510849"></a><pre class="programlisting">#define RINT(x)</pre>
<p>
This macro rounds its argument <em class="parameter"><code>x</code></em> to an integer value in floating point
format.
@ -85,9 +85,9 @@ format.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2555966"></a><h3>
<a name="id2510890"></a><h3>
<a name="ROUND:CAPS"></a>ROUND()</h3>
<a class="indexterm" name="id2555978"></a><pre class="programlisting">#define ROUND(x) ((int) ((x) + 0.5))
<a class="indexterm" name="id2510902"></a><pre class="programlisting">#define ROUND(x) ((int) ((x) + 0.5))
</pre>
<p>
This macro rounds its argument <em class="parameter"><code>x</code></em> to the nearest integer.
@ -105,9 +105,9 @@ This macro rounds its argument <em class="parameter"><code>x</code></em> to the
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2514880"></a><h3>
<a name="id2514881"></a><h3>
<a name="SQR:CAPS"></a>SQR()</h3>
<a class="indexterm" name="id2514892"></a><pre class="programlisting">#define SQR(x) ((x) * (x))
<a class="indexterm" name="id2514893"></a><pre class="programlisting">#define SQR(x) ((x) * (x))
</pre>
<p>
This macro squares its argument <em class="parameter"><code>x</code></em>.
@ -125,9 +125,9 @@ This macro squares its argument <em class="parameter"><code>x</code></em>.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2514932"></a><h3>
<a name="id2514933"></a><h3>
<a name="MAX255:CAPS"></a>MAX255()</h3>
<a class="indexterm" name="id2514944"></a><pre class="programlisting">#define MAX255(a) ((a) | (((a) &amp; 256) - (((a) &amp; 256) &gt;&gt; 8)))
<a class="indexterm" name="id2514945"></a><pre class="programlisting">#define MAX255(a) ((a) | (((a) &amp; 256) - (((a) &amp; 256) &gt;&gt; 8)))
</pre>
<p>
This macro limits it argument <em class="parameter"><code>a</code></em>, an (0-511) int, to 255.
@ -145,9 +145,9 @@ This macro limits it argument <em class="parameter"><code>a</code></em>, an (0-5
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2532797"></a><h3>
<a name="id2514986"></a><h3>
<a name="CLAMP0255:CAPS"></a>CLAMP0255()</h3>
<a class="indexterm" name="id2532809"></a><pre class="programlisting">#define CLAMP0255(a) CLAMP(a,0,255)
<a class="indexterm" name="id2532803"></a><pre class="programlisting">#define CLAMP0255(a) CLAMP(a,0,255)
</pre>
<p>
This macro clamps its argument <em class="parameter"><code>a</code></em>, an int32-range int, between 0 and
@ -166,9 +166,9 @@ This macro clamps its argument <em class="parameter"><code>a</code></em>, an int
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2532849"></a><h3>
<a name="id2532843"></a><h3>
<a name="gimp-deg-to-rad"></a>gimp_deg_to_rad()</h3>
<a class="indexterm" name="id2532862"></a><pre class="programlisting">#define gimp_deg_to_rad(angle) ((angle) * (2.0 * G_PI) / 360.0)
<a class="indexterm" name="id2532856"></a><pre class="programlisting">#define gimp_deg_to_rad(angle) ((angle) * (2.0 * G_PI) / 360.0)
</pre>
<p>
This macro converts its argument <em class="parameter"><code>angle</code></em> from degree to radian.
@ -186,9 +186,9 @@ This macro converts its argument <em class="parameter"><code>angle</code></em> f
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2532903"></a><h3>
<a name="id2532897"></a><h3>
<a name="gimp-rad-to-deg"></a>gimp_rad_to_deg()</h3>
<a class="indexterm" name="id2532915"></a><pre class="programlisting">#define gimp_rad_to_deg(angle) ((angle) * 360.0 / (2.0 * G_PI))
<a class="indexterm" name="id2532909"></a><pre class="programlisting">#define gimp_rad_to_deg(angle) ((angle) * 360.0 / (2.0 * G_PI))
</pre>
<p>
This macro converts its argument <em class="parameter"><code>angle</code></em> from radian to degree.

View File

@ -25,16 +25,16 @@
<th width="100%" align="center">GIMP Math Library Reference Manual</th>
<td><a accesskey="n" href="libgimpmath-GimpVector.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2594740" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2594575" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2576332" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2576503" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpmath-GimpMatrix"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2594740"></a><span class="refentrytitle">GimpMatrix</span>
<a name="id2594575"></a><span class="refentrytitle">GimpMatrix</span>
</h2>
<p>GimpMatrix &#8212; Utilities to set up and manipulate 3x3 transformation matrices.</p>
</td>
@ -102,7 +102,7 @@ GParamSpec* <a href="libgimpmath-GimpMatrix.html#gimp-param-spec-matrix2
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2576332"></a><h2>Description</h2>
<a name="id2576503"></a><h2>Description</h2>
<p>
When doing image manipulation you will often need 3x3 transformation
matrices that define translation, rotation, scaling, shearing and
@ -116,11 +116,11 @@ element for row r and column c of the matrix is coeff[r][c].
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2510318"></a><h2>Details</h2>
<a name="id2510326"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2510328"></a><h3>
<a name="id2510336"></a><h3>
<a name="GimpMatrix2"></a>GimpMatrix2</h3>
<a class="indexterm" name="id2510340"></a><pre class="programlisting">typedef struct {
<a class="indexterm" name="id2510348"></a><pre class="programlisting">typedef struct {
gdouble coeff[2][2];
} GimpMatrix2;
</pre>
@ -130,9 +130,9 @@ A two by two matrix.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2510356"></a><h3>
<a name="id2510365"></a><h3>
<a name="GimpMatrix3"></a>GimpMatrix3</h3>
<a class="indexterm" name="id2510368"></a><pre class="programlisting">typedef struct {
<a class="indexterm" name="id2510377"></a><pre class="programlisting">typedef struct {
gdouble coeff[3][3];
} GimpMatrix3;
</pre>
@ -142,9 +142,9 @@ A three by three matrix.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2510385"></a><h3>
<a name="id2510393"></a><h3>
<a name="GimpMatrix4"></a>GimpMatrix4</h3>
<a class="indexterm" name="id2510397"></a><pre class="programlisting">typedef struct {
<a class="indexterm" name="id2510405"></a><pre class="programlisting">typedef struct {
gdouble coeff[4][4];
} GimpMatrix4;
</pre>
@ -154,9 +154,9 @@ A four by four matrix.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2510413"></a><h3>
<a name="id2510421"></a><h3>
<a name="gimp-matrix2-identity"></a>gimp_matrix2_identity ()</h3>
<a class="indexterm" name="id2510424"></a><pre class="programlisting">void gimp_matrix2_identity (<a href="libgimpmath-GimpMatrix.html#GimpMatrix2">GimpMatrix2</a> *matrix);</pre>
<a class="indexterm" name="id2510432"></a><pre class="programlisting">void gimp_matrix2_identity (<a href="libgimpmath-GimpMatrix.html#GimpMatrix2">GimpMatrix2</a> *matrix);</pre>
<p>
Sets the matrix to the identity matrix.</p>
<p>
@ -173,9 +173,9 @@ Sets the matrix to the identity matrix.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2510473"></a><h3>
<a name="id2510481"></a><h3>
<a name="gimp-matrix2-mult"></a>gimp_matrix2_mult ()</h3>
<a class="indexterm" name="id2510486"></a><pre class="programlisting">void gimp_matrix2_mult (const <a href="libgimpmath-GimpMatrix.html#GimpMatrix2">GimpMatrix2</a> *matrix1,
<a class="indexterm" name="id2510494"></a><pre class="programlisting">void gimp_matrix2_mult (const <a href="libgimpmath-GimpMatrix.html#GimpMatrix2">GimpMatrix2</a> *matrix1,
<a href="libgimpmath-GimpMatrix.html#GimpMatrix2">GimpMatrix2</a> *matrix2);</pre>
<p>
Multiplies two matrices and puts the result into the second one.</p>
@ -200,9 +200,9 @@ Multiplies two matrices and puts the result into the second one.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2510558"></a><h3>
<a name="id2510566"></a><h3>
<a name="gimp-matrix3-identity"></a>gimp_matrix3_identity ()</h3>
<a class="indexterm" name="id2510569"></a><pre class="programlisting">void gimp_matrix3_identity (<a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
<a class="indexterm" name="id2510577"></a><pre class="programlisting">void gimp_matrix3_identity (<a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
<p>
Sets the matrix to the identity matrix.</p>
<p>
@ -219,9 +219,9 @@ Sets the matrix to the identity matrix.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2599927"></a><h3>
<a name="id2599933"></a><h3>
<a name="gimp-matrix3-mult"></a>gimp_matrix3_mult ()</h3>
<a class="indexterm" name="id2599938"></a><pre class="programlisting">void gimp_matrix3_mult (const <a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix1,
<a class="indexterm" name="id2599944"></a><pre class="programlisting">void gimp_matrix3_mult (const <a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix1,
<a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix2);</pre>
<p>
Multiplies two matrices and puts the result into the second one.</p>
@ -246,9 +246,9 @@ Multiplies two matrices and puts the result into the second one.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2600003"></a><h3>
<a name="id2600009"></a><h3>
<a name="gimp-matrix3-translate"></a>gimp_matrix3_translate ()</h3>
<a class="indexterm" name="id2600014"></a><pre class="programlisting">void gimp_matrix3_translate (<a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
<a class="indexterm" name="id2600020"></a><pre class="programlisting">void gimp_matrix3_translate (<a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
gdouble x,
gdouble y);</pre>
<p>
@ -279,9 +279,9 @@ Translates the matrix by x and y.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2600101"></a><h3>
<a name="id2600108"></a><h3>
<a name="gimp-matrix3-scale"></a>gimp_matrix3_scale ()</h3>
<a class="indexterm" name="id2600114"></a><pre class="programlisting">void gimp_matrix3_scale (<a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
<a class="indexterm" name="id2600120"></a><pre class="programlisting">void gimp_matrix3_scale (<a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
gdouble x,
gdouble y);</pre>
<p>
@ -312,9 +312,9 @@ Scales the matrix by x and y</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2600207"></a><h3>
<a name="id2600213"></a><h3>
<a name="gimp-matrix3-rotate"></a>gimp_matrix3_rotate ()</h3>
<a class="indexterm" name="id2600219"></a><pre class="programlisting">void gimp_matrix3_rotate (<a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
<a class="indexterm" name="id2600226"></a><pre class="programlisting">void gimp_matrix3_rotate (<a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
gdouble theta);</pre>
<p>
Rotates the matrix by theta degrees.</p>
@ -339,9 +339,9 @@ Rotates the matrix by theta degrees.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2600290"></a><h3>
<a name="id2600297"></a><h3>
<a name="gimp-matrix3-xshear"></a>gimp_matrix3_xshear ()</h3>
<a class="indexterm" name="id2600303"></a><pre class="programlisting">void gimp_matrix3_xshear (<a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
<a class="indexterm" name="id2600309"></a><pre class="programlisting">void gimp_matrix3_xshear (<a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
gdouble amount);</pre>
<p>
Shears the matrix in the X direction.</p>
@ -366,9 +366,9 @@ Shears the matrix in the X direction.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2600374"></a><h3>
<a name="id2600381"></a><h3>
<a name="gimp-matrix3-yshear"></a>gimp_matrix3_yshear ()</h3>
<a class="indexterm" name="id2600387"></a><pre class="programlisting">void gimp_matrix3_yshear (<a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
<a class="indexterm" name="id2600394"></a><pre class="programlisting">void gimp_matrix3_yshear (<a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
gdouble amount);</pre>
<p>
Shears the matrix in the Y direction.</p>
@ -393,9 +393,9 @@ Shears the matrix in the Y direction.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2600459"></a><h3>
<a name="id2600465"></a><h3>
<a name="gimp-matrix3-affine"></a>gimp_matrix3_affine ()</h3>
<a class="indexterm" name="id2600471"></a><pre class="programlisting">void gimp_matrix3_affine (<a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
<a class="indexterm" name="id2600478"></a><pre class="programlisting">void gimp_matrix3_affine (<a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
gdouble a,
gdouble b,
gdouble c,
@ -457,9 +457,9 @@ illustrated below:
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2600660"></a><h3>
<a name="id2600667"></a><h3>
<a name="gimp-matrix3-transform-point"></a>gimp_matrix3_transform_point ()</h3>
<a class="indexterm" name="id2600673"></a><pre class="programlisting">void gimp_matrix3_transform_point (const <a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
<a class="indexterm" name="id2600680"></a><pre class="programlisting">void gimp_matrix3_transform_point (const <a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix,
gdouble x,
gdouble y,
gdouble *newx,
@ -502,9 +502,9 @@ Transforms a point in 2D as specified by the transformation matrix.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2600810"></a><h3>
<a name="id2600816"></a><h3>
<a name="gimp-matrix3-determinant"></a>gimp_matrix3_determinant ()</h3>
<a class="indexterm" name="id2600821"></a><pre class="programlisting">gdouble gimp_matrix3_determinant (const <a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
<a class="indexterm" name="id2600828"></a><pre class="programlisting">gdouble gimp_matrix3_determinant (const <a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
<p>
Calculates the determinant of the given matrix.</p>
<p>
@ -528,9 +528,9 @@ Calculates the determinant of the given matrix.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2600882"></a><h3>
<a name="id2600889"></a><h3>
<a name="gimp-matrix3-invert"></a>gimp_matrix3_invert ()</h3>
<a class="indexterm" name="id2600894"></a><pre class="programlisting">void gimp_matrix3_invert (<a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
<a class="indexterm" name="id2600901"></a><pre class="programlisting">void gimp_matrix3_invert (<a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
<p>
Inverts the given matrix.</p>
<p>
@ -547,9 +547,9 @@ Inverts the given matrix.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2600944"></a><h3>
<a name="id2600951"></a><h3>
<a name="gimp-matrix3-is-identity"></a>gimp_matrix3_is_identity ()</h3>
<a class="indexterm" name="id2600955"></a><pre class="programlisting">gboolean gimp_matrix3_is_identity (const <a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
<a class="indexterm" name="id2600962"></a><pre class="programlisting">gboolean gimp_matrix3_is_identity (const <a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
<p>
Checks if the given matrix is the identity matrix.</p>
<p>
@ -573,9 +573,9 @@ Checks if the given matrix is the identity matrix.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601036"></a><h3>
<a name="id2601042"></a><h3>
<a name="gimp-matrix3-is-diagonal"></a>gimp_matrix3_is_diagonal ()</h3>
<a class="indexterm" name="id2601047"></a><pre class="programlisting">gboolean gimp_matrix3_is_diagonal (const <a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
<a class="indexterm" name="id2601054"></a><pre class="programlisting">gboolean gimp_matrix3_is_diagonal (const <a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
<p>
Checks if the given matrix is diagonal.</p>
<p>
@ -599,9 +599,9 @@ Checks if the given matrix is diagonal.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601127"></a><h3>
<a name="id2601134"></a><h3>
<a name="gimp-matrix3-is-affine"></a>gimp_matrix3_is_affine ()</h3>
<a class="indexterm" name="id2601141"></a><pre class="programlisting">gboolean gimp_matrix3_is_affine (const <a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
<a class="indexterm" name="id2601147"></a><pre class="programlisting">gboolean gimp_matrix3_is_affine (const <a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
<p>
Checks if the given matrix defines an affine transformation.</p>
<p>
@ -629,9 +629,9 @@ Checks if the given matrix defines an affine transformation.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601205"></a><h3>
<a name="id2592622"></a><h3>
<a name="gimp-matrix3-is-simple"></a>gimp_matrix3_is_simple ()</h3>
<a class="indexterm" name="id2601216"></a><pre class="programlisting">gboolean gimp_matrix3_is_simple (const <a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
<a class="indexterm" name="id2593438"></a><pre class="programlisting">gboolean gimp_matrix3_is_simple (const <a href="libgimpmath-GimpMatrix.html#GimpMatrix3">GimpMatrix3</a> *matrix);</pre>
<p>
Checks if we'll need to interpolate when applying this matrix as
a transformation.</p>
@ -657,9 +657,9 @@ a transformation.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601289"></a><h3>
<a name="id2601302"></a><h3>
<a name="gimp-matrix4-to-deg"></a>gimp_matrix4_to_deg ()</h3>
<a class="indexterm" name="id2601300"></a><pre class="programlisting">void gimp_matrix4_to_deg (const <a href="libgimpmath-GimpMatrix.html#GimpMatrix4">GimpMatrix4</a> *matrix,
<a class="indexterm" name="id2601312"></a><pre class="programlisting">void gimp_matrix4_to_deg (const <a href="libgimpmath-GimpMatrix.html#GimpMatrix4">GimpMatrix4</a> *matrix,
gdouble *a,
gdouble *b,
gdouble *c);</pre>
@ -696,9 +696,9 @@ a transformation.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601401"></a><h3>
<a name="id2601414"></a><h3>
<a name="GIMP-TYPE-MATRIX2:CAPS"></a>GIMP_TYPE_MATRIX2</h3>
<a class="indexterm" name="id2601411"></a><pre class="programlisting">#define GIMP_TYPE_MATRIX2 (gimp_matrix2_get_type ())
<a class="indexterm" name="id2601424"></a><pre class="programlisting">#define GIMP_TYPE_MATRIX2 (gimp_matrix2_get_type ())
</pre>
<p>
@ -706,9 +706,9 @@ a transformation.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601426"></a><h3>
<a name="id2601439"></a><h3>
<a name="GIMP-TYPE-PARAM-MATRIX2:CAPS"></a>GIMP_TYPE_PARAM_MATRIX2</h3>
<a class="indexterm" name="id2601438"></a><pre class="programlisting">#define GIMP_TYPE_PARAM_MATRIX2 (gimp_param_matrix2_get_type ())
<a class="indexterm" name="id2601451"></a><pre class="programlisting">#define GIMP_TYPE_PARAM_MATRIX2 (gimp_param_matrix2_get_type ())
</pre>
<p>
@ -716,9 +716,9 @@ a transformation.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601453"></a><h3>
<a name="id2601466"></a><h3>
<a name="GIMP-IS-PARAM-SPEC-MATRIX2:CAPS"></a>GIMP_IS_PARAM_SPEC_MATRIX2()</h3>
<a class="indexterm" name="id2601465"></a><pre class="programlisting">#define GIMP_IS_PARAM_SPEC_MATRIX2(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), GIMP_TYPE_PARAM_MATRIX2))
<a class="indexterm" name="id2601478"></a><pre class="programlisting">#define GIMP_IS_PARAM_SPEC_MATRIX2(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), GIMP_TYPE_PARAM_MATRIX2))
</pre>
<p>
@ -736,9 +736,9 @@ a transformation.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601497"></a><h3>
<a name="id2601510"></a><h3>
<a name="gimp-param-spec-matrix2"></a>gimp_param_spec_matrix2 ()</h3>
<a class="indexterm" name="id2601510"></a><pre class="programlisting">GParamSpec* gimp_param_spec_matrix2 (const gchar *name,
<a class="indexterm" name="id2601523"></a><pre class="programlisting">GParamSpec* gimp_param_spec_matrix2 (const gchar *name,
const gchar *nick,
const gchar *blurb,
const <a href="libgimpmath-GimpMatrix.html#GimpMatrix2">GimpMatrix2</a> *default_value,
@ -790,9 +790,9 @@ See <code class="function">g_param_spec_internal()</code> for more information.<
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2601677"></a><h3>
<a name="id2601690"></a><h3>
<a name="GIMP-VALUE-HOLDS-MATRIX2:CAPS"></a>GIMP_VALUE_HOLDS_MATRIX2()</h3>
<a class="indexterm" name="id2601689"></a><pre class="programlisting">#define GIMP_VALUE_HOLDS_MATRIX2(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_MATRIX2))
<a class="indexterm" name="id2601702"></a><pre class="programlisting">#define GIMP_VALUE_HOLDS_MATRIX2(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_MATRIX2))
</pre>
<p>
@ -810,7 +810,7 @@ See <code class="function">g_param_spec_internal()</code> for more information.<
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2601723"></a><h2>See Also</h2>
<a name="id2601735"></a><h2>See Also</h2>
<p>
<a href="libgimpmath-GimpVector.html#GimpVector2"><span class="type">GimpVector2</span></a>
</p>

View File

@ -25,7 +25,7 @@
<th width="100%" align="center">GIMP Math Library Reference Manual</th>
<td><a accesskey="n" href="libgimpmath-GimpMD5.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2587544" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2558290" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2607476" class="shortcut">Description</a></nobr></td></tr>
</table>
@ -34,7 +34,7 @@
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2587544"></a><span class="refentrytitle">GimpVector</span>
<a name="id2558290"></a><span class="refentrytitle">GimpVector</span>
</h2>
<p>GimpVector &#8212; Utilities to set up and manipulate vectors.</p>
</td>
@ -163,11 +163,11 @@ Utilities to set up and manipulate vectors.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2607493"></a><h2>Details</h2>
<a name="id2607492"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2607504"></a><h3>
<a name="id2607503"></a><h3>
<a name="GimpVector2"></a>GimpVector2</h3>
<a class="indexterm" name="id2607516"></a><pre class="programlisting">typedef struct {
<a class="indexterm" name="id2607515"></a><pre class="programlisting">typedef struct {
gdouble x, y;
} GimpVector2;
</pre>
@ -177,9 +177,9 @@ A two dimensional vector.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2607532"></a><h3>
<a name="id2607531"></a><h3>
<a name="GimpVector3"></a>GimpVector3</h3>
<a class="indexterm" name="id2607544"></a><pre class="programlisting">typedef struct {
<a class="indexterm" name="id2607543"></a><pre class="programlisting">typedef struct {
gdouble x, y, z;
} GimpVector3;
</pre>
@ -203,7 +203,7 @@ A four dimensional vector.
<div class="refsect2" lang="en">
<a name="id2607589"></a><h3>
<a name="gimp-vector2-new"></a>gimp_vector2_new ()</h3>
<a class="indexterm" name="id2607602"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> gimp_vector2_new (gdouble x,
<a class="indexterm" name="id2607601"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> gimp_vector2_new (gdouble x,
gdouble y);</pre>
<p>
Creates a <a href="libgimpmath-GimpVector.html#GimpVector2"><span class="type">GimpVector2</span></a> of coordinates <em class="parameter"><code>x</code></em> and <em class="parameter"><code>y</code></em>.</p>
@ -233,7 +233,7 @@ Creates a <a href="libgimpmath-GimpVector.html#GimpVector2"><span class="type">G
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2607710"></a><h3>
<a name="id2607709"></a><h3>
<a name="gimp-vector2-set"></a>gimp_vector2_set ()</h3>
<a class="indexterm" name="id2607722"></a><pre class="programlisting">void gimp_vector2_set (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *vector,
gdouble x,
@ -268,7 +268,7 @@ Sets the X and Y coordinates of <em class="parameter"><code>vector</code></em> t
<div class="refsect2" lang="en">
<a name="id2607840"></a><h3>
<a name="gimp-vector2-length"></a>gimp_vector2_length ()</h3>
<a class="indexterm" name="id2607853"></a><pre class="programlisting">gdouble gimp_vector2_length (const <a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *vector);</pre>
<a class="indexterm" name="id2607852"></a><pre class="programlisting">gdouble gimp_vector2_length (const <a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *vector);</pre>
<p>
Computes the length of a 2D vector.</p>
<p>
@ -292,9 +292,9 @@ Computes the length of a 2D vector.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2557204"></a><h3>
<a name="id2607925"></a><h3>
<a name="gimp-vector2-length-val"></a>gimp_vector2_length_val ()</h3>
<a class="indexterm" name="id2597164"></a><pre class="programlisting">gdouble gimp_vector2_length_val (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> vector);</pre>
<a class="indexterm" name="id2607936"></a><pre class="programlisting">gdouble gimp_vector2_length_val (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> vector);</pre>
<p>
This function is identical to <a href="libgimpmath-GimpVector.html#gimp-vector2-length"><code class="function">gimp_vector2_length()</code></a> but the
vector is passed by value rather than by reference.</p>
@ -319,9 +319,9 @@ vector is passed by value rather than by reference.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2607991"></a><h3>
<a name="id2607998"></a><h3>
<a name="gimp-vector2-mul"></a>gimp_vector2_mul ()</h3>
<a class="indexterm" name="id2608002"></a><pre class="programlisting">void gimp_vector2_mul (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *vector,
<a class="indexterm" name="id2608008"></a><pre class="programlisting">void gimp_vector2_mul (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *vector,
gdouble factor);</pre>
<p>
Multiplies each component of the <em class="parameter"><code>vector</code></em> by <em class="parameter"><code>factor</code></em>. Note that this
@ -347,9 +347,9 @@ is equivalent to multiplying the vectors length by <em class="parameter"><code>f
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2608088"></a><h3>
<a name="id2608094"></a><h3>
<a name="gimp-vector2-mul-val"></a>gimp_vector2_mul_val ()</h3>
<a class="indexterm" name="id2608099"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> gimp_vector2_mul_val (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> vector,
<a class="indexterm" name="id2608105"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> gimp_vector2_mul_val (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> vector,
gdouble factor);</pre>
<p>
This function is identical to <a href="libgimpmath-GimpVector.html#gimp-vector2-mul"><code class="function">gimp_vector2_mul()</code></a> but the vector is
@ -380,9 +380,9 @@ passed by value rather than by reference.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2608194"></a><h3>
<a name="id2608199"></a><h3>
<a name="gimp-vector2-normalize"></a>gimp_vector2_normalize ()</h3>
<a class="indexterm" name="id2608204"></a><pre class="programlisting">void gimp_vector2_normalize (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *vector);</pre>
<a class="indexterm" name="id2608210"></a><pre class="programlisting">void gimp_vector2_normalize (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *vector);</pre>
<p>
Normalizes the <em class="parameter"><code>vector</code></em> so the length of the <em class="parameter"><code>vector</code></em> is 1.0. The nul
vector will not be changed.</p>
@ -400,9 +400,9 @@ vector will not be changed.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2608266"></a><h3>
<a name="id2608271"></a><h3>
<a name="gimp-vector2-normalize-val"></a>gimp_vector2_normalize_val ()</h3>
<a class="indexterm" name="id2608277"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> gimp_vector2_normalize_val (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> vector);</pre>
<a class="indexterm" name="id2608282"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> gimp_vector2_normalize_val (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> vector);</pre>
<p>
This function is identical to <a href="libgimpmath-GimpVector.html#gimp-vector2-normalize"><code class="function">gimp_vector2_normalize()</code></a> but the
vector is passed by value rather than by reference.</p>
@ -428,9 +428,9 @@ direction but with a length of 1.0.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2608360"></a><h3>
<a name="id2608365"></a><h3>
<a name="gimp-vector2-neg"></a>gimp_vector2_neg ()</h3>
<a class="indexterm" name="id2608370"></a><pre class="programlisting">void gimp_vector2_neg (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *vector);</pre>
<a class="indexterm" name="id2608375"></a><pre class="programlisting">void gimp_vector2_neg (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *vector);</pre>
<p>
Negates the <em class="parameter"><code>vector</code></em> (i.e. negate all its coordinates).</p>
<p>
@ -447,9 +447,9 @@ Negates the <em class="parameter"><code>vector</code></em> (i.e. negate all its
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2608426"></a><h3>
<a name="id2608431"></a><h3>
<a name="gimp-vector2-neg-val"></a>gimp_vector2_neg_val ()</h3>
<a class="indexterm" name="id2608436"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> gimp_vector2_neg_val (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> vector);</pre>
<a class="indexterm" name="id2608442"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> gimp_vector2_neg_val (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> vector);</pre>
<p>
This function is identical to <a href="libgimpmath-GimpVector.html#gimp-vector2-neg"><code class="function">gimp_vector2_neg()</code></a> but the vector
is passed by value rather than by reference.</p>
@ -474,9 +474,9 @@ is passed by value rather than by reference.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2608513"></a><h3>
<a name="id2608518"></a><h3>
<a name="gimp-vector2-add"></a>gimp_vector2_add ()</h3>
<a class="indexterm" name="id2608523"></a><pre class="programlisting">void gimp_vector2_add (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *result,
<a class="indexterm" name="id2608528"></a><pre class="programlisting">void gimp_vector2_add (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *result,
const <a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *vector1,
const <a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *vector2);</pre>
<p>
@ -508,9 +508,9 @@ stored in <em class="parameter"><code>result</code></em>.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2608637"></a><h3>
<a name="id2608642"></a><h3>
<a name="gimp-vector2-add-val"></a>gimp_vector2_add_val ()</h3>
<a class="indexterm" name="id2608648"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> gimp_vector2_add_val (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> vector1,
<a class="indexterm" name="id2608653"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> gimp_vector2_add_val (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> vector1,
<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> vector2);</pre>
<p>
This function is identical to <a href="libgimpmath-GimpVector.html#gimp-vector2-add"><code class="function">gimp_vector2_add()</code></a> but the vectors
@ -541,9 +541,9 @@ are passed by value rather than by reference.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2608749"></a><h3>
<a name="id2608754"></a><h3>
<a name="gimp-vector2-sub"></a>gimp_vector2_sub ()</h3>
<a class="indexterm" name="id2608760"></a><pre class="programlisting">void gimp_vector2_sub (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *result,
<a class="indexterm" name="id2608765"></a><pre class="programlisting">void gimp_vector2_sub (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *result,
const <a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *vector1,
const <a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *vector2);</pre>
<p>
@ -575,9 +575,9 @@ The resulting <a href="libgimpmath-GimpVector.html#GimpVector2"><span class="typ
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2608884"></a><h3>
<a name="id2608889"></a><h3>
<a name="gimp-vector2-sub-val"></a>gimp_vector2_sub_val ()</h3>
<a class="indexterm" name="id2608895"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> gimp_vector2_sub_val (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> vector1,
<a class="indexterm" name="id2608900"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> gimp_vector2_sub_val (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> vector1,
<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> vector2);</pre>
<p>
This function is identical to <a href="libgimpmath-GimpVector.html#gimp-vector2-sub"><code class="function">gimp_vector2_sub()</code></a> but the vectors
@ -608,9 +608,9 @@ are passed by value rather than by reference.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2608996"></a><h3>
<a name="id2609001"></a><h3>
<a name="gimp-vector2-inner-product"></a>gimp_vector2_inner_product ()</h3>
<a class="indexterm" name="id2609007"></a><pre class="programlisting">gdouble gimp_vector2_inner_product (const <a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *vector1,
<a class="indexterm" name="id2609012"></a><pre class="programlisting">gdouble gimp_vector2_inner_product (const <a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *vector1,
const <a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *vector2);</pre>
<p>
Computes the inner (dot) product of two 2D vectors.
@ -641,9 +641,9 @@ This product is zero if and only if the two vectors are orthognal.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2609095"></a><h3>
<a name="id2609100"></a><h3>
<a name="gimp-vector2-inner-product-val"></a>gimp_vector2_inner_product_val ()</h3>
<a class="indexterm" name="id2609107"></a><pre class="programlisting">gdouble gimp_vector2_inner_product_val (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> vector1,
<a class="indexterm" name="id2609112"></a><pre class="programlisting">gdouble gimp_vector2_inner_product_val (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> vector1,
<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> vector2);</pre>
<p>
This function is identical to <a href="libgimpmath-GimpVector.html#gimp-vector2-inner-product"><code class="function">gimp_vector2_inner_product()</code></a> but the
@ -674,9 +674,9 @@ vectors are passed by value rather than by reference.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2609204"></a><h3>
<a name="id2609209"></a><h3>
<a name="gimp-vector2-cross-product"></a>gimp_vector2_cross_product ()</h3>
<a class="indexterm" name="id2609215"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> gimp_vector2_cross_product (const <a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *vector1,
<a class="indexterm" name="id2609220"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> gimp_vector2_cross_product (const <a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *vector1,
const <a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *vector2);</pre>
<p>
Compute the cross product of two vectors. The result is a
@ -713,9 +713,9 @@ parallel or not, or to compute the area spawned by two vectors.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2609335"></a><h3>
<a name="id2609340"></a><h3>
<a name="gimp-vector2-cross-product-val"></a>gimp_vector2_cross_product_val ()</h3>
<a class="indexterm" name="id2609348"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> gimp_vector2_cross_product_val (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> vector1,
<a class="indexterm" name="id2609353"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> gimp_vector2_cross_product_val (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> vector1,
<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> vector2);</pre>
<p>
This function is identical to <a href="libgimpmath-GimpVector.html#gimp-vector2-cross-product"><code class="function">gimp_vector2_cross_product()</code></a> but the
@ -746,9 +746,9 @@ vectors are passed by value rather than by reference.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2609444"></a><h3>
<a name="id2609449"></a><h3>
<a name="gimp-vector2-rotate"></a>gimp_vector2_rotate ()</h3>
<a class="indexterm" name="id2609455"></a><pre class="programlisting">void gimp_vector2_rotate (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *vector,
<a class="indexterm" name="id2609460"></a><pre class="programlisting">void gimp_vector2_rotate (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> *vector,
gdouble alpha);</pre>
<p>
Rotates the <em class="parameter"><code>vector</code></em> counterclockwise by <em class="parameter"><code>alpha</code></em> radians.</p>
@ -773,9 +773,9 @@ Rotates the <em class="parameter"><code>vector</code></em> counterclockwise by <
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2609534"></a><h3>
<a name="id2609539"></a><h3>
<a name="gimp-vector2-rotate-val"></a>gimp_vector2_rotate_val ()</h3>
<a class="indexterm" name="id2609545"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> gimp_vector2_rotate_val (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> vector,
<a class="indexterm" name="id2609550"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> gimp_vector2_rotate_val (<a href="libgimpmath-GimpVector.html#GimpVector2">GimpVector2</a> vector,
gdouble alpha);</pre>
<p>
This function is identical to <a href="libgimpmath-GimpVector.html#gimp-vector2-rotate"><code class="function">gimp_vector2_rotate()</code></a> but the vector
@ -807,9 +807,9 @@ radians.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2609650"></a><h3>
<a name="id2609655"></a><h3>
<a name="gimp-vector3-new"></a>gimp_vector3_new ()</h3>
<a class="indexterm" name="id2609661"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> gimp_vector3_new (gdouble x,
<a class="indexterm" name="id2609666"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> gimp_vector3_new (gdouble x,
gdouble y,
gdouble z);</pre>
<p>
@ -845,9 +845,9 @@ Creates a <a href="libgimpmath-GimpVector.html#GimpVector3"><span class="type">G
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2609780"></a><h3>
<a name="id2609786"></a><h3>
<a name="gimp-vector3-set"></a>gimp_vector3_set ()</h3>
<a class="indexterm" name="id2609791"></a><pre class="programlisting">void gimp_vector3_set (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *vector,
<a class="indexterm" name="id2609796"></a><pre class="programlisting">void gimp_vector3_set (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *vector,
gdouble x,
gdouble y,
gdouble z);</pre>
@ -884,9 +884,9 @@ Sets the X, Y and Z coordinates of <em class="parameter"><code>vector</code></em
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2609920"></a><h3>
<a name="id2609925"></a><h3>
<a name="gimp-vector3-length"></a>gimp_vector3_length ()</h3>
<a class="indexterm" name="id2609930"></a><pre class="programlisting">gdouble gimp_vector3_length (const <a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *vector);</pre>
<a class="indexterm" name="id2609935"></a><pre class="programlisting">gdouble gimp_vector3_length (const <a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *vector);</pre>
<p>
Computes the length of a 3D vector.</p>
<p>
@ -910,9 +910,9 @@ Computes the length of a 3D vector.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2609996"></a><h3>
<a name="id2610001"></a><h3>
<a name="gimp-vector3-length-val"></a>gimp_vector3_length_val ()</h3>
<a class="indexterm" name="id2610007"></a><pre class="programlisting">gdouble gimp_vector3_length_val (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> vector);</pre>
<a class="indexterm" name="id2610012"></a><pre class="programlisting">gdouble gimp_vector3_length_val (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> vector);</pre>
<p>
This function is identical to <a href="libgimpmath-GimpVector.html#gimp-vector3-length"><code class="function">gimp_vector3_length()</code></a> but the vector
is passed by value rather than by reference.</p>
@ -937,9 +937,9 @@ is passed by value rather than by reference.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2610082"></a><h3>
<a name="id2610087"></a><h3>
<a name="gimp-vector3-mul"></a>gimp_vector3_mul ()</h3>
<a class="indexterm" name="id2610092"></a><pre class="programlisting">void gimp_vector3_mul (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *vector,
<a class="indexterm" name="id2610097"></a><pre class="programlisting">void gimp_vector3_mul (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *vector,
gdouble factor);</pre>
<p>
Multiplies each component of the <em class="parameter"><code>vector</code></em> by <em class="parameter"><code>factor</code></em>. Note that
@ -965,9 +965,9 @@ this is equivalent to multiplying the vectors length by <em class="parameter"><c
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2610179"></a><h3>
<a name="id2610184"></a><h3>
<a name="gimp-vector3-mul-val"></a>gimp_vector3_mul_val ()</h3>
<a class="indexterm" name="id2610189"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> gimp_vector3_mul_val (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> vector,
<a class="indexterm" name="id2610194"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> gimp_vector3_mul_val (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> vector,
gdouble factor);</pre>
<p>
This function is identical to <a href="libgimpmath-GimpVector.html#gimp-vector3-mul"><code class="function">gimp_vector3_mul()</code></a> but the vector is
@ -998,9 +998,9 @@ passed by value rather than by reference.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2610291"></a><h3>
<a name="id2610290"></a><h3>
<a name="gimp-vector3-normalize"></a>gimp_vector3_normalize ()</h3>
<a class="indexterm" name="id2610304"></a><pre class="programlisting">void gimp_vector3_normalize (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *vector);</pre>
<a class="indexterm" name="id2610302"></a><pre class="programlisting">void gimp_vector3_normalize (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *vector);</pre>
<p>
Normalizes the <em class="parameter"><code>vector</code></em> so the length of the <em class="parameter"><code>vector</code></em> is 1.0. The nul
vector will not be changed.</p>
@ -1018,9 +1018,9 @@ vector will not be changed.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2610375"></a><h3>
<a name="id2610372"></a><h3>
<a name="gimp-vector3-normalize-val"></a>gimp_vector3_normalize_val ()</h3>
<a class="indexterm" name="id2610389"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> gimp_vector3_normalize_val (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> vector);</pre>
<a class="indexterm" name="id2610386"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> gimp_vector3_normalize_val (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> vector);</pre>
<p>
This function is identical to <a href="libgimpmath-GimpVector.html#gimp-vector3-normalize"><code class="function">gimp_vector3_normalize()</code></a> but the
vector is passed by value rather than by reference.</p>
@ -1046,9 +1046,9 @@ direction but with a length of 1.0.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2610481"></a><h3>
<a name="id2610478"></a><h3>
<a name="gimp-vector3-neg"></a>gimp_vector3_neg ()</h3>
<a class="indexterm" name="id2610494"></a><pre class="programlisting">void gimp_vector3_neg (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *vector);</pre>
<a class="indexterm" name="id2610491"></a><pre class="programlisting">void gimp_vector3_neg (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *vector);</pre>
<p>
Negates the <em class="parameter"><code>vector</code></em> (i.e. negate all its coordinates).</p>
<p>
@ -1065,9 +1065,9 @@ Negates the <em class="parameter"><code>vector</code></em> (i.e. negate all its
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2610558"></a><h3>
<a name="id2610555"></a><h3>
<a name="gimp-vector3-neg-val"></a>gimp_vector3_neg_val ()</h3>
<a class="indexterm" name="id2610571"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> gimp_vector3_neg_val (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> vector);</pre>
<a class="indexterm" name="id2610568"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> gimp_vector3_neg_val (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> vector);</pre>
<p>
This function is identical to <a href="libgimpmath-GimpVector.html#gimp-vector3-neg"><code class="function">gimp_vector3_neg()</code></a> but the vector
is passed by value rather than by reference.</p>
@ -1092,9 +1092,9 @@ is passed by value rather than by reference.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2610657"></a><h3>
<a name="id2610654"></a><h3>
<a name="gimp-vector3-add"></a>gimp_vector3_add ()</h3>
<a class="indexterm" name="id2610670"></a><pre class="programlisting">void gimp_vector3_add (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *result,
<a class="indexterm" name="id2610667"></a><pre class="programlisting">void gimp_vector3_add (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *result,
const <a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *vector1,
const <a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *vector2);</pre>
<p>
@ -1126,9 +1126,9 @@ stored in <em class="parameter"><code>result</code></em>.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2610798"></a><h3>
<a name="id2610796"></a><h3>
<a name="gimp-vector3-add-val"></a>gimp_vector3_add_val ()</h3>
<a class="indexterm" name="id2610811"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> gimp_vector3_add_val (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> vector1,
<a class="indexterm" name="id2610809"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> gimp_vector3_add_val (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> vector1,
<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> vector2);</pre>
<p>
This function is identical to <a href="libgimpmath-GimpVector.html#gimp-vector3-add"><code class="function">gimp_vector3_add()</code></a> but the vectors
@ -1159,9 +1159,9 @@ are passed by value rather than by reference.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2610925"></a><h3>
<a name="id2610923"></a><h3>
<a name="gimp-vector3-sub"></a>gimp_vector3_sub ()</h3>
<a class="indexterm" name="id2610938"></a><pre class="programlisting">void gimp_vector3_sub (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *result,
<a class="indexterm" name="id2610936"></a><pre class="programlisting">void gimp_vector3_sub (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *result,
const <a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *vector1,
const <a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *vector2);</pre>
<p>
@ -1193,9 +1193,9 @@ The resulting <a href="libgimpmath-GimpVector.html#GimpVector3"><span class="typ
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2611079"></a><h3>
<a name="id2611076"></a><h3>
<a name="gimp-vector3-sub-val"></a>gimp_vector3_sub_val ()</h3>
<a class="indexterm" name="id2611093"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> gimp_vector3_sub_val (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> vector1,
<a class="indexterm" name="id2611090"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> gimp_vector3_sub_val (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> vector1,
<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> vector2);</pre>
<p>
This function is identical to <a href="libgimpmath-GimpVector.html#gimp-vector3-sub"><code class="function">gimp_vector3_sub()</code></a> but the vectors
@ -1226,9 +1226,9 @@ are passed by value rather than by reference.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2611207"></a><h3>
<a name="id2611204"></a><h3>
<a name="gimp-vector3-inner-product"></a>gimp_vector3_inner_product ()</h3>
<a class="indexterm" name="id2611221"></a><pre class="programlisting">gdouble gimp_vector3_inner_product (const <a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *vector1,
<a class="indexterm" name="id2611218"></a><pre class="programlisting">gdouble gimp_vector3_inner_product (const <a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *vector1,
const <a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *vector2);</pre>
<p>
Computes the inner (dot) product of two 3D vectors. This product
@ -1259,9 +1259,9 @@ is zero if and only if the two vectors are orthognal.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2611319"></a><h3>
<a name="id2611317"></a><h3>
<a name="gimp-vector3-inner-product-val"></a>gimp_vector3_inner_product_val ()</h3>
<a class="indexterm" name="id2611333"></a><pre class="programlisting">gdouble gimp_vector3_inner_product_val (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> vector1,
<a class="indexterm" name="id2611331"></a><pre class="programlisting">gdouble gimp_vector3_inner_product_val (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> vector1,
<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> vector2);</pre>
<p>
This function is identical to <a href="libgimpmath-GimpVector.html#gimp-vector3-inner-product"><code class="function">gimp_vector3_inner_product()</code></a> but the
@ -1292,9 +1292,9 @@ vectors are passed by value rather than by reference.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2611441"></a><h3>
<a name="id2611439"></a><h3>
<a name="gimp-vector3-cross-product"></a>gimp_vector3_cross_product ()</h3>
<a class="indexterm" name="id2611455"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> gimp_vector3_cross_product (const <a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *vector1,
<a class="indexterm" name="id2611453"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> gimp_vector3_cross_product (const <a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *vector1,
const <a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *vector2);</pre>
<p>
Compute the cross product of two vectors. The result is a
@ -1331,9 +1331,9 @@ defined by <em class="parameter"><code>vector1</code></em> and <em class="parame
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2611601"></a><h3>
<a name="id2611599"></a><h3>
<a name="gimp-vector3-cross-product-val"></a>gimp_vector3_cross_product_val ()</h3>
<a class="indexterm" name="id2611616"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> gimp_vector3_cross_product_val (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> vector1,
<a class="indexterm" name="id2611613"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> gimp_vector3_cross_product_val (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> vector1,
<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> vector2);</pre>
<p>
This function is identical to <a href="libgimpmath-GimpVector.html#gimp-vector3-cross-product"><code class="function">gimp_vector3_cross_product()</code></a> but the
@ -1364,9 +1364,9 @@ vectors are passed by value rather than by reference.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2611723"></a><h3>
<a name="id2611721"></a><h3>
<a name="gimp-vector3-rotate"></a>gimp_vector3_rotate ()</h3>
<a class="indexterm" name="id2611737"></a><pre class="programlisting">void gimp_vector3_rotate (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *vector,
<a class="indexterm" name="id2611734"></a><pre class="programlisting">void gimp_vector3_rotate (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> *vector,
gdouble alpha,
gdouble beta,
gdouble gamma);</pre>
@ -1410,9 +1410,9 @@ this function with only one of <em class="parameter"><code>alpha</code></em>, <e
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2611910"></a><h3>
<a name="id2611907"></a><h3>
<a name="gimp-vector3-rotate-val"></a>gimp_vector3_rotate_val ()</h3>
<a class="indexterm" name="id2611923"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> gimp_vector3_rotate_val (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> vector,
<a class="indexterm" name="id2611920"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> gimp_vector3_rotate_val (<a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> vector,
gdouble alpha,
gdouble beta,
gdouble gamma);</pre>
@ -1455,9 +1455,9 @@ are passed by value rather than by reference.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2612068"></a><h3>
<a name="id2612065"></a><h3>
<a name="gimp-vector-2d-to-3d"></a>gimp_vector_2d_to_3d ()</h3>
<a class="indexterm" name="id2612082"></a><pre class="programlisting">void gimp_vector_2d_to_3d (gint sx,
<a class="indexterm" name="id2612079"></a><pre class="programlisting">void gimp_vector_2d_to_3d (gint sx,
gint sy,
gint w,
gint h,
@ -1525,9 +1525,9 @@ through the screen (<em class="parameter"><code>sx</code></em>, <em class="param
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2612353"></a><h3>
<a name="id2612351"></a><h3>
<a name="gimp-vector-2d-to-3d-val"></a>gimp_vector_2d_to_3d_val ()</h3>
<a class="indexterm" name="id2612367"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> gimp_vector_2d_to_3d_val (gint sx,
<a class="indexterm" name="id2612364"></a><pre class="programlisting"><a href="libgimpmath-GimpVector.html#GimpVector3">GimpVector3</a> gimp_vector_2d_to_3d_val (gint sx,
gint sy,
gint w,
gint h,
@ -1595,9 +1595,9 @@ value rather than by reference.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2612611"></a><h3>
<a name="id2612608"></a><h3>
<a name="gimp-vector-3d-to-2d"></a>gimp_vector_3d_to_2d ()</h3>
<a class="indexterm" name="id2612625"></a><pre class="programlisting">void gimp_vector_3d_to_2d (gint sx,
<a class="indexterm" name="id2612622"></a><pre class="programlisting">void gimp_vector_3d_to_2d (gint sx,
gint sy,
gint w,
gint h,
@ -1664,7 +1664,7 @@ This is basically the opposite of <a href="libgimpmath-GimpVector.html#gimp-vect
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2612848"></a><h2>See Also</h2>
<a name="id2612845"></a><h2>See Also</h2>
<p>
<a href="libgimpmath-GimpMatrix.html#GimpMatrix3"><span class="type">GimpMatrix3</span></a>
</p>

View File

@ -30,9 +30,9 @@
<div class="index"><div class="indexdiv">
<h3>G</h3>
<dl>
<dt>gimp_matrix3_is_affine, <a href="libgimpmath-GimpMatrix.html#id2601127">gimp_matrix3_is_affine ()</a>
<dt>gimp_matrix3_is_affine, <a href="libgimpmath-GimpMatrix.html#id2601134">gimp_matrix3_is_affine ()</a>
</dt>
<dt>gimp_param_spec_matrix2, <a href="libgimpmath-GimpMatrix.html#id2601497">gimp_param_spec_matrix2 ()</a>
<dt>gimp_param_spec_matrix2, <a href="libgimpmath-GimpMatrix.html#id2601510">gimp_param_spec_matrix2 ()</a>
</dt>
</dl>
</div></div>

View File

@ -30,181 +30,181 @@
<div class="index">
<div class="indexdiv">
<h3>C</h3>
<dl><dt>CLAMP0255, <a href="libgimpmath-GimpMath.html#id2532797">CLAMP0255()</a>
<dl><dt>CLAMP0255, <a href="libgimpmath-GimpMath.html#id2514986">CLAMP0255()</a>
</dt></dl>
</div>
<div class="indexdiv">
<h3>G</h3>
<dl>
<dt>GimpMatrix2, <a href="libgimpmath-GimpMatrix.html#id2510328">GimpMatrix2</a>
<dt>GimpMatrix2, <a href="libgimpmath-GimpMatrix.html#id2510336">GimpMatrix2</a>
</dt>
<dt>GimpMatrix3, <a href="libgimpmath-GimpMatrix.html#id2510356">GimpMatrix3</a>
<dt>GimpMatrix3, <a href="libgimpmath-GimpMatrix.html#id2510365">GimpMatrix3</a>
</dt>
<dt>GimpMatrix4, <a href="libgimpmath-GimpMatrix.html#id2510385">GimpMatrix4</a>
<dt>GimpMatrix4, <a href="libgimpmath-GimpMatrix.html#id2510393">GimpMatrix4</a>
</dt>
<dt>GimpVector2, <a href="libgimpmath-GimpVector.html#id2607504">GimpVector2</a>
<dt>GimpVector2, <a href="libgimpmath-GimpVector.html#id2607503">GimpVector2</a>
</dt>
<dt>GimpVector3, <a href="libgimpmath-GimpVector.html#id2607532">GimpVector3</a>
<dt>GimpVector3, <a href="libgimpmath-GimpVector.html#id2607531">GimpVector3</a>
</dt>
<dt>GimpVector4, <a href="libgimpmath-GimpVector.html#id2607560">GimpVector4</a>
</dt>
<dt>gimp_deg_to_rad, <a href="libgimpmath-GimpMath.html#id2532849">gimp_deg_to_rad()</a>
<dt>gimp_deg_to_rad, <a href="libgimpmath-GimpMath.html#id2532843">gimp_deg_to_rad()</a>
</dt>
<dt>GIMP_IS_PARAM_SPEC_MATRIX2, <a href="libgimpmath-GimpMatrix.html#id2601453">GIMP_IS_PARAM_SPEC_MATRIX2()</a>
<dt>GIMP_IS_PARAM_SPEC_MATRIX2, <a href="libgimpmath-GimpMatrix.html#id2601466">GIMP_IS_PARAM_SPEC_MATRIX2()</a>
</dt>
<dt>gimp_matrix2_identity, <a href="libgimpmath-GimpMatrix.html#id2510413">gimp_matrix2_identity ()</a>
<dt>gimp_matrix2_identity, <a href="libgimpmath-GimpMatrix.html#id2510421">gimp_matrix2_identity ()</a>
</dt>
<dt>gimp_matrix2_mult, <a href="libgimpmath-GimpMatrix.html#id2510473">gimp_matrix2_mult ()</a>
<dt>gimp_matrix2_mult, <a href="libgimpmath-GimpMatrix.html#id2510481">gimp_matrix2_mult ()</a>
</dt>
<dt>gimp_matrix3_affine, <a href="libgimpmath-GimpMatrix.html#id2600459">gimp_matrix3_affine ()</a>
<dt>gimp_matrix3_affine, <a href="libgimpmath-GimpMatrix.html#id2600465">gimp_matrix3_affine ()</a>
</dt>
<dt>gimp_matrix3_determinant, <a href="libgimpmath-GimpMatrix.html#id2600810">gimp_matrix3_determinant ()</a>
<dt>gimp_matrix3_determinant, <a href="libgimpmath-GimpMatrix.html#id2600816">gimp_matrix3_determinant ()</a>
</dt>
<dt>gimp_matrix3_identity, <a href="libgimpmath-GimpMatrix.html#id2510558">gimp_matrix3_identity ()</a>
<dt>gimp_matrix3_identity, <a href="libgimpmath-GimpMatrix.html#id2510566">gimp_matrix3_identity ()</a>
</dt>
<dt>gimp_matrix3_invert, <a href="libgimpmath-GimpMatrix.html#id2600882">gimp_matrix3_invert ()</a>
<dt>gimp_matrix3_invert, <a href="libgimpmath-GimpMatrix.html#id2600889">gimp_matrix3_invert ()</a>
</dt>
<dt>gimp_matrix3_is_affine, <a href="libgimpmath-GimpMatrix.html#id2601127">gimp_matrix3_is_affine ()</a>
<dt>gimp_matrix3_is_affine, <a href="libgimpmath-GimpMatrix.html#id2601134">gimp_matrix3_is_affine ()</a>
</dt>
<dt>gimp_matrix3_is_diagonal, <a href="libgimpmath-GimpMatrix.html#id2601036">gimp_matrix3_is_diagonal ()</a>
<dt>gimp_matrix3_is_diagonal, <a href="libgimpmath-GimpMatrix.html#id2601042">gimp_matrix3_is_diagonal ()</a>
</dt>
<dt>gimp_matrix3_is_identity, <a href="libgimpmath-GimpMatrix.html#id2600944">gimp_matrix3_is_identity ()</a>
<dt>gimp_matrix3_is_identity, <a href="libgimpmath-GimpMatrix.html#id2600951">gimp_matrix3_is_identity ()</a>
</dt>
<dt>gimp_matrix3_is_simple, <a href="libgimpmath-GimpMatrix.html#id2601205">gimp_matrix3_is_simple ()</a>
<dt>gimp_matrix3_is_simple, <a href="libgimpmath-GimpMatrix.html#id2592622">gimp_matrix3_is_simple ()</a>
</dt>
<dt>gimp_matrix3_mult, <a href="libgimpmath-GimpMatrix.html#id2599927">gimp_matrix3_mult ()</a>
<dt>gimp_matrix3_mult, <a href="libgimpmath-GimpMatrix.html#id2599933">gimp_matrix3_mult ()</a>
</dt>
<dt>gimp_matrix3_rotate, <a href="libgimpmath-GimpMatrix.html#id2600207">gimp_matrix3_rotate ()</a>
<dt>gimp_matrix3_rotate, <a href="libgimpmath-GimpMatrix.html#id2600213">gimp_matrix3_rotate ()</a>
</dt>
<dt>gimp_matrix3_scale, <a href="libgimpmath-GimpMatrix.html#id2600101">gimp_matrix3_scale ()</a>
<dt>gimp_matrix3_scale, <a href="libgimpmath-GimpMatrix.html#id2600108">gimp_matrix3_scale ()</a>
</dt>
<dt>gimp_matrix3_transform_point, <a href="libgimpmath-GimpMatrix.html#id2600660">gimp_matrix3_transform_point ()</a>
<dt>gimp_matrix3_transform_point, <a href="libgimpmath-GimpMatrix.html#id2600667">gimp_matrix3_transform_point ()</a>
</dt>
<dt>gimp_matrix3_translate, <a href="libgimpmath-GimpMatrix.html#id2600003">gimp_matrix3_translate ()</a>
<dt>gimp_matrix3_translate, <a href="libgimpmath-GimpMatrix.html#id2600009">gimp_matrix3_translate ()</a>
</dt>
<dt>gimp_matrix3_xshear, <a href="libgimpmath-GimpMatrix.html#id2600290">gimp_matrix3_xshear ()</a>
<dt>gimp_matrix3_xshear, <a href="libgimpmath-GimpMatrix.html#id2600297">gimp_matrix3_xshear ()</a>
</dt>
<dt>gimp_matrix3_yshear, <a href="libgimpmath-GimpMatrix.html#id2600374">gimp_matrix3_yshear ()</a>
<dt>gimp_matrix3_yshear, <a href="libgimpmath-GimpMatrix.html#id2600381">gimp_matrix3_yshear ()</a>
</dt>
<dt>gimp_matrix4_to_deg, <a href="libgimpmath-GimpMatrix.html#id2601289">gimp_matrix4_to_deg ()</a>
<dt>gimp_matrix4_to_deg, <a href="libgimpmath-GimpMatrix.html#id2601302">gimp_matrix4_to_deg ()</a>
</dt>
<dt>gimp_md5_get_digest, <a href="libgimpmath-GimpMD5.html#id2596097">gimp_md5_get_digest ()</a>
<dt>gimp_md5_get_digest, <a href="libgimpmath-GimpMD5.html#id2580930">gimp_md5_get_digest ()</a>
</dt>
<dt>gimp_param_spec_matrix2, <a href="libgimpmath-GimpMatrix.html#id2601497">gimp_param_spec_matrix2 ()</a>
<dt>gimp_param_spec_matrix2, <a href="libgimpmath-GimpMatrix.html#id2601510">gimp_param_spec_matrix2 ()</a>
</dt>
<dt>gimp_rad_to_deg, <a href="libgimpmath-GimpMath.html#id2532903">gimp_rad_to_deg()</a>
<dt>gimp_rad_to_deg, <a href="libgimpmath-GimpMath.html#id2532897">gimp_rad_to_deg()</a>
</dt>
<dt>GIMP_TYPE_MATRIX2, <a href="libgimpmath-GimpMatrix.html#id2601401">GIMP_TYPE_MATRIX2</a>
<dt>GIMP_TYPE_MATRIX2, <a href="libgimpmath-GimpMatrix.html#id2601414">GIMP_TYPE_MATRIX2</a>
</dt>
<dt>GIMP_TYPE_PARAM_MATRIX2, <a href="libgimpmath-GimpMatrix.html#id2601426">GIMP_TYPE_PARAM_MATRIX2</a>
<dt>GIMP_TYPE_PARAM_MATRIX2, <a href="libgimpmath-GimpMatrix.html#id2601439">GIMP_TYPE_PARAM_MATRIX2</a>
</dt>
<dt>GIMP_VALUE_HOLDS_MATRIX2, <a href="libgimpmath-GimpMatrix.html#id2601677">GIMP_VALUE_HOLDS_MATRIX2()</a>
<dt>GIMP_VALUE_HOLDS_MATRIX2, <a href="libgimpmath-GimpMatrix.html#id2601690">GIMP_VALUE_HOLDS_MATRIX2()</a>
</dt>
<dt>gimp_vector2_add, <a href="libgimpmath-GimpVector.html#id2608513">gimp_vector2_add ()</a>
<dt>gimp_vector2_add, <a href="libgimpmath-GimpVector.html#id2608518">gimp_vector2_add ()</a>
</dt>
<dt>gimp_vector2_add_val, <a href="libgimpmath-GimpVector.html#id2608637">gimp_vector2_add_val ()</a>
<dt>gimp_vector2_add_val, <a href="libgimpmath-GimpVector.html#id2608642">gimp_vector2_add_val ()</a>
</dt>
<dt>gimp_vector2_cross_product, <a href="libgimpmath-GimpVector.html#id2609204">gimp_vector2_cross_product ()</a>
<dt>gimp_vector2_cross_product, <a href="libgimpmath-GimpVector.html#id2609209">gimp_vector2_cross_product ()</a>
</dt>
<dt>gimp_vector2_cross_product_val, <a href="libgimpmath-GimpVector.html#id2609335">gimp_vector2_cross_product_val ()</a>
<dt>gimp_vector2_cross_product_val, <a href="libgimpmath-GimpVector.html#id2609340">gimp_vector2_cross_product_val ()</a>
</dt>
<dt>gimp_vector2_inner_product, <a href="libgimpmath-GimpVector.html#id2608996">gimp_vector2_inner_product ()</a>
<dt>gimp_vector2_inner_product, <a href="libgimpmath-GimpVector.html#id2609001">gimp_vector2_inner_product ()</a>
</dt>
<dt>gimp_vector2_inner_product_val, <a href="libgimpmath-GimpVector.html#id2609095">gimp_vector2_inner_product_val ()</a>
<dt>gimp_vector2_inner_product_val, <a href="libgimpmath-GimpVector.html#id2609100">gimp_vector2_inner_product_val ()</a>
</dt>
<dt>gimp_vector2_length, <a href="libgimpmath-GimpVector.html#id2607840">gimp_vector2_length ()</a>
</dt>
<dt>gimp_vector2_length_val, <a href="libgimpmath-GimpVector.html#id2557204">gimp_vector2_length_val ()</a>
<dt>gimp_vector2_length_val, <a href="libgimpmath-GimpVector.html#id2607925">gimp_vector2_length_val ()</a>
</dt>
<dt>gimp_vector2_mul, <a href="libgimpmath-GimpVector.html#id2607991">gimp_vector2_mul ()</a>
<dt>gimp_vector2_mul, <a href="libgimpmath-GimpVector.html#id2607998">gimp_vector2_mul ()</a>
</dt>
<dt>gimp_vector2_mul_val, <a href="libgimpmath-GimpVector.html#id2608088">gimp_vector2_mul_val ()</a>
<dt>gimp_vector2_mul_val, <a href="libgimpmath-GimpVector.html#id2608094">gimp_vector2_mul_val ()</a>
</dt>
<dt>gimp_vector2_neg, <a href="libgimpmath-GimpVector.html#id2608360">gimp_vector2_neg ()</a>
<dt>gimp_vector2_neg, <a href="libgimpmath-GimpVector.html#id2608365">gimp_vector2_neg ()</a>
</dt>
<dt>gimp_vector2_neg_val, <a href="libgimpmath-GimpVector.html#id2608426">gimp_vector2_neg_val ()</a>
<dt>gimp_vector2_neg_val, <a href="libgimpmath-GimpVector.html#id2608431">gimp_vector2_neg_val ()</a>
</dt>
<dt>gimp_vector2_new, <a href="libgimpmath-GimpVector.html#id2607589">gimp_vector2_new ()</a>
</dt>
<dt>gimp_vector2_normalize, <a href="libgimpmath-GimpVector.html#id2608194">gimp_vector2_normalize ()</a>
<dt>gimp_vector2_normalize, <a href="libgimpmath-GimpVector.html#id2608199">gimp_vector2_normalize ()</a>
</dt>
<dt>gimp_vector2_normalize_val, <a href="libgimpmath-GimpVector.html#id2608266">gimp_vector2_normalize_val ()</a>
<dt>gimp_vector2_normalize_val, <a href="libgimpmath-GimpVector.html#id2608271">gimp_vector2_normalize_val ()</a>
</dt>
<dt>gimp_vector2_rotate, <a href="libgimpmath-GimpVector.html#id2609444">gimp_vector2_rotate ()</a>
<dt>gimp_vector2_rotate, <a href="libgimpmath-GimpVector.html#id2609449">gimp_vector2_rotate ()</a>
</dt>
<dt>gimp_vector2_rotate_val, <a href="libgimpmath-GimpVector.html#id2609534">gimp_vector2_rotate_val ()</a>
<dt>gimp_vector2_rotate_val, <a href="libgimpmath-GimpVector.html#id2609539">gimp_vector2_rotate_val ()</a>
</dt>
<dt>gimp_vector2_set, <a href="libgimpmath-GimpVector.html#id2607710">gimp_vector2_set ()</a>
<dt>gimp_vector2_set, <a href="libgimpmath-GimpVector.html#id2607709">gimp_vector2_set ()</a>
</dt>
<dt>gimp_vector2_sub, <a href="libgimpmath-GimpVector.html#id2608749">gimp_vector2_sub ()</a>
<dt>gimp_vector2_sub, <a href="libgimpmath-GimpVector.html#id2608754">gimp_vector2_sub ()</a>
</dt>
<dt>gimp_vector2_sub_val, <a href="libgimpmath-GimpVector.html#id2608884">gimp_vector2_sub_val ()</a>
<dt>gimp_vector2_sub_val, <a href="libgimpmath-GimpVector.html#id2608889">gimp_vector2_sub_val ()</a>
</dt>
<dt>gimp_vector3_add, <a href="libgimpmath-GimpVector.html#id2610657">gimp_vector3_add ()</a>
<dt>gimp_vector3_add, <a href="libgimpmath-GimpVector.html#id2610654">gimp_vector3_add ()</a>
</dt>
<dt>gimp_vector3_add_val, <a href="libgimpmath-GimpVector.html#id2610798">gimp_vector3_add_val ()</a>
<dt>gimp_vector3_add_val, <a href="libgimpmath-GimpVector.html#id2610796">gimp_vector3_add_val ()</a>
</dt>
<dt>gimp_vector3_cross_product, <a href="libgimpmath-GimpVector.html#id2611441">gimp_vector3_cross_product ()</a>
<dt>gimp_vector3_cross_product, <a href="libgimpmath-GimpVector.html#id2611439">gimp_vector3_cross_product ()</a>
</dt>
<dt>gimp_vector3_cross_product_val, <a href="libgimpmath-GimpVector.html#id2611601">gimp_vector3_cross_product_val ()</a>
<dt>gimp_vector3_cross_product_val, <a href="libgimpmath-GimpVector.html#id2611599">gimp_vector3_cross_product_val ()</a>
</dt>
<dt>gimp_vector3_inner_product, <a href="libgimpmath-GimpVector.html#id2611207">gimp_vector3_inner_product ()</a>
<dt>gimp_vector3_inner_product, <a href="libgimpmath-GimpVector.html#id2611204">gimp_vector3_inner_product ()</a>
</dt>
<dt>gimp_vector3_inner_product_val, <a href="libgimpmath-GimpVector.html#id2611319">gimp_vector3_inner_product_val ()</a>
<dt>gimp_vector3_inner_product_val, <a href="libgimpmath-GimpVector.html#id2611317">gimp_vector3_inner_product_val ()</a>
</dt>
<dt>gimp_vector3_length, <a href="libgimpmath-GimpVector.html#id2609920">gimp_vector3_length ()</a>
<dt>gimp_vector3_length, <a href="libgimpmath-GimpVector.html#id2609925">gimp_vector3_length ()</a>
</dt>
<dt>gimp_vector3_length_val, <a href="libgimpmath-GimpVector.html#id2609996">gimp_vector3_length_val ()</a>
<dt>gimp_vector3_length_val, <a href="libgimpmath-GimpVector.html#id2610001">gimp_vector3_length_val ()</a>
</dt>
<dt>gimp_vector3_mul, <a href="libgimpmath-GimpVector.html#id2610082">gimp_vector3_mul ()</a>
<dt>gimp_vector3_mul, <a href="libgimpmath-GimpVector.html#id2610087">gimp_vector3_mul ()</a>
</dt>
<dt>gimp_vector3_mul_val, <a href="libgimpmath-GimpVector.html#id2610179">gimp_vector3_mul_val ()</a>
<dt>gimp_vector3_mul_val, <a href="libgimpmath-GimpVector.html#id2610184">gimp_vector3_mul_val ()</a>
</dt>
<dt>gimp_vector3_neg, <a href="libgimpmath-GimpVector.html#id2610481">gimp_vector3_neg ()</a>
<dt>gimp_vector3_neg, <a href="libgimpmath-GimpVector.html#id2610478">gimp_vector3_neg ()</a>
</dt>
<dt>gimp_vector3_neg_val, <a href="libgimpmath-GimpVector.html#id2610558">gimp_vector3_neg_val ()</a>
<dt>gimp_vector3_neg_val, <a href="libgimpmath-GimpVector.html#id2610555">gimp_vector3_neg_val ()</a>
</dt>
<dt>gimp_vector3_new, <a href="libgimpmath-GimpVector.html#id2609650">gimp_vector3_new ()</a>
<dt>gimp_vector3_new, <a href="libgimpmath-GimpVector.html#id2609655">gimp_vector3_new ()</a>
</dt>
<dt>gimp_vector3_normalize, <a href="libgimpmath-GimpVector.html#id2610291">gimp_vector3_normalize ()</a>
<dt>gimp_vector3_normalize, <a href="libgimpmath-GimpVector.html#id2610290">gimp_vector3_normalize ()</a>
</dt>
<dt>gimp_vector3_normalize_val, <a href="libgimpmath-GimpVector.html#id2610375">gimp_vector3_normalize_val ()</a>
<dt>gimp_vector3_normalize_val, <a href="libgimpmath-GimpVector.html#id2610372">gimp_vector3_normalize_val ()</a>
</dt>
<dt>gimp_vector3_rotate, <a href="libgimpmath-GimpVector.html#id2611723">gimp_vector3_rotate ()</a>
<dt>gimp_vector3_rotate, <a href="libgimpmath-GimpVector.html#id2611721">gimp_vector3_rotate ()</a>
</dt>
<dt>gimp_vector3_rotate_val, <a href="libgimpmath-GimpVector.html#id2611910">gimp_vector3_rotate_val ()</a>
<dt>gimp_vector3_rotate_val, <a href="libgimpmath-GimpVector.html#id2611907">gimp_vector3_rotate_val ()</a>
</dt>
<dt>gimp_vector3_set, <a href="libgimpmath-GimpVector.html#id2609780">gimp_vector3_set ()</a>
<dt>gimp_vector3_set, <a href="libgimpmath-GimpVector.html#id2609786">gimp_vector3_set ()</a>
</dt>
<dt>gimp_vector3_sub, <a href="libgimpmath-GimpVector.html#id2610925">gimp_vector3_sub ()</a>
<dt>gimp_vector3_sub, <a href="libgimpmath-GimpVector.html#id2610923">gimp_vector3_sub ()</a>
</dt>
<dt>gimp_vector3_sub_val, <a href="libgimpmath-GimpVector.html#id2611079">gimp_vector3_sub_val ()</a>
<dt>gimp_vector3_sub_val, <a href="libgimpmath-GimpVector.html#id2611076">gimp_vector3_sub_val ()</a>
</dt>
<dt>gimp_vector_2d_to_3d, <a href="libgimpmath-GimpVector.html#id2612068">gimp_vector_2d_to_3d ()</a>
<dt>gimp_vector_2d_to_3d, <a href="libgimpmath-GimpVector.html#id2612065">gimp_vector_2d_to_3d ()</a>
</dt>
<dt>gimp_vector_2d_to_3d_val, <a href="libgimpmath-GimpVector.html#id2612353">gimp_vector_2d_to_3d_val ()</a>
<dt>gimp_vector_2d_to_3d_val, <a href="libgimpmath-GimpVector.html#id2612351">gimp_vector_2d_to_3d_val ()</a>
</dt>
<dt>gimp_vector_3d_to_2d, <a href="libgimpmath-GimpVector.html#id2612611">gimp_vector_3d_to_2d ()</a>
<dt>gimp_vector_3d_to_2d, <a href="libgimpmath-GimpVector.html#id2612608">gimp_vector_3d_to_2d ()</a>
</dt>
</dl>
</div>
<div class="indexdiv">
<h3>M</h3>
<dl><dt>MAX255, <a href="libgimpmath-GimpMath.html#id2514932">MAX255()</a>
<dl><dt>MAX255, <a href="libgimpmath-GimpMath.html#id2514933">MAX255()</a>
</dt></dl>
</div>
<div class="indexdiv">
<h3>R</h3>
<dl>
<dt>RINT, <a href="libgimpmath-GimpMath.html#id2555913">RINT()</a>
<dt>RINT, <a href="libgimpmath-GimpMath.html#id2510837">RINT()</a>
</dt>
<dt>ROUND, <a href="libgimpmath-GimpMath.html#id2555966">ROUND()</a>
<dt>ROUND, <a href="libgimpmath-GimpMath.html#id2510890">ROUND()</a>
</dt>
</dl>
</div>
<div class="indexdiv">
<h3>S</h3>
<dl><dt>SQR, <a href="libgimpmath-GimpMath.html#id2514880">SQR()</a>
<dl><dt>SQR, <a href="libgimpmath-GimpMath.html#id2514881">SQR()</a>
</dt></dl>
</div>
</div>