Imported Upstream version 2.6.6
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<link rel="up" href="libgimp-image.html" title="Manupulating Images and their Properties">
|
||||
<link rel="prev" href="libgimp-gimpregioniterator.html" title="gimpregioniterator">
|
||||
<link rel="next" href="libgimp-gimptextlayer.html" title="gimptextlayer">
|
||||
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
<link rel="part" href="libgimp.html" title="Part I. GIMP Library">
|
||||
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
|
||||
@ -32,9 +32,11 @@
|
||||
<th width="100%" align="center">GIMP Library Reference Manual</th>
|
||||
<td><a accesskey="n" href="libgimp-gimptextlayer.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="#libgimp-gimpselection.synopsis" class="shortcut">Top</a>
|
||||
|
|
||||
<a href="#libgimp-gimpselection.description" class="shortcut">Description</a></nobr></td></tr>
|
||||
<tr><td colspan="5" class="shortcuts">
|
||||
<a href="#libgimp-gimpselection.synopsis" class="shortcut">Top</a>
|
||||
|
|
||||
<a href="#libgimp-gimpselection.description" class="shortcut">Description</a>
|
||||
</td></tr>
|
||||
</table>
|
||||
<div class="refentry" lang="en">
|
||||
<a name="libgimp-gimpselection"></a><div class="titlepage"></div>
|
||||
@ -49,101 +51,143 @@
|
||||
<a name="libgimp-gimpselection.synopsis"></a><h2>Synopsis</h2>
|
||||
<pre class="synopsis">
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-bounds" title="gimp_selection_bounds ()">gimp_selection_bounds</a> (gint32 image_ID,
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-bounds" title="gimp_selection_bounds ()">gimp_selection_bounds</a> (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> *non_empty,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> *x1,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> *y1,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> *x2,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> *y2);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-all" title="gimp_selection_all ()">gimp_selection_all</a> (gint32 image_ID);
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-all" title="gimp_selection_all ()">gimp_selection_all</a> (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-none" title="gimp_selection_none ()">gimp_selection_none</a> (gint32 image_ID);
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-none" title="gimp_selection_none ()">gimp_selection_none</a> (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-clear" title="gimp_selection_clear ()">gimp_selection_clear</a> (gint32 image_ID);
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-clear" title="gimp_selection_clear ()">gimp_selection_clear</a> (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-is-empty" title="gimp_selection_is_empty ()">gimp_selection_is_empty</a> (gint32 image_ID);
|
||||
gint32 <a class="link" href="libgimp-gimpselection.html#gimp-selection-float" title="gimp_selection_float ()">gimp_selection_float</a> (gint32 image_ID,
|
||||
gint32 drawable_ID,
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-is-empty" title="gimp_selection_is_empty ()">gimp_selection_is_empty</a> (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID);
|
||||
<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-float" title="gimp_selection_float ()">gimp_selection_float</a> (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> drawable_ID,
|
||||
<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> offx,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> offy);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-load" title="gimp_selection_load ()">gimp_selection_load</a> (gint32 channel_ID);
|
||||
gint32 <a class="link" href="libgimp-gimpselection.html#gimp-selection-save" title="gimp_selection_save ()">gimp_selection_save</a> (gint32 image_ID);
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-load" title="gimp_selection_load ()">gimp_selection_load</a> (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> channel_ID);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-value" title="gimp_selection_value ()">gimp_selection_value</a> (gint32 image_ID,
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-save" title="gimp_selection_save ()">gimp_selection_save</a> (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID);
|
||||
<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-value" title="gimp_selection_value ()">gimp_selection_value</a> (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> x,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> y);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-grow" title="gimp_selection_grow ()">gimp_selection_grow</a> (gint32 image_ID,
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-grow" title="gimp_selection_grow ()">gimp_selection_grow</a> (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> steps);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-shrink" title="gimp_selection_shrink ()">gimp_selection_shrink</a> (gint32 image_ID,
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-shrink" title="gimp_selection_shrink ()">gimp_selection_shrink</a> (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> steps);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-invert" title="gimp_selection_invert ()">gimp_selection_invert</a> (gint32 image_ID);
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-invert" title="gimp_selection_invert ()">gimp_selection_invert</a> (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-feather" title="gimp_selection_feather ()">gimp_selection_feather</a> (gint32 image_ID,
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-feather" title="gimp_selection_feather ()">gimp_selection_feather</a> (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
|
||||
>gdouble</a> radius);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-sharpen" title="gimp_selection_sharpen ()">gimp_selection_sharpen</a> (gint32 image_ID);
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-sharpen" title="gimp_selection_sharpen ()">gimp_selection_sharpen</a> (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-border" title="gimp_selection_border ()">gimp_selection_border</a> (gint32 image_ID,
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-border" title="gimp_selection_border ()">gimp_selection_border</a> (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> radius);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-translate" title="gimp_selection_translate ()">gimp_selection_translate</a> (gint32 image_ID,
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-translate" title="gimp_selection_translate ()">gimp_selection_translate</a> (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> offx,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> offy);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-layer-alpha" title="gimp_selection_layer_alpha ()">gimp_selection_layer_alpha</a> (gint32 layer_ID);
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-layer-alpha" title="gimp_selection_layer_alpha ()">gimp_selection_layer_alpha</a> (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> layer_ID);
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-combine" title="gimp_selection_combine ()">gimp_selection_combine</a> (gint32 channel_ID,
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-combine" title="gimp_selection_combine ()">gimp_selection_combine</a> (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> channel_ID,
|
||||
<a
|
||||
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
|
||||
>GimpChannelOps</a> operation);
|
||||
@ -153,7 +197,6 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
|
||||
<a name="libgimp-gimpselection.description"></a><h2>Description</h2>
|
||||
<p>
|
||||
Functions for manipulating selections.
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
@ -161,22 +204,24 @@ Functions for manipulating selections.
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-selection-bounds"></a><h3>gimp_selection_bounds ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_bounds (gint32 image_ID,
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_bounds (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> *non_empty,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> *x1,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> *y1,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> *x2,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> *y2);</pre>
|
||||
<p>
|
||||
Find the bounding box of the current selection.
|
||||
@ -191,7 +236,6 @@ selection. The selection ends at the upper left corner of this
|
||||
pixel. This means the width of the selection can be calculated as
|
||||
(x2 - x1), its height as (y2 - y1).</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
@ -238,8 +282,10 @@ pixel. This means the width of the selection can be calculated as
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-selection-all"></a><h3>gimp_selection_all ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_all (gint32 image_ID);</pre>
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_all (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID);</pre>
|
||||
<p>
|
||||
Select all of the image.
|
||||
</p>
|
||||
@ -247,7 +293,6 @@ Select all of the image.
|
||||
This procedure sets the selection mask to completely encompass the
|
||||
image. Every pixel in the selection channel is set to 255.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
@ -269,8 +314,10 @@ image. Every pixel in the selection channel is set to 255.</p>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-selection-none"></a><h3>gimp_selection_none ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_none (gint32 image_ID);</pre>
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_none (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID);</pre>
|
||||
<p>
|
||||
Deselect the entire image.
|
||||
</p>
|
||||
@ -278,7 +325,6 @@ Deselect the entire image.
|
||||
This procedure deselects the entire image. Every pixel in the
|
||||
selection channel is set to 0.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
@ -300,8 +346,10 @@ selection channel is set to 0.</p>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-selection-clear"></a><h3>gimp_selection_clear ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_clear (gint32 image_ID);</pre>
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_clear (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> 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>
|
||||
@ -309,7 +357,6 @@ href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
<p>
|
||||
This procedure is deprecated! Use <a class="link" href="libgimp-gimpselection.html#gimp-selection-none" title="gimp_selection_none ()"><code class="function">gimp_selection_none()</code></a> instead.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
@ -331,8 +378,10 @@ This procedure is deprecated! Use <a class="link" href="libgimp-gimpselection.ht
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-selection-is-empty"></a><h3>gimp_selection_is_empty ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_is_empty (gint32 image_ID);</pre>
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_is_empty (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID);</pre>
|
||||
<p>
|
||||
Determine whether the selection is empty.
|
||||
</p>
|
||||
@ -340,7 +389,6 @@ Determine whether the selection is empty.
|
||||
This procedure returns TRUE if the selection for the specified image
|
||||
is empty.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
@ -361,13 +409,19 @@ is empty.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-selection-float"></a><h3>gimp_selection_float ()</h3>
|
||||
<pre class="programlisting">gint32 gimp_selection_float (gint32 image_ID,
|
||||
gint32 drawable_ID,
|
||||
<pre class="programlisting"><a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> gimp_selection_float (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> drawable_ID,
|
||||
<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> offx,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> offy);</pre>
|
||||
<p>
|
||||
Float the selection from the specified drawable with initial offsets
|
||||
@ -380,7 +434,6 @@ drawable and the resulting data is made into a new layer which is
|
||||
instantiated as a floating selection. The offsets allow initial
|
||||
positioning of the new floating selection.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
@ -417,15 +470,16 @@ positioning of the new floating selection.</p>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-selection-load"></a><h3>gimp_selection_load ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_load (gint32 channel_ID);</pre>
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_load (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> channel_ID);</pre>
|
||||
<p>
|
||||
Transfer the specified channel to the selection mask.
|
||||
</p>
|
||||
<p>
|
||||
This procedure loads the specified channel into the selection mask.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
@ -446,7 +500,11 @@ This procedure loads the specified channel into the selection mask.</p>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-selection-save"></a><h3>gimp_selection_save ()</h3>
|
||||
<pre class="programlisting">gint32 gimp_selection_save (gint32 image_ID);</pre>
|
||||
<pre class="programlisting"><a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> gimp_selection_save (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID);</pre>
|
||||
<p>
|
||||
Copy the selection mask to a new channel.
|
||||
</p>
|
||||
@ -455,7 +513,6 @@ This procedure copies the selection mask and stores the content in a
|
||||
new channel. The new channel is automatically inserted into the
|
||||
image's list of channels.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
@ -477,13 +534,15 @@ image's list of channels.</p>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-selection-value"></a><h3>gimp_selection_value ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> gimp_selection_value (gint32 image_ID,
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> gimp_selection_value (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> x,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> y);</pre>
|
||||
<p>
|
||||
Find the value of the selection at the specified coordinates.
|
||||
@ -492,7 +551,6 @@ Find the value of the selection at the specified coordinates.
|
||||
This procedure returns the value of the selection at the specified
|
||||
coordinates. If the coordinates lie out of bounds, 0 is returned.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
@ -524,10 +582,12 @@ coordinates. If the coordinates lie out of bounds, 0 is returned.</p>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-selection-grow"></a><h3>gimp_selection_grow ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_grow (gint32 image_ID,
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_grow (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> steps);</pre>
|
||||
<p>
|
||||
Grow the image's selection
|
||||
@ -536,7 +596,6 @@ Grow the image's selection
|
||||
This procedure grows the selection. Growing involves expanding the
|
||||
boundary in all directions by the specified pixel amount.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
@ -563,10 +622,12 @@ boundary in all directions by the specified pixel amount.</p>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-selection-shrink"></a><h3>gimp_selection_shrink ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_shrink (gint32 image_ID,
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_shrink (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> steps);</pre>
|
||||
<p>
|
||||
Shrink the image's selection
|
||||
@ -576,7 +637,6 @@ This procedure shrinks the selection. Shrinking invovles trimming
|
||||
the existing selection boundary on all sides by the specified number
|
||||
of pixels.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
@ -603,8 +663,10 @@ of pixels.</p>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-selection-invert"></a><h3>gimp_selection_invert ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_invert (gint32 image_ID);</pre>
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_invert (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID);</pre>
|
||||
<p>
|
||||
Invert the selection mask.
|
||||
</p>
|
||||
@ -612,7 +674,6 @@ Invert the selection mask.
|
||||
This procedure inverts the selection mask. For every pixel in the
|
||||
selection channel, its new value is calculated as (255 - old-value).</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
@ -634,10 +695,12 @@ selection channel, its new value is calculated as (255 - old-value).</p>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-selection-feather"></a><h3>gimp_selection_feather ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_feather (gint32 image_ID,
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_feather (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
|
||||
>gdouble</a> radius);</pre>
|
||||
<p>
|
||||
Feather the image's selection
|
||||
@ -646,7 +709,6 @@ Feather the image's selection
|
||||
This procedure feathers the selection. Feathering is implemented
|
||||
using a gaussian blur.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
@ -673,8 +735,10 @@ using a gaussian blur.</p>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-selection-sharpen"></a><h3>gimp_selection_sharpen ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_sharpen (gint32 image_ID);</pre>
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_sharpen (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID);</pre>
|
||||
<p>
|
||||
Sharpen the selection mask.
|
||||
</p>
|
||||
@ -684,7 +748,6 @@ 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>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
@ -706,10 +769,12 @@ might exist in the selection mask's boundary.</p>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-selection-border"></a><h3>gimp_selection_border ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_border (gint32 image_ID,
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_border (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> radius);</pre>
|
||||
<p>
|
||||
Border the image's selection
|
||||
@ -719,7 +784,6 @@ This procedure borders the selection. Bordering creates a new
|
||||
selection which is defined along the boundary of the previous
|
||||
selection at every point within the specified radius.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
@ -746,13 +810,15 @@ selection at every point within the specified radius.</p>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-selection-translate"></a><h3>gimp_selection_translate ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_translate (gint32 image_ID,
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_translate (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> image_ID,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> offx,
|
||||
<a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> offy);</pre>
|
||||
<p>
|
||||
Translate the selection by the specified offsets.
|
||||
@ -764,7 +830,6 @@ beyond the bounds of the image are set to empty. Valid regions of
|
||||
the selection which are translated beyond the bounds of the image
|
||||
because of this call are lost.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
@ -796,8 +861,10 @@ because of this call are lost.</p>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-selection-layer-alpha"></a><h3>gimp_selection_layer_alpha ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_layer_alpha (gint32 layer_ID);</pre>
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_layer_alpha (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> layer_ID);</pre>
|
||||
<p>
|
||||
Transfer the specified layer's alpha channel to the selection mask.
|
||||
</p>
|
||||
@ -809,7 +876,6 @@ If the layer is undefined at a particular image pixel, the
|
||||
associated selection mask value is set to 0. A layer without an
|
||||
alpha channel is considered opaque.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
@ -831,8 +897,10 @@ alpha channel is considered opaque.</p>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="gimp-selection-combine"></a><h3>gimp_selection_combine ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_combine (gint32 channel_ID,
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_selection_combine (<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
|
||||
>gint32</a> channel_ID,
|
||||
<a
|
||||
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
|
||||
>GimpChannelOps</a> operation);</pre>
|
||||
@ -843,7 +911,6 @@ Combines the specified channel with the selection mask.
|
||||
This procedure combines the specified channel into the selection
|
||||
mask.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
@ -870,6 +937,6 @@ mask.</p>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>
|
||||
Generated by GTK-Doc V1.10</div>
|
||||
Generated by GTK-Doc V1.11</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user