Imported Upstream version 2.3.10
This commit is contained in:
@ -100,9 +100,9 @@ Functions for manipulating selections.
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="details"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2603350"></a><h3>
|
||||
<a name="id2626649"></a><h3>
|
||||
<a name="gimp-selection-bounds"></a>gimp_selection_bounds ()</h3>
|
||||
<a class="indexterm" name="id2603361"></a><pre class="programlisting">gboolean gimp_selection_bounds (gint32 image_ID,
|
||||
<a class="indexterm" name="id2626660"></a><pre class="programlisting">gboolean gimp_selection_bounds (gint32 image_ID,
|
||||
gboolean *non_empty,
|
||||
gint *x1,
|
||||
gint *y1,
|
||||
@ -173,9 +173,9 @@ pixel. This means the width of the selection can be calculated as
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2603540"></a><h3>
|
||||
<a name="id2624689"></a><h3>
|
||||
<a name="gimp-selection-all"></a>gimp_selection_all ()</h3>
|
||||
<a class="indexterm" name="id2603552"></a><pre class="programlisting">gboolean gimp_selection_all (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2624702"></a><pre class="programlisting">gboolean gimp_selection_all (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Select all of the image.
|
||||
</p>
|
||||
@ -205,9 +205,9 @@ image. Every pixel in the selection channel is set to 255.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2603617"></a><h3>
|
||||
<a name="id2624766"></a><h3>
|
||||
<a name="gimp-selection-none"></a>gimp_selection_none ()</h3>
|
||||
<a class="indexterm" name="id2603630"></a><pre class="programlisting">gboolean gimp_selection_none (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2624779"></a><pre class="programlisting">gboolean gimp_selection_none (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Deselect the entire image.
|
||||
</p>
|
||||
@ -237,9 +237,9 @@ selection channel is set to 0.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2603694"></a><h3>
|
||||
<a name="id2624843"></a><h3>
|
||||
<a name="gimp-selection-clear"></a>gimp_selection_clear ()</h3>
|
||||
<a class="indexterm" name="id2603707"></a><pre class="programlisting">gboolean gimp_selection_clear (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2624857"></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>
|
||||
@ -269,9 +269,9 @@ This procedure is deprecated! Use <a href="libgimp-gimpselection.html#gimp-selec
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2625565"></a><h3>
|
||||
<a name="id2631052"></a><h3>
|
||||
<a name="gimp-selection-is-empty"></a>gimp_selection_is_empty ()</h3>
|
||||
<a class="indexterm" name="id2625576"></a><pre class="programlisting">gboolean gimp_selection_is_empty (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2631062"></a><pre class="programlisting">gboolean gimp_selection_is_empty (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Determine whether the selection is empty.
|
||||
</p>
|
||||
@ -301,9 +301,9 @@ is not empty.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2625633"></a><h3>
|
||||
<a name="id2631120"></a><h3>
|
||||
<a name="gimp-selection-float"></a>gimp_selection_float ()</h3>
|
||||
<a class="indexterm" name="id2625643"></a><pre class="programlisting">gint32 gimp_selection_float (gint32 image_ID,
|
||||
<a class="indexterm" name="id2631130"></a><pre class="programlisting">gint32 gimp_selection_float (gint32 image_ID,
|
||||
gint32 drawable_ID,
|
||||
gint offx,
|
||||
gint offy);</pre>
|
||||
@ -358,9 +358,9 @@ positioning of the new floating selection.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2625764"></a><h3>
|
||||
<a name="id2631250"></a><h3>
|
||||
<a name="gimp-selection-load"></a>gimp_selection_load ()</h3>
|
||||
<a class="indexterm" name="id2625774"></a><pre class="programlisting">gboolean gimp_selection_load (gint32 channel_ID);</pre>
|
||||
<a class="indexterm" name="id2631261"></a><pre class="programlisting">gboolean gimp_selection_load (gint32 channel_ID);</pre>
|
||||
<p>
|
||||
Transfer the specified channel to the selection mask.
|
||||
</p>
|
||||
@ -389,9 +389,9 @@ This procedure loads the specified channel into the selection mask.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2625832"></a><h3>
|
||||
<a name="id2631319"></a><h3>
|
||||
<a name="gimp-selection-save"></a>gimp_selection_save ()</h3>
|
||||
<a class="indexterm" name="id2625842"></a><pre class="programlisting">gint32 gimp_selection_save (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2631329"></a><pre class="programlisting">gint32 gimp_selection_save (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Copy the selection mask to a new channel.
|
||||
</p>
|
||||
@ -422,9 +422,9 @@ image's list of channels.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2625902"></a><h3>
|
||||
<a name="id2631388"></a><h3>
|
||||
<a name="gimp-selection-value"></a>gimp_selection_value ()</h3>
|
||||
<a class="indexterm" name="id2625912"></a><pre class="programlisting">gint gimp_selection_value (gint32 image_ID,
|
||||
<a class="indexterm" name="id2631398"></a><pre class="programlisting">gint gimp_selection_value (gint32 image_ID,
|
||||
gint x,
|
||||
gint y);</pre>
|
||||
<p>
|
||||
@ -468,9 +468,9 @@ coordinates. If the coordinates lie out of bounds, 0 is returned.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2626010"></a><h3>
|
||||
<a name="id2631495"></a><h3>
|
||||
<a name="gimp-selection-grow"></a>gimp_selection_grow ()</h3>
|
||||
<a class="indexterm" name="id2626020"></a><pre class="programlisting">gboolean gimp_selection_grow (gint32 image_ID,
|
||||
<a class="indexterm" name="id2631506"></a><pre class="programlisting">gboolean gimp_selection_grow (gint32 image_ID,
|
||||
gint steps);</pre>
|
||||
<p>
|
||||
Grow the image's selection
|
||||
@ -507,9 +507,9 @@ boundary in all directions by the specified pixel amount.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2626098"></a><h3>
|
||||
<a name="id2631583"></a><h3>
|
||||
<a name="gimp-selection-shrink"></a>gimp_selection_shrink ()</h3>
|
||||
<a class="indexterm" name="id2626109"></a><pre class="programlisting">gboolean gimp_selection_shrink (gint32 image_ID,
|
||||
<a class="indexterm" name="id2631594"></a><pre class="programlisting">gboolean gimp_selection_shrink (gint32 image_ID,
|
||||
gint steps);</pre>
|
||||
<p>
|
||||
Shrink the image's selection
|
||||
@ -547,9 +547,9 @@ of pixels.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2626187"></a><h3>
|
||||
<a name="id2631672"></a><h3>
|
||||
<a name="gimp-selection-invert"></a>gimp_selection_invert ()</h3>
|
||||
<a class="indexterm" name="id2626197"></a><pre class="programlisting">gboolean gimp_selection_invert (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2631682"></a><pre class="programlisting">gboolean gimp_selection_invert (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Invert the selection mask.
|
||||
</p>
|
||||
@ -579,9 +579,9 @@ selection channel, its new value is calculated as (255 - old-value).</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2626256"></a><h3>
|
||||
<a name="id2631741"></a><h3>
|
||||
<a name="gimp-selection-feather"></a>gimp_selection_feather ()</h3>
|
||||
<a class="indexterm" name="id2626266"></a><pre class="programlisting">gboolean gimp_selection_feather (gint32 image_ID,
|
||||
<a class="indexterm" name="id2631752"></a><pre class="programlisting">gboolean gimp_selection_feather (gint32 image_ID,
|
||||
gdouble radius);</pre>
|
||||
<p>
|
||||
Feather the image's selection
|
||||
@ -618,9 +618,9 @@ using a gaussian blur.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2626343"></a><h3>
|
||||
<a name="id2631829"></a><h3>
|
||||
<a name="gimp-selection-sharpen"></a>gimp_selection_sharpen ()</h3>
|
||||
<a class="indexterm" name="id2626354"></a><pre class="programlisting">gboolean gimp_selection_sharpen (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2631839"></a><pre class="programlisting">gboolean gimp_selection_sharpen (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Sharpen the selection mask.
|
||||
</p>
|
||||
@ -652,9 +652,9 @@ might exist in the selection mask's boundary.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2626414"></a><h3>
|
||||
<a name="id2631900"></a><h3>
|
||||
<a name="gimp-selection-border"></a>gimp_selection_border ()</h3>
|
||||
<a class="indexterm" name="id2626425"></a><pre class="programlisting">gboolean gimp_selection_border (gint32 image_ID,
|
||||
<a class="indexterm" name="id2631910"></a><pre class="programlisting">gboolean gimp_selection_border (gint32 image_ID,
|
||||
gint radius);</pre>
|
||||
<p>
|
||||
Border the image's selection
|
||||
@ -692,9 +692,9 @@ selection at every point within the specified radius.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2626503"></a><h3>
|
||||
<a name="id2631989"></a><h3>
|
||||
<a name="gimp-selection-translate"></a>gimp_selection_translate ()</h3>
|
||||
<a class="indexterm" name="id2626514"></a><pre class="programlisting">gboolean gimp_selection_translate (gint32 image_ID,
|
||||
<a class="indexterm" name="id2631999"></a><pre class="programlisting">gboolean gimp_selection_translate (gint32 image_ID,
|
||||
gint offx,
|
||||
gint offy);</pre>
|
||||
<p>
|
||||
@ -741,9 +741,9 @@ because of this call are lost.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2626614"></a><h3>
|
||||
<a name="id2632099"></a><h3>
|
||||
<a name="gimp-selection-layer-alpha"></a>gimp_selection_layer_alpha ()</h3>
|
||||
<a class="indexterm" name="id2626625"></a><pre class="programlisting">gboolean gimp_selection_layer_alpha (gint32 layer_ID);</pre>
|
||||
<a class="indexterm" name="id2632110"></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>
|
||||
@ -777,9 +777,9 @@ selection mask value is set to 0.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2626689"></a><h3>
|
||||
<a name="id2632174"></a><h3>
|
||||
<a name="gimp-selection-combine"></a>gimp_selection_combine ()</h3>
|
||||
<a class="indexterm" name="id2626699"></a><pre class="programlisting">gboolean gimp_selection_combine (gint32 channel_ID,
|
||||
<a class="indexterm" name="id2632184"></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