Imported Upstream version 2.4.0~rc1

This commit is contained in:
Ari Pollak
2010-08-11 01:22:21 -04:00
parent 5516c26b4b
commit d884b2912c
672 changed files with 122964 additions and 82169 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="#id2582606" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2578562" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2602129" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2600021" 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="id2582606"></a><span class="refentrytitle">gimprectangle</span>
<a name="id2578562"></a><span class="refentrytitle">gimprectangle</span>
</h2>
<p>gimprectangle</p>
</td>
@ -46,43 +46,95 @@
gboolean <a 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 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="id2602129"></a><h2>Description</h2>
<a name="id2600021"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2602145"></a><h2>Details</h2>
<a name="id2600037"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2602155"></a><h3>
<a name="id2600048"></a><h3>
<a name="gimp-rectangle-intersect"></a>gimp_rectangle_intersect ()</h3>
<a class="indexterm" name="id2602169"></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="id2600061"></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><span class="term"><em class="parameter"><code>dest_x</code></em>&#160;:</span></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><span class="term"><em class="parameter"><code>dest_y</code></em>&#160;:</span></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><span class="term"><em class="parameter"><code>dest_width</code></em>&#160;:</span></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><span class="term"><em class="parameter"><code>dest_height</code></em>&#160;:</span></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><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></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>