New upstream version 2.10.20
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>gimprectangle: GIMP Base Library Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<link rel="home" href="index.html" title="GIMP Base Library Reference Manual">
|
||||
<link rel="up" href="pt01.html" title="Part I. GIMP Base Library">
|
||||
<link rel="prev" href="libgimpbase-GimpMetadata.html" title="GimpMetadata">
|
||||
@ -41,7 +41,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="libgimpbase-gimprectangle.html#gimp-rectangle-intersect" title="gimp_rectangle_intersect ()">gimp_rectangle_intersect</a> <span class="c_punctuation">()</span>
|
||||
@ -66,19 +66,19 @@
|
||||
<a name="libgimpbase-gimprectangle.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-rectangle-intersect"></a><h3>gimp_rectangle_intersect ()</h3>
|
||||
<pre class="programlisting"><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gimp_rectangle_intersect (<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x1</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y1</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width1</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height1</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x2</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y2</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width2</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height2</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_x</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_y</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_width</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_height</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gimp_rectangle_intersect (<em class="parameter"><code><span class="type">gint</span> x1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> y1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> width1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> height1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> x2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> y2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> width2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> height2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *dest_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *dest_y</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *dest_width</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *dest_height</code></em>);</pre>
|
||||
<p>Calculates the intersection of two rectangles.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gimp-rectangle-intersect.parameters"></a><h4>Parameters</h4>
|
||||
@ -131,22 +131,22 @@ gimp_rectangle_intersect (<em class="parameter"><code><a href="/local/head/share
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>dest_x</p></td>
|
||||
<td class="parameter_description"><p>return location for origin of intersection (may be <a href="/local/head/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>)</p></td>
|
||||
<td class="parameter_description"><p>return location for origin of intersection (may be <code class="literal">NULL</code>)</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>dest_y</p></td>
|
||||
<td class="parameter_description"><p>return location for origin of intersection (may be <a href="/local/head/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>)</p></td>
|
||||
<td class="parameter_description"><p>return location for origin of intersection (may be <code class="literal">NULL</code>)</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>dest_width</p></td>
|
||||
<td class="parameter_description"><p>return location for width of intersection (may be <a href="/local/head/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>)</p></td>
|
||||
<td class="parameter_description"><p>return location for width of intersection (may be <code class="literal">NULL</code>)</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>dest_height</p></td>
|
||||
<td class="parameter_description"><p>return location for height of intersection (may be <a href="/local/head/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>)</p></td>
|
||||
<td class="parameter_description"><p>return location for height of intersection (may be <code class="literal">NULL</code>)</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -154,7 +154,7 @@ gimp_rectangle_intersect (<em class="parameter"><code><a href="/local/head/share
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gimp-rectangle-intersect.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="/local/head/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the intersection is non-empty, <a href="/local/head/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
||||
<p> <code class="literal">TRUE</code> if the intersection is non-empty, <code class="literal">FALSE</code> otherwise</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
|
||||
</div>
|
||||
@ -162,18 +162,18 @@ gimp_rectangle_intersect (<em class="parameter"><code><a href="/local/head/share
|
||||
<div class="refsect2">
|
||||
<a name="gimp-rectangle-union"></a><h3>gimp_rectangle_union ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gimp_rectangle_union (<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x1</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y1</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width1</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height1</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x2</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y2</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width2</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height2</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_x</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_y</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_width</code></em>,
|
||||
<em class="parameter"><code><a href="/local/head/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_height</code></em>);</pre>
|
||||
gimp_rectangle_union (<em class="parameter"><code><span class="type">gint</span> x1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> y1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> width1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> height1</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> x2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> y2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> width2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> height2</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *dest_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *dest_y</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *dest_width</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *dest_height</code></em>);</pre>
|
||||
<p>Calculates the union of two rectangles.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gimp-rectangle-union.parameters"></a><h4>Parameters</h4>
|
||||
@ -226,22 +226,22 @@ gimp_rectangle_union (<em class="parameter"><code><a href="/local/head/share/gtk
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>dest_x</p></td>
|
||||
<td class="parameter_description"><p>return location for origin of union (may be <a href="/local/head/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>)</p></td>
|
||||
<td class="parameter_description"><p>return location for origin of union (may be <code class="literal">NULL</code>)</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>dest_y</p></td>
|
||||
<td class="parameter_description"><p>return location for origin of union (may be <a href="/local/head/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>)</p></td>
|
||||
<td class="parameter_description"><p>return location for origin of union (may be <code class="literal">NULL</code>)</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>dest_width</p></td>
|
||||
<td class="parameter_description"><p>return location for width of union (may be <a href="/local/head/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>)</p></td>
|
||||
<td class="parameter_description"><p>return location for width of union (may be <code class="literal">NULL</code>)</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>dest_height</p></td>
|
||||
<td class="parameter_description"><p>return location for height of union (may be <a href="/local/head/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>)</p></td>
|
||||
<td class="parameter_description"><p>return location for height of union (may be <code class="literal">NULL</code>)</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
Reference in New Issue
Block a user