Imported Upstream version 2.4.0~rc3

This commit is contained in:
Ari Pollak
2010-08-11 01:23:08 -04:00
parent 4be5597e32
commit f35d8506c6
668 changed files with 59324 additions and 37769 deletions

View File

@ -25,16 +25,16 @@
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
<td><a accesskey="n" href="libgimpbase-gimpparasite.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="#id2610544" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2591400" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2580564" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2576109" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpbase-gimprectangle"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2610544"></a><span class="refentrytitle">gimprectangle</span>
<a name="id2591400"></a><span class="refentrytitle">gimprectangle</span>
</h2>
<p>gimprectangle</p>
</td>
@ -46,43 +46,95 @@
gboolean <a class="link" href="libgimpbase-gimprectangle.html#gimp-rectangle-intersect">gimp_rectangle_intersect</a> (gint x1,
gint y1,
gint width1,
gint height1,
gint x2,
gint y2,
gint width2,
gint height2,
gint *dest_x,
gint *dest_y,
gint *dest_width,
gint *dest_height);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimpbase-gimprectangle.html#gimp-rectangle-intersect">gimp_rectangle_intersect</a> (<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x1,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y1,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width1,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height1,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x2,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y2,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width2,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height2,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_y,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_height);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2580564"></a><h2>Description</h2>
<a name="id2576109"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2580580"></a><h2>Details</h2>
<a name="id2575078"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2580590"></a><h3>
<a name="id2575088"></a><h3>
<a name="gimp-rectangle-intersect"></a>gimp_rectangle_intersect ()</h3>
<a class="indexterm" name="id2580604"></a><pre class="programlisting">gboolean gimp_rectangle_intersect (gint x1,
gint y1,
gint width1,
gint height1,
gint x2,
gint y2,
gint width2,
gint height2,
gint *dest_x,
gint *dest_y,
gint *dest_width,
gint *dest_height);</pre>
<a class="indexterm" name="id2575102"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_rectangle_intersect (<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x1,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y1,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width1,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height1,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> x2,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> y2,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width2,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> height2,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_x,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_y,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_width,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> *dest_height);</pre>
<p>
Calculates the intersection of two rectangles.</p>
<p>
@ -133,27 +185,39 @@ Calculates the intersection of two rectangles.</p>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest_x</code></em>&#160;:</span></p></td>
<td> return location for origin of intersection (may be <code class="literal">NULL</code>)
<td> return location for origin of intersection (may be <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest_y</code></em>&#160;:</span></p></td>
<td> return location for origin of intersection (may be <code class="literal">NULL</code>)
<td> return location for origin of intersection (may be <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest_width</code></em>&#160;:</span></p></td>
<td> return location for width of intersection (may be <code class="literal">NULL</code>)
<td> return location for width of intersection (may be <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest_height</code></em>&#160;:</span></p></td>
<td> return location for height of intersection (may be <code class="literal">NULL</code>)
<td> return location for height of intersection (may be <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>)
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td> <code class="literal">TRUE</code> if the intersection is non-empty, <code class="literal">FALSE</code> otherwise
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the intersection is non-empty, <a
href="../glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> otherwise
</td>
</tr>