Imported Upstream version 2.3.9
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
@ -7,7 +8,7 @@
|
||||
<link rel="up" href="libgimp-image.html" title="Manupulating Images and all their Properties">
|
||||
<link rel="prev" href="libgimp-gimpregioniterator.html" title="gimpregioniterator">
|
||||
<link rel="next" href="libgimp-gimptexttool.html" title="gimptexttool">
|
||||
<meta name="generator" content="GTK-Doc V1.4 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
<link rel="part" href="gimpdefinitions.html" title="Part I. GIMP Constants">
|
||||
<link rel="part" href="libgimp.html" title="Part II. GIMP Library">
|
||||
@ -23,24 +24,29 @@
|
||||
<link rel="index" href="ix04.html" title="Index of deprecated symbols">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
||||
<tr valign="middle">
|
||||
<td><a accesskey="p" href="libgimp-gimpregioniterator.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="u" href="libgimp-image.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
||||
<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></table>
|
||||
</tr>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#desc" 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><span class="refentrytitle">gimpselection</span></h2>
|
||||
<h2><span class="refentrytitle"><a name="top_of_page"></a>gimpselection</span></h2>
|
||||
<p>gimpselection — Functions for manipulating selections.</p>
|
||||
</td>
|
||||
<td valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsynopsisdiv">
|
||||
<h2>Synopsis</h2>
|
||||
<a name="synopsis"></a><h2>Synopsis</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
|
||||
@ -85,18 +91,18 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2599540"></a><h2>Description</h2>
|
||||
<a name="desc"></a><h2>Description</h2>
|
||||
<p>
|
||||
Functions for manipulating selections.
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2599551"></a><h2>Details</h2>
|
||||
<a name="details"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2599557"></a><h3>
|
||||
<a name="id2603350"></a><h3>
|
||||
<a name="gimp-selection-bounds"></a>gimp_selection_bounds ()</h3>
|
||||
<a class="indexterm" name="id2599566"></a><pre class="programlisting">gboolean gimp_selection_bounds (gint32 image_ID,
|
||||
<a class="indexterm" name="id2603361"></a><pre class="programlisting">gboolean gimp_selection_bounds (gint32 image_ID,
|
||||
gboolean *non_empty,
|
||||
gint *x1,
|
||||
gint *y1,
|
||||
@ -167,9 +173,9 @@ pixel. This means the width of the selection can be calculated as
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2599745"></a><h3>
|
||||
<a name="id2603540"></a><h3>
|
||||
<a name="gimp-selection-all"></a>gimp_selection_all ()</h3>
|
||||
<a class="indexterm" name="id2599756"></a><pre class="programlisting">gboolean gimp_selection_all (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2603552"></a><pre class="programlisting">gboolean gimp_selection_all (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Select all of the image.
|
||||
</p>
|
||||
@ -199,9 +205,9 @@ image. Every pixel in the selection channel is set to 255.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2599820"></a><h3>
|
||||
<a name="id2603617"></a><h3>
|
||||
<a name="gimp-selection-none"></a>gimp_selection_none ()</h3>
|
||||
<a class="indexterm" name="id2599830"></a><pre class="programlisting">gboolean gimp_selection_none (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2603630"></a><pre class="programlisting">gboolean gimp_selection_none (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Deselect the entire image.
|
||||
</p>
|
||||
@ -231,9 +237,9 @@ selection channel is set to 0.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2599895"></a><h3>
|
||||
<a name="id2603694"></a><h3>
|
||||
<a name="gimp-selection-clear"></a>gimp_selection_clear ()</h3>
|
||||
<a class="indexterm" name="id2599904"></a><pre class="programlisting">gboolean gimp_selection_clear (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2603707"></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>
|
||||
@ -263,9 +269,9 @@ This procedure is deprecated! Use <a href="libgimp-gimpselection.html#gimp-selec
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2599983"></a><h3>
|
||||
<a name="id2625565"></a><h3>
|
||||
<a name="gimp-selection-is-empty"></a>gimp_selection_is_empty ()</h3>
|
||||
<a class="indexterm" name="id2599992"></a><pre class="programlisting">gboolean gimp_selection_is_empty (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2625576"></a><pre class="programlisting">gboolean gimp_selection_is_empty (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Determine whether the selection is empty.
|
||||
</p>
|
||||
@ -295,9 +301,9 @@ is not empty.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2621753"></a><h3>
|
||||
<a name="id2625633"></a><h3>
|
||||
<a name="gimp-selection-float"></a>gimp_selection_float ()</h3>
|
||||
<a class="indexterm" name="id2621761"></a><pre class="programlisting">gint32 gimp_selection_float (gint32 image_ID,
|
||||
<a class="indexterm" name="id2625643"></a><pre class="programlisting">gint32 gimp_selection_float (gint32 image_ID,
|
||||
gint32 drawable_ID,
|
||||
gint offx,
|
||||
gint offy);</pre>
|
||||
@ -352,9 +358,9 @@ positioning of the new floating selection.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2621882"></a><h3>
|
||||
<a name="id2625764"></a><h3>
|
||||
<a name="gimp-selection-load"></a>gimp_selection_load ()</h3>
|
||||
<a class="indexterm" name="id2621890"></a><pre class="programlisting">gboolean gimp_selection_load (gint32 channel_ID);</pre>
|
||||
<a class="indexterm" name="id2625774"></a><pre class="programlisting">gboolean gimp_selection_load (gint32 channel_ID);</pre>
|
||||
<p>
|
||||
Transfer the specified channel to the selection mask.
|
||||
</p>
|
||||
@ -383,9 +389,9 @@ This procedure loads the specified channel into the selection mask.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2621948"></a><h3>
|
||||
<a name="id2625832"></a><h3>
|
||||
<a name="gimp-selection-save"></a>gimp_selection_save ()</h3>
|
||||
<a class="indexterm" name="id2621957"></a><pre class="programlisting">gint32 gimp_selection_save (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2625842"></a><pre class="programlisting">gint32 gimp_selection_save (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Copy the selection mask to a new channel.
|
||||
</p>
|
||||
@ -416,9 +422,9 @@ image's list of channels.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2622015"></a><h3>
|
||||
<a name="id2625902"></a><h3>
|
||||
<a name="gimp-selection-value"></a>gimp_selection_value ()</h3>
|
||||
<a class="indexterm" name="id2622024"></a><pre class="programlisting">gint gimp_selection_value (gint32 image_ID,
|
||||
<a class="indexterm" name="id2625912"></a><pre class="programlisting">gint gimp_selection_value (gint32 image_ID,
|
||||
gint x,
|
||||
gint y);</pre>
|
||||
<p>
|
||||
@ -462,9 +468,9 @@ coordinates. If the coordinates lie out of bounds, 0 is returned.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2622121"></a><h3>
|
||||
<a name="id2626010"></a><h3>
|
||||
<a name="gimp-selection-grow"></a>gimp_selection_grow ()</h3>
|
||||
<a class="indexterm" name="id2622129"></a><pre class="programlisting">gboolean gimp_selection_grow (gint32 image_ID,
|
||||
<a class="indexterm" name="id2626020"></a><pre class="programlisting">gboolean gimp_selection_grow (gint32 image_ID,
|
||||
gint steps);</pre>
|
||||
<p>
|
||||
Grow the image's selection
|
||||
@ -501,9 +507,9 @@ boundary in all directions by the specified pixel amount.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2622206"></a><h3>
|
||||
<a name="id2626098"></a><h3>
|
||||
<a name="gimp-selection-shrink"></a>gimp_selection_shrink ()</h3>
|
||||
<a class="indexterm" name="id2622214"></a><pre class="programlisting">gboolean gimp_selection_shrink (gint32 image_ID,
|
||||
<a class="indexterm" name="id2626109"></a><pre class="programlisting">gboolean gimp_selection_shrink (gint32 image_ID,
|
||||
gint steps);</pre>
|
||||
<p>
|
||||
Shrink the image's selection
|
||||
@ -541,15 +547,15 @@ of pixels.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2622292"></a><h3>
|
||||
<a name="id2626187"></a><h3>
|
||||
<a name="gimp-selection-invert"></a>gimp_selection_invert ()</h3>
|
||||
<a class="indexterm" name="id2622300"></a><pre class="programlisting">gboolean gimp_selection_invert (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2626197"></a><pre class="programlisting">gboolean gimp_selection_invert (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Invert the selection mask.
|
||||
</p>
|
||||
<p>
|
||||
This procedure inverts the selection mask. For every pixel in the
|
||||
selection channel, its new value is calculated as (255 - old_value).</p>
|
||||
selection channel, its new value is calculated as (255 - old-value).</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -573,9 +579,9 @@ selection channel, its new value is calculated as (255 - old_value).</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2622358"></a><h3>
|
||||
<a name="id2626256"></a><h3>
|
||||
<a name="gimp-selection-feather"></a>gimp_selection_feather ()</h3>
|
||||
<a class="indexterm" name="id2622367"></a><pre class="programlisting">gboolean gimp_selection_feather (gint32 image_ID,
|
||||
<a class="indexterm" name="id2626266"></a><pre class="programlisting">gboolean gimp_selection_feather (gint32 image_ID,
|
||||
gdouble radius);</pre>
|
||||
<p>
|
||||
Feather the image's selection
|
||||
@ -612,17 +618,17 @@ using a gaussian blur.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2622444"></a><h3>
|
||||
<a name="id2626343"></a><h3>
|
||||
<a name="gimp-selection-sharpen"></a>gimp_selection_sharpen ()</h3>
|
||||
<a class="indexterm" name="id2622452"></a><pre class="programlisting">gboolean gimp_selection_sharpen (gint32 image_ID);</pre>
|
||||
<a class="indexterm" name="id2626354"></a><pre class="programlisting">gboolean gimp_selection_sharpen (gint32 image_ID);</pre>
|
||||
<p>
|
||||
Sharpen the selection mask.
|
||||
</p>
|
||||
<p>
|
||||
This procedure sharpens the selection mask. For every pixel in the
|
||||
selection channel, if the value is > 0, the new pixel is assigned
|
||||
a value of 255. This removes any \"anti-aliasing\" that might exist
|
||||
in the selection mask's boundary.</p>
|
||||
selection channel, if the value is > 127, the new pixel is
|
||||
assigned a value of 255. This removes any \"anti-aliasing\" that
|
||||
might exist in the selection mask's boundary.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -646,9 +652,9 @@ in the selection mask's boundary.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2622513"></a><h3>
|
||||
<a name="id2626414"></a><h3>
|
||||
<a name="gimp-selection-border"></a>gimp_selection_border ()</h3>
|
||||
<a class="indexterm" name="id2622521"></a><pre class="programlisting">gboolean gimp_selection_border (gint32 image_ID,
|
||||
<a class="indexterm" name="id2626425"></a><pre class="programlisting">gboolean gimp_selection_border (gint32 image_ID,
|
||||
gint radius);</pre>
|
||||
<p>
|
||||
Border the image's selection
|
||||
@ -686,9 +692,9 @@ selection at every point within the specified radius.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2622600"></a><h3>
|
||||
<a name="id2626503"></a><h3>
|
||||
<a name="gimp-selection-translate"></a>gimp_selection_translate ()</h3>
|
||||
<a class="indexterm" name="id2622608"></a><pre class="programlisting">gboolean gimp_selection_translate (gint32 image_ID,
|
||||
<a class="indexterm" name="id2626514"></a><pre class="programlisting">gboolean gimp_selection_translate (gint32 image_ID,
|
||||
gint offx,
|
||||
gint offy);</pre>
|
||||
<p>
|
||||
@ -735,9 +741,9 @@ because of this call are lost.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2622708"></a><h3>
|
||||
<a name="id2626614"></a><h3>
|
||||
<a name="gimp-selection-layer-alpha"></a>gimp_selection_layer_alpha ()</h3>
|
||||
<a class="indexterm" name="id2622717"></a><pre class="programlisting">gboolean gimp_selection_layer_alpha (gint32 layer_ID);</pre>
|
||||
<a class="indexterm" name="id2626625"></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>
|
||||
@ -771,9 +777,9 @@ selection mask value is set to 0.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2622781"></a><h3>
|
||||
<a name="id2626689"></a><h3>
|
||||
<a name="gimp-selection-combine"></a>gimp_selection_combine ()</h3>
|
||||
<a class="indexterm" name="id2622789"></a><pre class="programlisting">gboolean gimp_selection_combine (gint32 channel_ID,
|
||||
<a class="indexterm" name="id2626699"></a><pre class="programlisting">gboolean gimp_selection_combine (gint32 channel_ID,
|
||||
<a
|
||||
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
|
||||
>GimpChannelOps</a> operation);</pre>
|
||||
@ -812,9 +818,5 @@ mask.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle">
|
||||
<td align="left"><a accesskey="p" href="libgimp-gimpregioniterator.html"><b><< gimpregioniterator</b></a></td>
|
||||
<td align="right"><a accesskey="n" href="libgimp-gimptexttool.html"><b>gimptexttool >></b></a></td>
|
||||
</tr></table>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user