Imported Upstream version 2.3.13
This commit is contained in:
@ -18,10 +18,10 @@
|
||||
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
|
||||
<link rel="part" href="libgimpui.html" title="Part III. GIMP User Interface Library">
|
||||
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
|
||||
<link rel="index" href="ix01.html" title="Index">
|
||||
<link rel="index" href="ix02.html" title="Index of new symbols in GIMP 2.2">
|
||||
<link rel="index" href="ix03.html" title="Index of new symbols in GIMP 2.4">
|
||||
<link rel="index" href="ix04.html" title="Index of deprecated symbols">
|
||||
<link rel="index" href="libgimp-index.html" title="Index">
|
||||
<link rel="index" href="libgimp-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
|
||||
<link rel="index" href="libgimp-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
|
||||
<link rel="index" href="libgimp-index-deprecated.html" title="Index of deprecated symbols">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
||||
@ -32,16 +32,16 @@
|
||||
<th width="100%" align="center">GIMP Library Reference Manual</th>
|
||||
<td><a accesskey="n" href="libgimp-gimptexttool.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="#id2560995" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2633731" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2634776" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2655784" class="shortcut">Description</a></nobr></td></tr>
|
||||
</table>
|
||||
<div class="refentry" lang="en">
|
||||
<a name="libgimp-gimpselection"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2>
|
||||
<a name="id2560995"></a><span class="refentrytitle">gimpselection</span>
|
||||
<a name="id2633731"></a><span class="refentrytitle">gimpselection</span>
|
||||
</h2>
|
||||
<p>gimpselection — Functions for manipulating selections.</p>
|
||||
</td>
|
||||
@ -93,18 +93,18 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2634776"></a><h2>Description</h2>
|
||||
<a name="id2655784"></a><h2>Description</h2>
|
||||
<p>
|
||||
Functions for manipulating selections.
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2634792"></a><h2>Details</h2>
|
||||
<a name="id2655800"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2634803"></a><h3>
|
||||
<a name="id2655810"></a><h3>
|
||||
<a name="gimp-selection-bounds"></a>gimp_selection_bounds ()</h3>
|
||||
<a class="indexterm" name="id2634814"></a><pre class="programlisting">gboolean gimp_selection_bounds (gint32 image_ID,
|
||||
<a class="indexterm" name="id2655822"></a><pre class="programlisting">gboolean gimp_selection_bounds (gint32 image_ID,
|
||||
gboolean *non_empty,
|
||||
gint *x1,
|
||||
gint *y1,
|
||||
@ -129,44 +129,37 @@ pixel. This means the width of the selection can be calculated as
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td> The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>non_empty</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>non_empty</code></em> :</span></td>
|
||||
<td> TRUE if there is a selection.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>x1</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>x1</code></em> :</span></td>
|
||||
<td> x coordinate of upper left corner of selection bounds.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>y1</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>y1</code></em> :</span></td>
|
||||
<td> y coordinate of upper left corner of selection bounds.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>x2</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>x2</code></em> :</span></td>
|
||||
<td> x coordinate of lower right corner of selection bounds.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>y2</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>y2</code></em> :</span></td>
|
||||
<td> y coordinate of lower right corner of selection bounds.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -175,9 +168,9 @@ pixel. This means the width of the selection can be calculated as
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2634994"></a><h3>
|
||||
<a name="id2640611"></a><h3>
|
||||
<a name="gimp-selection-all"></a>gimp_selection_all ()</h3>
|
||||
<a class="indexterm" name="id2635006"></a><pre class="programlisting">gboolean gimp_selection_all (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2640623"></a><pre class="programlisting">gboolean gimp_selection_all (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Select all of the image.
|
||||
</p>
|
||||
@ -191,14 +184,12 @@ image. Every pixel in the selection channel is set to 255.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td> The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -207,9 +198,9 @@ image. Every pixel in the selection channel is set to 255.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2635071"></a><h3>
|
||||
<a name="id2640688"></a><h3>
|
||||
<a name="gimp-selection-none"></a>gimp_selection_none ()</h3>
|
||||
<a class="indexterm" name="id2635083"></a><pre class="programlisting">gboolean gimp_selection_none (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2640700"></a><pre class="programlisting">gboolean gimp_selection_none (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Deselect the entire image.
|
||||
</p>
|
||||
@ -223,14 +214,12 @@ selection channel is set to 0.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td> The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -239,9 +228,9 @@ selection channel is set to 0.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2635147"></a><h3>
|
||||
<a name="id2640765"></a><h3>
|
||||
<a name="gimp-selection-clear"></a>gimp_selection_clear ()</h3>
|
||||
<a class="indexterm" name="id2635161"></a><pre class="programlisting">gboolean gimp_selection_clear (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2640778"></a><pre class="programlisting">gboolean gimp_selection_clear (gint32 image_ID);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_selection_clear</code> is deprecated and should not be used in newly-written code.</p>
|
||||
@ -255,14 +244,12 @@ This procedure is deprecated! Use <a href="libgimp-gimpselection.html#gimp-selec
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td> The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -271,9 +258,9 @@ This procedure is deprecated! Use <a href="libgimp-gimpselection.html#gimp-selec
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2656872"></a><h3>
|
||||
<a name="id2656972"></a><h3>
|
||||
<a name="gimp-selection-is-empty"></a>gimp_selection_is_empty ()</h3>
|
||||
<a class="indexterm" name="id2656882"></a><pre class="programlisting">gboolean gimp_selection_is_empty (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2656982"></a><pre class="programlisting">gboolean gimp_selection_is_empty (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Determine whether the selection is empty.
|
||||
</p>
|
||||
@ -287,14 +274,12 @@ is not empty.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td> The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> Is the selection empty?
|
||||
</td>
|
||||
</tr>
|
||||
@ -303,9 +288,9 @@ is not empty.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2656940"></a><h3>
|
||||
<a name="id2657039"></a><h3>
|
||||
<a name="gimp-selection-float"></a>gimp_selection_float ()</h3>
|
||||
<a class="indexterm" name="id2656950"></a><pre class="programlisting">gint32 gimp_selection_float (gint32 image_ID,
|
||||
<a class="indexterm" name="id2657050"></a><pre class="programlisting">gint32 gimp_selection_float (gint32 image_ID,
|
||||
gint32 drawable_ID,
|
||||
gint offx,
|
||||
gint offy);</pre>
|
||||
@ -326,32 +311,27 @@ positioning of the new floating selection.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td> ignored
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
|
||||
<td> The drawable from which to float selection.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>offx</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>offx</code></em> :</span></td>
|
||||
<td> x offset for translation.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>offy</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>offy</code></em> :</span></td>
|
||||
<td> y offset for translation.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The floated layer.
|
||||
</td>
|
||||
</tr>
|
||||
@ -360,9 +340,9 @@ positioning of the new floating selection.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2657070"></a><h3>
|
||||
<a name="id2657170"></a><h3>
|
||||
<a name="gimp-selection-load"></a>gimp_selection_load ()</h3>
|
||||
<a class="indexterm" name="id2657081"></a><pre class="programlisting">gboolean gimp_selection_load (gint32 channel_ID);</pre>
|
||||
<a class="indexterm" name="id2657180"></a><pre class="programlisting">gboolean gimp_selection_load (gint32 channel_ID);</pre>
|
||||
<p>
|
||||
Transfer the specified channel to the selection mask.
|
||||
</p>
|
||||
@ -375,14 +355,12 @@ This procedure loads the specified channel into the selection mask.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>channel_ID</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>channel_ID</code></em> :</span></td>
|
||||
<td> The channel.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -391,9 +369,9 @@ This procedure loads the specified channel into the selection mask.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2657139"></a><h3>
|
||||
<a name="id2657238"></a><h3>
|
||||
<a name="gimp-selection-save"></a>gimp_selection_save ()</h3>
|
||||
<a class="indexterm" name="id2657149"></a><pre class="programlisting">gint32 gimp_selection_save (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2657249"></a><pre class="programlisting">gint32 gimp_selection_save (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Copy the selection mask to a new channel.
|
||||
</p>
|
||||
@ -408,14 +386,12 @@ image's list of channels.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td> The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The new channel.
|
||||
</td>
|
||||
</tr>
|
||||
@ -424,9 +400,9 @@ image's list of channels.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2657208"></a><h3>
|
||||
<a name="id2657307"></a><h3>
|
||||
<a name="gimp-selection-value"></a>gimp_selection_value ()</h3>
|
||||
<a class="indexterm" name="id2657218"></a><pre class="programlisting">gint gimp_selection_value (gint32 image_ID,
|
||||
<a class="indexterm" name="id2657318"></a><pre class="programlisting">gint gimp_selection_value (gint32 image_ID,
|
||||
gint x,
|
||||
gint y);</pre>
|
||||
<p>
|
||||
@ -442,26 +418,22 @@ coordinates. If the coordinates lie out of bounds, 0 is returned.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td> The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>x</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>x</code></em> :</span></td>
|
||||
<td> x coordinate of value.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>y</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>y</code></em> :</span></td>
|
||||
<td> y coordinate of value.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> Value of the selection.
|
||||
</td>
|
||||
</tr>
|
||||
@ -470,9 +442,9 @@ coordinates. If the coordinates lie out of bounds, 0 is returned.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2657315"></a><h3>
|
||||
<a name="id2657415"></a><h3>
|
||||
<a name="gimp-selection-grow"></a>gimp_selection_grow ()</h3>
|
||||
<a class="indexterm" name="id2657326"></a><pre class="programlisting">gboolean gimp_selection_grow (gint32 image_ID,
|
||||
<a class="indexterm" name="id2657425"></a><pre class="programlisting">gboolean gimp_selection_grow (gint32 image_ID,
|
||||
gint steps);</pre>
|
||||
<p>
|
||||
Grow the image's selection
|
||||
@ -487,20 +459,17 @@ boundary in all directions by the specified pixel amount.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td> The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>steps</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>steps</code></em> :</span></td>
|
||||
<td> Steps of grow (in pixels).
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -509,9 +478,9 @@ boundary in all directions by the specified pixel amount.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2657404"></a><h3>
|
||||
<a name="id2657502"></a><h3>
|
||||
<a name="gimp-selection-shrink"></a>gimp_selection_shrink ()</h3>
|
||||
<a class="indexterm" name="id2657414"></a><pre class="programlisting">gboolean gimp_selection_shrink (gint32 image_ID,
|
||||
<a class="indexterm" name="id2657513"></a><pre class="programlisting">gboolean gimp_selection_shrink (gint32 image_ID,
|
||||
gint steps);</pre>
|
||||
<p>
|
||||
Shrink the image's selection
|
||||
@ -527,20 +496,17 @@ of pixels.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td> The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>steps</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>steps</code></em> :</span></td>
|
||||
<td> Steps of shrink (in pixels).
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -549,9 +515,9 @@ of pixels.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2657492"></a><h3>
|
||||
<a name="id2657590"></a><h3>
|
||||
<a name="gimp-selection-invert"></a>gimp_selection_invert ()</h3>
|
||||
<a class="indexterm" name="id2657502"></a><pre class="programlisting">gboolean gimp_selection_invert (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2657600"></a><pre class="programlisting">gboolean gimp_selection_invert (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Invert the selection mask.
|
||||
</p>
|
||||
@ -565,14 +531,12 @@ selection channel, its new value is calculated as (255 - old-value).</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td> The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -581,9 +545,9 @@ selection channel, its new value is calculated as (255 - old-value).</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2657561"></a><h3>
|
||||
<a name="id2657659"></a><h3>
|
||||
<a name="gimp-selection-feather"></a>gimp_selection_feather ()</h3>
|
||||
<a class="indexterm" name="id2657572"></a><pre class="programlisting">gboolean gimp_selection_feather (gint32 image_ID,
|
||||
<a class="indexterm" name="id2657670"></a><pre class="programlisting">gboolean gimp_selection_feather (gint32 image_ID,
|
||||
gdouble radius);</pre>
|
||||
<p>
|
||||
Feather the image's selection
|
||||
@ -598,20 +562,17 @@ using a gaussian blur.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td> The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>radius</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>radius</code></em> :</span></td>
|
||||
<td> Radius of feather (in pixels).
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -620,9 +581,9 @@ using a gaussian blur.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2657649"></a><h3>
|
||||
<a name="id2657747"></a><h3>
|
||||
<a name="gimp-selection-sharpen"></a>gimp_selection_sharpen ()</h3>
|
||||
<a class="indexterm" name="id2657659"></a><pre class="programlisting">gboolean gimp_selection_sharpen (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2657757"></a><pre class="programlisting">gboolean gimp_selection_sharpen (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Sharpen the selection mask.
|
||||
</p>
|
||||
@ -638,14 +599,12 @@ might exist in the selection mask's boundary.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td> The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -654,9 +613,9 @@ might exist in the selection mask's boundary.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2657720"></a><h3>
|
||||
<a name="id2657818"></a><h3>
|
||||
<a name="gimp-selection-border"></a>gimp_selection_border ()</h3>
|
||||
<a class="indexterm" name="id2657730"></a><pre class="programlisting">gboolean gimp_selection_border (gint32 image_ID,
|
||||
<a class="indexterm" name="id2657828"></a><pre class="programlisting">gboolean gimp_selection_border (gint32 image_ID,
|
||||
gint radius);</pre>
|
||||
<p>
|
||||
Border the image's selection
|
||||
@ -672,20 +631,17 @@ selection at every point within the specified radius.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td> The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>radius</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>radius</code></em> :</span></td>
|
||||
<td> Radius of border (in pixels).
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -694,9 +650,9 @@ selection at every point within the specified radius.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2657809"></a><h3>
|
||||
<a name="id2657907"></a><h3>
|
||||
<a name="gimp-selection-translate"></a>gimp_selection_translate ()</h3>
|
||||
<a class="indexterm" name="id2657819"></a><pre class="programlisting">gboolean gimp_selection_translate (gint32 image_ID,
|
||||
<a class="indexterm" name="id2657917"></a><pre class="programlisting">gboolean gimp_selection_translate (gint32 image_ID,
|
||||
gint offx,
|
||||
gint offy);</pre>
|
||||
<p>
|
||||
@ -715,26 +671,22 @@ because of this call are lost.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
|
||||
<td> The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>offx</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>offx</code></em> :</span></td>
|
||||
<td> x offset for translation.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>offy</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>offy</code></em> :</span></td>
|
||||
<td> y offset for translation.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -743,9 +695,9 @@ because of this call are lost.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2657920"></a><h3>
|
||||
<a name="id2658017"></a><h3>
|
||||
<a name="gimp-selection-layer-alpha"></a>gimp_selection_layer_alpha ()</h3>
|
||||
<a class="indexterm" name="id2657930"></a><pre class="programlisting">gboolean gimp_selection_layer_alpha (gint32 layer_ID);</pre>
|
||||
<a class="indexterm" name="id2658028"></a><pre class="programlisting">gboolean gimp_selection_layer_alpha (gint32 layer_ID);</pre>
|
||||
<p>
|
||||
Transfer the specified layer's alpha channel to the selection mask.
|
||||
</p>
|
||||
@ -763,14 +715,12 @@ selection mask value is set to 0.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></td>
|
||||
<td> Layer with alpha.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -779,9 +729,9 @@ selection mask value is set to 0.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2657994"></a><h3>
|
||||
<a name="id2658092"></a><h3>
|
||||
<a name="gimp-selection-combine"></a>gimp_selection_combine ()</h3>
|
||||
<a class="indexterm" name="id2658004"></a><pre class="programlisting">gboolean gimp_selection_combine (gint32 channel_ID,
|
||||
<a class="indexterm" name="id2658102"></a><pre class="programlisting">gboolean gimp_selection_combine (gint32 channel_ID,
|
||||
<a
|
||||
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
|
||||
>GimpChannelOps</a> operation);</pre>
|
||||
@ -798,20 +748,17 @@ mask.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>channel_ID</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>channel_ID</code></em> :</span></td>
|
||||
<td> The channel.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>operation</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>operation</code></em> :</span></td>
|
||||
<td> The selection operation.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user