Imported Upstream version 2.2.13

This commit is contained in:
Ari Pollak
2010-08-11 01:16:57 -04:00
parent c055124f1e
commit 70ad8213cf
243 changed files with 10052 additions and 8795 deletions

View File

@ -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.7 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="gimpdefinitions.html" title="Part&#160;I.&#160;GIMP Constants">
<link rel="part" href="libgimp.html" title="Part&#160;II.&#160;GIMP Library">
@ -19,18 +20,25 @@
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
</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="#id2566315" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2619523" 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>
<a name="id2566315"></a><span class="refentrytitle">gimpselection</span>
</h2>
<p>gimpselection &#8212; Functions for manipulating selections.</p>
</td>
<td valign="top" align="right"></td>
@ -79,18 +87,18 @@ gboolean <a href="libgimp-gimpselection.html#gimp-selection-combine">gimp_sel
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2594921"></a><h2>Description</h2>
<a name="id2619523"></a><h2>Description</h2>
<p>
Functions for manipulating selections.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2594932"></a><h2>Details</h2>
<a name="id2619539"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2594938"></a><h3>
<a name="id2619549"></a><h3>
<a name="gimp-selection-bounds"></a>gimp_selection_bounds ()</h3>
<a class="indexterm" name="id2594947"></a><pre class="programlisting">gboolean gimp_selection_bounds (gint32 image_ID,
<a class="indexterm" name="id2619561"></a><pre class="programlisting">gboolean gimp_selection_bounds (gint32 image_ID,
gboolean *non_empty,
gint *x1,
gint *y1,
@ -161,9 +169,9 @@ pixel. This means the width of the selection can be calculated as
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2595126"></a><h3>
<a name="id2617295"></a><h3>
<a name="gimp-selection-all"></a>gimp_selection_all ()</h3>
<a class="indexterm" name="id2595137"></a><pre class="programlisting">gboolean gimp_selection_all (gint32 image_ID);</pre>
<a class="indexterm" name="id2617307"></a><pre class="programlisting">gboolean gimp_selection_all (gint32 image_ID);</pre>
<p>
Select all of the image.
</p>
@ -193,9 +201,9 @@ image. Every pixel in the selection channel is set to 255.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2595201"></a><h3>
<a name="id2617372"></a><h3>
<a name="gimp-selection-none"></a>gimp_selection_none ()</h3>
<a class="indexterm" name="id2595212"></a><pre class="programlisting">gboolean gimp_selection_none (gint32 image_ID);</pre>
<a class="indexterm" name="id2617384"></a><pre class="programlisting">gboolean gimp_selection_none (gint32 image_ID);</pre>
<p>
Deselect the entire image.
</p>
@ -225,9 +233,9 @@ selection channel is set to 0.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2595276"></a><h3>
<a name="id2617448"></a><h3>
<a name="gimp-selection-clear"></a>gimp_selection_clear ()</h3>
<a class="indexterm" name="id2595285"></a><pre class="programlisting">gboolean gimp_selection_clear (gint32 image_ID);</pre>
<a class="indexterm" name="id2617462"></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 +265,9 @@ This procedure is deprecated! Use <a href="libgimp-gimpselection.html#gimp-selec
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615085"></a><h3>
<a name="id2624084"></a><h3>
<a name="gimp-selection-is-empty"></a>gimp_selection_is_empty ()</h3>
<a class="indexterm" name="id2615093"></a><pre class="programlisting">gboolean gimp_selection_is_empty (gint32 image_ID);</pre>
<a class="indexterm" name="id2624094"></a><pre class="programlisting">gboolean gimp_selection_is_empty (gint32 image_ID);</pre>
<p>
Determine whether the selection is empty.
</p>
@ -289,9 +297,9 @@ image is not empty.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615152"></a><h3>
<a name="id2624153"></a><h3>
<a name="gimp-selection-float"></a>gimp_selection_float ()</h3>
<a class="indexterm" name="id2615161"></a><pre class="programlisting">gint32 gimp_selection_float (gint32 image_ID,
<a class="indexterm" name="id2624163"></a><pre class="programlisting">gint32 gimp_selection_float (gint32 image_ID,
gint32 drawable_ID,
gint offx,
gint offy);</pre>
@ -346,9 +354,9 @@ positioning of the new floating selection.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615282"></a><h3>
<a name="id2624289"></a><h3>
<a name="gimp-selection-load"></a>gimp_selection_load ()</h3>
<a class="indexterm" name="id2615292"></a><pre class="programlisting">gboolean gimp_selection_load (gint32 channel_ID);</pre>
<a class="indexterm" name="id2624301"></a><pre class="programlisting">gboolean gimp_selection_load (gint32 channel_ID);</pre>
<p>
Transfer the specified channel to the selection mask.
</p>
@ -377,9 +385,9 @@ This procedure loads the specified channel into the selection mask.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615358"></a><h3>
<a name="id2624367"></a><h3>
<a name="gimp-selection-save"></a>gimp_selection_save ()</h3>
<a class="indexterm" name="id2615368"></a><pre class="programlisting">gint32 gimp_selection_save (gint32 image_ID);</pre>
<a class="indexterm" name="id2624379"></a><pre class="programlisting">gint32 gimp_selection_save (gint32 image_ID);</pre>
<p>
Copy the selection mask to a new channel.
</p>
@ -410,9 +418,9 @@ image's list of channels.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615435"></a><h3>
<a name="id2624446"></a><h3>
<a name="gimp-selection-value"></a>gimp_selection_value ()</h3>
<a class="indexterm" name="id2615444"></a><pre class="programlisting">gint gimp_selection_value (gint32 image_ID,
<a class="indexterm" name="id2624458"></a><pre class="programlisting">gint gimp_selection_value (gint32 image_ID,
gint x,
gint y);</pre>
<p>
@ -456,9 +464,9 @@ coordinates. If the coordinates lie out of bounds, 0 is returned.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615552"></a><h3>
<a name="id2624566"></a><h3>
<a name="gimp-selection-grow"></a>gimp_selection_grow ()</h3>
<a class="indexterm" name="id2615562"></a><pre class="programlisting">gboolean gimp_selection_grow (gint32 image_ID,
<a class="indexterm" name="id2624578"></a><pre class="programlisting">gboolean gimp_selection_grow (gint32 image_ID,
gint steps);</pre>
<p>
Grow the image's selection
@ -495,9 +503,9 @@ boundary in all directions by the specified pixel amount.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615648"></a><h3>
<a name="id2624664"></a><h3>
<a name="gimp-selection-shrink"></a>gimp_selection_shrink ()</h3>
<a class="indexterm" name="id2615657"></a><pre class="programlisting">gboolean gimp_selection_shrink (gint32 image_ID,
<a class="indexterm" name="id2624676"></a><pre class="programlisting">gboolean gimp_selection_shrink (gint32 image_ID,
gint radius);</pre>
<p>
Shrink the image's selection
@ -535,9 +543,9 @@ of pixels.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615744"></a><h3>
<a name="id2624762"></a><h3>
<a name="gimp-selection-invert"></a>gimp_selection_invert ()</h3>
<a class="indexterm" name="id2615753"></a><pre class="programlisting">gboolean gimp_selection_invert (gint32 image_ID);</pre>
<a class="indexterm" name="id2624773"></a><pre class="programlisting">gboolean gimp_selection_invert (gint32 image_ID);</pre>
<p>
Invert the selection mask.
</p>
@ -567,9 +575,9 @@ selection channel, its new value is calculated as (255 - old_value).</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615818"></a><h3>
<a name="id2624839"></a><h3>
<a name="gimp-selection-feather"></a>gimp_selection_feather ()</h3>
<a class="indexterm" name="id2615827"></a><pre class="programlisting">gboolean gimp_selection_feather (gint32 image_ID,
<a class="indexterm" name="id2624850"></a><pre class="programlisting">gboolean gimp_selection_feather (gint32 image_ID,
gdouble radius);</pre>
<p>
Feather the image's selection
@ -606,9 +614,9 @@ using a gaussian blur.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615913"></a><h3>
<a name="id2624936"></a><h3>
<a name="gimp-selection-sharpen"></a>gimp_selection_sharpen ()</h3>
<a class="indexterm" name="id2615922"></a><pre class="programlisting">gboolean gimp_selection_sharpen (gint32 image_ID);</pre>
<a class="indexterm" name="id2624947"></a><pre class="programlisting">gboolean gimp_selection_sharpen (gint32 image_ID);</pre>
<p>
Sharpen the selection mask.
</p>
@ -640,9 +648,9 @@ in the selection mask's boundary.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615989"></a><h3>
<a name="id2625015"></a><h3>
<a name="gimp-selection-border"></a>gimp_selection_border ()</h3>
<a class="indexterm" name="id2615998"></a><pre class="programlisting">gboolean gimp_selection_border (gint32 image_ID,
<a class="indexterm" name="id2625026"></a><pre class="programlisting">gboolean gimp_selection_border (gint32 image_ID,
gint radius);</pre>
<p>
Border the image's selection
@ -680,9 +688,9 @@ selection at every point within the specified radius.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2616085"></a><h3>
<a name="id2625113"></a><h3>
<a name="gimp-selection-translate"></a>gimp_selection_translate ()</h3>
<a class="indexterm" name="id2616094"></a><pre class="programlisting">gboolean gimp_selection_translate (gint32 image_ID,
<a class="indexterm" name="id2625124"></a><pre class="programlisting">gboolean gimp_selection_translate (gint32 image_ID,
gint offx,
gint offy);</pre>
<p>
@ -729,9 +737,9 @@ because of this call are lost.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2616205"></a><h3>
<a name="id2625235"></a><h3>
<a name="gimp-selection-layer-alpha"></a>gimp_selection_layer_alpha ()</h3>
<a class="indexterm" name="id2616215"></a><pre class="programlisting">gboolean gimp_selection_layer_alpha (gint32 layer_ID);</pre>
<a class="indexterm" name="id2625246"></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>
@ -765,9 +773,9 @@ selection mask value is set to 0.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2616286"></a><h3>
<a name="id2625317"></a><h3>
<a name="gimp-selection-combine"></a>gimp_selection_combine ()</h3>
<a class="indexterm" name="id2616295"></a><pre class="programlisting">gboolean gimp_selection_combine (gint32 channel_ID,
<a class="indexterm" name="id2625328"></a><pre class="programlisting">gboolean gimp_selection_combine (gint32 channel_ID,
<a href="libgimp-gimpenums.html#GimpChannelOps">GimpChannelOps</a> operation);</pre>
<p>
Combines the specified channel with the selection mask.
@ -804,9 +812,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>&lt;&lt;&#160;gimpregioniterator</b></a></td>
<td align="right"><a accesskey="n" href="libgimp-gimptexttool.html"><b>gimptexttool&#160;&gt;&gt;</b></a></td>
</tr></table>
</body>
</html>