Imported Upstream version 2.3.18
This commit is contained in:
@ -31,16 +31,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="#id2594198" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2585288" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2660756" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2650609" 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="id2594198"></a><span class="refentrytitle">gimpselection</span>
|
||||
<a name="id2585288"></a><span class="refentrytitle">gimpselection</span>
|
||||
</h2>
|
||||
<p>gimpselection — Functions for manipulating selections.</p>
|
||||
</td>
|
||||
@ -92,18 +92,18 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2660756"></a><h2>Description</h2>
|
||||
<a name="id2650609"></a><h2>Description</h2>
|
||||
<p>
|
||||
Functions for manipulating selections.
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2660772"></a><h2>Details</h2>
|
||||
<a name="id2650624"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2660782"></a><h3>
|
||||
<a name="id2650635"></a><h3>
|
||||
<a name="gimp-selection-bounds"></a>gimp_selection_bounds ()</h3>
|
||||
<a class="indexterm" name="id2664489"></a><pre class="programlisting">gboolean gimp_selection_bounds (gint32 image_ID,
|
||||
<a class="indexterm" name="id2650646"></a><pre class="programlisting">gboolean gimp_selection_bounds (gint32 image_ID,
|
||||
gboolean *non_empty,
|
||||
gint *x1,
|
||||
gint *y1,
|
||||
@ -167,9 +167,9 @@ pixel. This means the width of the selection can be calculated as
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2664671"></a><h3>
|
||||
<a name="id2648178"></a><h3>
|
||||
<a name="gimp-selection-all"></a>gimp_selection_all ()</h3>
|
||||
<a class="indexterm" name="id2664683"></a><pre class="programlisting">gboolean gimp_selection_all (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2648190"></a><pre class="programlisting">gboolean gimp_selection_all (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Select all of the image.
|
||||
</p>
|
||||
@ -197,9 +197,9 @@ image. Every pixel in the selection channel is set to 255.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2649887"></a><h3>
|
||||
<a name="id2648256"></a><h3>
|
||||
<a name="gimp-selection-none"></a>gimp_selection_none ()</h3>
|
||||
<a class="indexterm" name="id2649899"></a><pre class="programlisting">gboolean gimp_selection_none (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2648268"></a><pre class="programlisting">gboolean gimp_selection_none (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Deselect the entire image.
|
||||
</p>
|
||||
@ -227,9 +227,9 @@ selection channel is set to 0.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2649965"></a><h3>
|
||||
<a name="id2648333"></a><h3>
|
||||
<a name="gimp-selection-clear"></a>gimp_selection_clear ()</h3>
|
||||
<a class="indexterm" name="id2649978"></a><pre class="programlisting">gboolean gimp_selection_clear (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2648347"></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>
|
||||
@ -257,9 +257,9 @@ This procedure is deprecated! Use <a href="libgimp-gimpselection.html#gimp-selec
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2650060"></a><h3>
|
||||
<a name="id2666312"></a><h3>
|
||||
<a name="gimp-selection-is-empty"></a>gimp_selection_is_empty ()</h3>
|
||||
<a class="indexterm" name="id2650071"></a><pre class="programlisting">gboolean gimp_selection_is_empty (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2666323"></a><pre class="programlisting">gboolean gimp_selection_is_empty (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Determine whether the selection is empty.
|
||||
</p>
|
||||
@ -287,9 +287,9 @@ is not empty.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2650135"></a><h3>
|
||||
<a name="id2666381"></a><h3>
|
||||
<a name="gimp-selection-float"></a>gimp_selection_float ()</h3>
|
||||
<a class="indexterm" name="id2650147"></a><pre class="programlisting">gint32 gimp_selection_float (gint32 image_ID,
|
||||
<a class="indexterm" name="id2666391"></a><pre class="programlisting">gint32 gimp_selection_float (gint32 image_ID,
|
||||
gint32 drawable_ID,
|
||||
gint offx,
|
||||
gint offy);</pre>
|
||||
@ -339,9 +339,9 @@ positioning of the new floating selection.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2650280"></a><h3>
|
||||
<a name="id2666513"></a><h3>
|
||||
<a name="gimp-selection-load"></a>gimp_selection_load ()</h3>
|
||||
<a class="indexterm" name="id2650293"></a><pre class="programlisting">gboolean gimp_selection_load (gint32 channel_ID);</pre>
|
||||
<a class="indexterm" name="id2666524"></a><pre class="programlisting">gboolean gimp_selection_load (gint32 channel_ID);</pre>
|
||||
<p>
|
||||
Transfer the specified channel to the selection mask.
|
||||
</p>
|
||||
@ -368,9 +368,9 @@ This procedure loads the specified channel into the selection mask.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2666558"></a><h3>
|
||||
<a name="id2666583"></a><h3>
|
||||
<a name="gimp-selection-save"></a>gimp_selection_save ()</h3>
|
||||
<a class="indexterm" name="id2666569"></a><pre class="programlisting">gint32 gimp_selection_save (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2666593"></a><pre class="programlisting">gint32 gimp_selection_save (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Copy the selection mask to a new channel.
|
||||
</p>
|
||||
@ -399,9 +399,9 @@ image's list of channels.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2666628"></a><h3>
|
||||
<a name="id2666653"></a><h3>
|
||||
<a name="gimp-selection-value"></a>gimp_selection_value ()</h3>
|
||||
<a class="indexterm" name="id2666639"></a><pre class="programlisting">gint gimp_selection_value (gint32 image_ID,
|
||||
<a class="indexterm" name="id2666663"></a><pre class="programlisting">gint gimp_selection_value (gint32 image_ID,
|
||||
gint x,
|
||||
gint y);</pre>
|
||||
<p>
|
||||
@ -441,9 +441,9 @@ coordinates. If the coordinates lie out of bounds, 0 is returned.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2666737"></a><h3>
|
||||
<a name="id2666762"></a><h3>
|
||||
<a name="gimp-selection-grow"></a>gimp_selection_grow ()</h3>
|
||||
<a class="indexterm" name="id2666748"></a><pre class="programlisting">gboolean gimp_selection_grow (gint32 image_ID,
|
||||
<a class="indexterm" name="id2666772"></a><pre class="programlisting">gboolean gimp_selection_grow (gint32 image_ID,
|
||||
gint steps);</pre>
|
||||
<p>
|
||||
Grow the image's selection
|
||||
@ -477,9 +477,9 @@ boundary in all directions by the specified pixel amount.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2666826"></a><h3>
|
||||
<a name="id2666850"></a><h3>
|
||||
<a name="gimp-selection-shrink"></a>gimp_selection_shrink ()</h3>
|
||||
<a class="indexterm" name="id2666836"></a><pre class="programlisting">gboolean gimp_selection_shrink (gint32 image_ID,
|
||||
<a class="indexterm" name="id2666861"></a><pre class="programlisting">gboolean gimp_selection_shrink (gint32 image_ID,
|
||||
gint steps);</pre>
|
||||
<p>
|
||||
Shrink the image's selection
|
||||
@ -514,9 +514,9 @@ of pixels.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2666915"></a><h3>
|
||||
<a name="id2666939"></a><h3>
|
||||
<a name="gimp-selection-invert"></a>gimp_selection_invert ()</h3>
|
||||
<a class="indexterm" name="id2666925"></a><pre class="programlisting">gboolean gimp_selection_invert (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2666950"></a><pre class="programlisting">gboolean gimp_selection_invert (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Invert the selection mask.
|
||||
</p>
|
||||
@ -544,9 +544,9 @@ selection channel, its new value is calculated as (255 - old-value).</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2666984"></a><h3>
|
||||
<a name="id2667009"></a><h3>
|
||||
<a name="gimp-selection-feather"></a>gimp_selection_feather ()</h3>
|
||||
<a class="indexterm" name="id2666995"></a><pre class="programlisting">gboolean gimp_selection_feather (gint32 image_ID,
|
||||
<a class="indexterm" name="id2667019"></a><pre class="programlisting">gboolean gimp_selection_feather (gint32 image_ID,
|
||||
gdouble radius);</pre>
|
||||
<p>
|
||||
Feather the image's selection
|
||||
@ -580,9 +580,9 @@ using a gaussian blur.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2667072"></a><h3>
|
||||
<a name="id2667096"></a><h3>
|
||||
<a name="gimp-selection-sharpen"></a>gimp_selection_sharpen ()</h3>
|
||||
<a class="indexterm" name="id2667082"></a><pre class="programlisting">gboolean gimp_selection_sharpen (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2667107"></a><pre class="programlisting">gboolean gimp_selection_sharpen (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Sharpen the selection mask.
|
||||
</p>
|
||||
@ -612,9 +612,9 @@ might exist in the selection mask's boundary.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2667143"></a><h3>
|
||||
<a name="id2667168"></a><h3>
|
||||
<a name="gimp-selection-border"></a>gimp_selection_border ()</h3>
|
||||
<a class="indexterm" name="id2667154"></a><pre class="programlisting">gboolean gimp_selection_border (gint32 image_ID,
|
||||
<a class="indexterm" name="id2667178"></a><pre class="programlisting">gboolean gimp_selection_border (gint32 image_ID,
|
||||
gint radius);</pre>
|
||||
<p>
|
||||
Border the image's selection
|
||||
@ -649,9 +649,9 @@ selection at every point within the specified radius.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2667233"></a><h3>
|
||||
<a name="id2667257"></a><h3>
|
||||
<a name="gimp-selection-translate"></a>gimp_selection_translate ()</h3>
|
||||
<a class="indexterm" name="id2667243"></a><pre class="programlisting">gboolean gimp_selection_translate (gint32 image_ID,
|
||||
<a class="indexterm" name="id2667267"></a><pre class="programlisting">gboolean gimp_selection_translate (gint32 image_ID,
|
||||
gint offx,
|
||||
gint offy);</pre>
|
||||
<p>
|
||||
@ -694,9 +694,9 @@ because of this call are lost.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2667344"></a><h3>
|
||||
<a name="id2667368"></a><h3>
|
||||
<a name="gimp-selection-layer-alpha"></a>gimp_selection_layer_alpha ()</h3>
|
||||
<a class="indexterm" name="id2667354"></a><pre class="programlisting">gboolean gimp_selection_layer_alpha (gint32 layer_ID);</pre>
|
||||
<a class="indexterm" name="id2667379"></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>
|
||||
@ -728,9 +728,9 @@ selection mask value is set to 0.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2667418"></a><h3>
|
||||
<a name="id2667443"></a><h3>
|
||||
<a name="gimp-selection-combine"></a>gimp_selection_combine ()</h3>
|
||||
<a class="indexterm" name="id2667429"></a><pre class="programlisting">gboolean gimp_selection_combine (gint32 channel_ID,
|
||||
<a class="indexterm" name="id2667453"></a><pre class="programlisting">gboolean gimp_selection_combine (gint32 channel_ID,
|
||||
<a
|
||||
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
|
||||
>GimpChannelOps</a> operation);</pre>
|
||||
|
Reference in New Issue
Block a user