Imported Upstream version 2.6.10
This commit is contained in:
@ -8,20 +8,8 @@
|
||||
<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.11 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.15 (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">
|
||||
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and their Properties">
|
||||
<link rel="chapter" href="libgimp-data.html" title="Data Objects">
|
||||
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
|
||||
<link rel="part" href="libgimpui.html" title="Part II. GIMP User Interface Library">
|
||||
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
|
||||
<link rel="index" href="libgimp-index.html" title="Index">
|
||||
<link rel="index" href="libgimp-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
|
||||
<link rel="index" href="libgimp-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
|
||||
<link rel="index" href="libgimp-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
|
||||
<link rel="index" href="libgimp-index-deprecated.html" title="Index of deprecated symbols">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
||||
@ -34,8 +22,8 @@
|
||||
</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>
|
||||
|
|
||||
<a href="#libgimp-gimpselection.description" class="shortcut">Description</a>
|
||||
</td></tr>
|
||||
</table>
|
||||
<div class="refentry" title="gimpselection">
|
||||
@ -49,148 +37,41 @@
|
||||
</tr></table></div>
|
||||
<div class="refsynopsisdiv" title="Synopsis">
|
||||
<a name="libgimp-gimpselection.synopsis"></a><h2>Synopsis</h2>
|
||||
<pre class="synopsis">
|
||||
<a
|
||||
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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> *non_empty,
|
||||
<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> *x1,
|
||||
<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> *y1,
|
||||
<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> *x2,
|
||||
<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> *y2);
|
||||
<a
|
||||
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="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="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="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="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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> offy);
|
||||
<a
|
||||
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="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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> x,
|
||||
<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> y);
|
||||
<a
|
||||
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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> steps);
|
||||
<a
|
||||
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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> steps);
|
||||
<a
|
||||
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="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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
|
||||
>gdouble</a> radius);
|
||||
<a
|
||||
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="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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> radius);
|
||||
<a
|
||||
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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> offx,
|
||||
<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> offy);
|
||||
<a
|
||||
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="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);
|
||||
<pre class="synopsis"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-bounds" title="gimp_selection_bounds ()">gimp_selection_bounds</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *non_empty</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x1</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y1</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x2</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y2</code></em>);
|
||||
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-all" title="gimp_selection_all ()">gimp_selection_all</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>);
|
||||
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-none" title="gimp_selection_none ()">gimp_selection_none</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>);
|
||||
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-clear" title="gimp_selection_clear ()">gimp_selection_clear</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>);
|
||||
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-is-empty" title="gimp_selection_is_empty ()">gimp_selection_is_empty</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>);
|
||||
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-float" title="gimp_selection_float ()">gimp_selection_float</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offx</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offy</code></em>);
|
||||
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-load" title="gimp_selection_load ()">gimp_selection_load</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> channel_ID</code></em>);
|
||||
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-save" title="gimp_selection_save ()">gimp_selection_save</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>);
|
||||
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-value" title="gimp_selection_value ()">gimp_selection_value</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
|
||||
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-grow" title="gimp_selection_grow ()">gimp_selection_grow</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> steps</code></em>);
|
||||
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-shrink" title="gimp_selection_shrink ()">gimp_selection_shrink</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> steps</code></em>);
|
||||
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-invert" title="gimp_selection_invert ()">gimp_selection_invert</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>);
|
||||
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-feather" title="gimp_selection_feather ()">gimp_selection_feather</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> radius</code></em>);
|
||||
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-sharpen" title="gimp_selection_sharpen ()">gimp_selection_sharpen</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>);
|
||||
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-border" title="gimp_selection_border ()">gimp_selection_border</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> radius</code></em>);
|
||||
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-translate" title="gimp_selection_translate ()">gimp_selection_translate</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offx</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offy</code></em>);
|
||||
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-layer-alpha" title="gimp_selection_layer_alpha ()">gimp_selection_layer_alpha</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> layer_ID</code></em>);
|
||||
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimp-gimpselection.html#gimp-selection-combine" title="gimp_selection_combine ()">gimp_selection_combine</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> channel_ID</code></em>,
|
||||
<em class="parameter"><code><a href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"><span class="type">GimpChannelOps</span></a> operation</code></em>);
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" title="Description">
|
||||
@ -203,26 +84,12 @@ Functions for manipulating selections.
|
||||
<a name="libgimp-gimpselection.details"></a><h2>Details</h2>
|
||||
<div class="refsect2" title="gimp_selection_bounds ()">
|
||||
<a name="gimp-selection-bounds"></a><h3>gimp_selection_bounds ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> *non_empty,
|
||||
<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> *x1,
|
||||
<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> *y1,
|
||||
<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> *x2,
|
||||
<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> *y2);</pre>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_selection_bounds (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *non_empty</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x1</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y1</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x2</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y2</code></em>);</pre>
|
||||
<p>
|
||||
Find the bounding box of the current selection.
|
||||
</p>
|
||||
@ -234,40 +101,39 @@ relative to the image. Please note that the pixel specified by the
|
||||
lower righthand coordinate of the bounding box is not part of the
|
||||
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>
|
||||
(x2 - x1), its height as (y2 - y1).
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
|
||||
<td> The image.
|
||||
<td>The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>non_empty</code></em> :</span></p></td>
|
||||
<td> TRUE if there is a selection.
|
||||
<td>TRUE if there is a selection.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>x1</code></em> :</span></p></td>
|
||||
<td> x coordinate of upper left corner of selection bounds.
|
||||
<td>x coordinate of upper left corner of selection bounds.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>y1</code></em> :</span></p></td>
|
||||
<td> y coordinate of upper left corner of selection bounds.
|
||||
<td>y coordinate of upper left corner of selection bounds.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>x2</code></em> :</span></p></td>
|
||||
<td> x coordinate of lower right corner of selection bounds.
|
||||
<td>x coordinate of lower right corner of selection bounds.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>y2</code></em> :</span></p></td>
|
||||
<td> y coordinate of lower right corner of selection bounds.
|
||||
<td>y coordinate of lower right corner of selection bounds.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -281,25 +147,20 @@ pixel. This means the width of the selection can be calculated as
|
||||
<hr>
|
||||
<div class="refsect2" title="gimp_selection_all ()">
|
||||
<a name="gimp-selection-all"></a><h3>gimp_selection_all ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
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>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_selection_all (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>);</pre>
|
||||
<p>
|
||||
Select all of the image.
|
||||
</p>
|
||||
<p>
|
||||
This procedure sets the selection mask to completely encompass the
|
||||
image. Every pixel in the selection channel is set to 255.</p>
|
||||
<p>
|
||||
image. Every pixel in the selection channel is set to 255.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
|
||||
<td> The image.
|
||||
<td>The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -313,25 +174,20 @@ image. Every pixel in the selection channel is set to 255.</p>
|
||||
<hr>
|
||||
<div class="refsect2" title="gimp_selection_none ()">
|
||||
<a name="gimp-selection-none"></a><h3>gimp_selection_none ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
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>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_selection_none (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>);</pre>
|
||||
<p>
|
||||
Deselect the entire image.
|
||||
</p>
|
||||
<p>
|
||||
This procedure deselects the entire image. Every pixel in the
|
||||
selection channel is set to 0.</p>
|
||||
<p>
|
||||
selection channel is set to 0.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
|
||||
<td> The image.
|
||||
<td>The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -345,25 +201,20 @@ selection channel is set to 0.</p>
|
||||
<hr>
|
||||
<div class="refsect2" title="gimp_selection_clear ()">
|
||||
<a name="gimp-selection-clear"></a><h3>gimp_selection_clear ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
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>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_selection_clear (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>);</pre>
|
||||
<div class="warning" title="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>
|
||||
</div>
|
||||
<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>
|
||||
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>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
|
||||
<td> The image.
|
||||
<td>The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -377,25 +228,20 @@ This procedure is deprecated! Use <a class="link" href="libgimp-gimpselection.ht
|
||||
<hr>
|
||||
<div class="refsect2" title="gimp_selection_is_empty ()">
|
||||
<a name="gimp-selection-is-empty"></a><h3>gimp_selection_is_empty ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
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>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_selection_is_empty (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>);</pre>
|
||||
<p>
|
||||
Determine whether the selection is empty.
|
||||
</p>
|
||||
<p>
|
||||
This procedure returns TRUE if the selection for the specified image
|
||||
is empty.</p>
|
||||
<p>
|
||||
is empty.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
|
||||
<td> The image.
|
||||
<td>The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -409,20 +255,10 @@ is empty.</p>
|
||||
<hr>
|
||||
<div class="refsect2" title="gimp_selection_float ()">
|
||||
<a name="gimp-selection-float"></a><h3>gimp_selection_float ()</h3>
|
||||
<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="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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> offy);</pre>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> gimp_selection_float (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> drawable_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offx</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offy</code></em>);</pre>
|
||||
<p>
|
||||
Float the selection from the specified drawable with initial offsets
|
||||
as specified.
|
||||
@ -432,30 +268,29 @@ This procedure determines the region of the specified drawable that
|
||||
lies beneath the current selection. The region is then cut from the
|
||||
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>
|
||||
positioning of the new floating selection.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
|
||||
<td> ignored
|
||||
<td>ignored
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></p></td>
|
||||
<td> The drawable from which to float selection.
|
||||
<td>The drawable from which to float selection.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>offx</code></em> :</span></p></td>
|
||||
<td> x offset for translation.
|
||||
<td>x offset for translation.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>offy</code></em> :</span></p></td>
|
||||
<td> y offset for translation.
|
||||
<td>y offset for translation.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -469,24 +304,19 @@ positioning of the new floating selection.</p>
|
||||
<hr>
|
||||
<div class="refsect2" title="gimp_selection_load ()">
|
||||
<a name="gimp-selection-load"></a><h3>gimp_selection_load ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
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>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_selection_load (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> channel_ID</code></em>);</pre>
|
||||
<p>
|
||||
Transfer the specified channel to the selection mask.
|
||||
</p>
|
||||
<p>
|
||||
This procedure loads the specified channel into the selection mask.</p>
|
||||
<p>
|
||||
This procedure loads the specified channel into the selection mask.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>channel_ID</code></em> :</span></p></td>
|
||||
<td> The channel.
|
||||
<td>The channel.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -500,26 +330,21 @@ This procedure loads the specified channel into the selection mask.</p>
|
||||
<hr>
|
||||
<div class="refsect2" title="gimp_selection_save ()">
|
||||
<a name="gimp-selection-save"></a><h3>gimp_selection_save ()</h3>
|
||||
<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>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="returnvalue">gint32</span></a> gimp_selection_save (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>);</pre>
|
||||
<p>
|
||||
Copy the selection mask to a new channel.
|
||||
</p>
|
||||
<p>
|
||||
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>
|
||||
image's list of channels.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
|
||||
<td> The image.
|
||||
<td>The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -533,41 +358,32 @@ image's list of channels.</p>
|
||||
<hr>
|
||||
<div class="refsect2" title="gimp_selection_value ()">
|
||||
<a name="gimp-selection-value"></a><h3>gimp_selection_value ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> x,
|
||||
<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> y);</pre>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gimp_selection_value (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
|
||||
<p>
|
||||
Find the value of the selection at the specified coordinates.
|
||||
</p>
|
||||
<p>
|
||||
This procedure returns the value of the selection at the specified
|
||||
coordinates. If the coordinates lie out of bounds, 0 is returned.</p>
|
||||
<p>
|
||||
coordinates. If the coordinates lie out of bounds, 0 is returned.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
|
||||
<td> The image.
|
||||
<td>The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
||||
<td> x coordinate of value.
|
||||
<td>x coordinate of value.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
||||
<td> y coordinate of value.
|
||||
<td>y coordinate of value.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -581,33 +397,26 @@ coordinates. If the coordinates lie out of bounds, 0 is returned.</p>
|
||||
<hr>
|
||||
<div class="refsect2" title="gimp_selection_grow ()">
|
||||
<a name="gimp-selection-grow"></a><h3>gimp_selection_grow ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> steps);</pre>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_selection_grow (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> steps</code></em>);</pre>
|
||||
<p>
|
||||
Grow the image's selection
|
||||
</p>
|
||||
<p>
|
||||
This procedure grows the selection. Growing involves expanding the
|
||||
boundary in all directions by the specified pixel amount.</p>
|
||||
<p>
|
||||
boundary in all directions by the specified pixel amount.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
|
||||
<td> The image.
|
||||
<td>The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>steps</code></em> :</span></p></td>
|
||||
<td> Steps of grow (in pixels).
|
||||
<td>Steps of grow (in pixels).
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -621,34 +430,27 @@ boundary in all directions by the specified pixel amount.</p>
|
||||
<hr>
|
||||
<div class="refsect2" title="gimp_selection_shrink ()">
|
||||
<a name="gimp-selection-shrink"></a><h3>gimp_selection_shrink ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> steps);</pre>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_selection_shrink (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> steps</code></em>);</pre>
|
||||
<p>
|
||||
Shrink the image's selection
|
||||
</p>
|
||||
<p>
|
||||
This procedure shrinks the selection. Shrinking invovles trimming
|
||||
the existing selection boundary on all sides by the specified number
|
||||
of pixels.</p>
|
||||
<p>
|
||||
of pixels.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
|
||||
<td> The image.
|
||||
<td>The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>steps</code></em> :</span></p></td>
|
||||
<td> Steps of shrink (in pixels).
|
||||
<td>Steps of shrink (in pixels).
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -662,25 +464,20 @@ of pixels.</p>
|
||||
<hr>
|
||||
<div class="refsect2" title="gimp_selection_invert ()">
|
||||
<a name="gimp-selection-invert"></a><h3>gimp_selection_invert ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
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>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_selection_invert (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>);</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>
|
||||
<p>
|
||||
selection channel, its new value is calculated as (255 - old-value).
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
|
||||
<td> The image.
|
||||
<td>The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -694,33 +491,26 @@ selection channel, its new value is calculated as (255 - old-value).</p>
|
||||
<hr>
|
||||
<div class="refsect2" title="gimp_selection_feather ()">
|
||||
<a name="gimp-selection-feather"></a><h3>gimp_selection_feather ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
|
||||
>gdouble</a> radius);</pre>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_selection_feather (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> radius</code></em>);</pre>
|
||||
<p>
|
||||
Feather the image's selection
|
||||
</p>
|
||||
<p>
|
||||
This procedure feathers the selection. Feathering is implemented
|
||||
using a gaussian blur.</p>
|
||||
<p>
|
||||
using a gaussian blur.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
|
||||
<td> The image.
|
||||
<td>The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>radius</code></em> :</span></p></td>
|
||||
<td> Radius of feather (in pixels).
|
||||
<td>Radius of feather (in pixels).
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -734,11 +524,7 @@ using a gaussian blur.</p>
|
||||
<hr>
|
||||
<div class="refsect2" title="gimp_selection_sharpen ()">
|
||||
<a name="gimp-selection-sharpen"></a><h3>gimp_selection_sharpen ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
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>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_selection_sharpen (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>);</pre>
|
||||
<p>
|
||||
Sharpen the selection mask.
|
||||
</p>
|
||||
@ -746,15 +532,14 @@ Sharpen the selection mask.
|
||||
This procedure sharpens the selection mask. For every pixel in the
|
||||
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>
|
||||
might exist in the selection mask's boundary.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
|
||||
<td> The image.
|
||||
<td>The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -768,34 +553,27 @@ might exist in the selection mask's boundary.</p>
|
||||
<hr>
|
||||
<div class="refsect2" title="gimp_selection_border ()">
|
||||
<a name="gimp-selection-border"></a><h3>gimp_selection_border ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> radius);</pre>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_selection_border (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> radius</code></em>);</pre>
|
||||
<p>
|
||||
Border the image's selection
|
||||
</p>
|
||||
<p>
|
||||
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>
|
||||
selection at every point within the specified radius.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
|
||||
<td> The image.
|
||||
<td>The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>radius</code></em> :</span></p></td>
|
||||
<td> Radius of border (in pixels).
|
||||
<td>Radius of border (in pixels).
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -809,17 +587,9 @@ selection at every point within the specified radius.</p>
|
||||
<hr>
|
||||
<div class="refsect2" title="gimp_selection_translate ()">
|
||||
<a name="gimp-selection-translate"></a><h3>gimp_selection_translate ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
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="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> offx,
|
||||
<a
|
||||
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
|
||||
>gint</a> offy);</pre>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_selection_translate (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> image_ID</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offx</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offy</code></em>);</pre>
|
||||
<p>
|
||||
Translate the selection by the specified offsets.
|
||||
</p>
|
||||
@ -828,25 +598,24 @@ This procedure actually translates the selection for the specified
|
||||
image by the specified offsets. Regions that are translated from
|
||||
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>
|
||||
because of this call are lost.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
|
||||
<td> The image.
|
||||
<td>The image.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>offx</code></em> :</span></p></td>
|
||||
<td> x offset for translation.
|
||||
<td>x offset for translation.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>offy</code></em> :</span></p></td>
|
||||
<td> y offset for translation.
|
||||
<td>y offset for translation.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -860,11 +629,7 @@ because of this call are lost.</p>
|
||||
<hr>
|
||||
<div class="refsect2" title="gimp_selection_layer_alpha ()">
|
||||
<a name="gimp-selection-layer-alpha"></a><h3>gimp_selection_layer_alpha ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
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>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_selection_layer_alpha (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> layer_ID</code></em>);</pre>
|
||||
<p>
|
||||
Transfer the specified layer's alpha channel to the selection mask.
|
||||
</p>
|
||||
@ -874,15 +639,14 @@ such that for any pixel in the image defined in the specified layer,
|
||||
that layer pixel's alpha value is transferred to the selection mask.
|
||||
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>
|
||||
alpha channel is considered opaque.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
|
||||
<td> Layer with alpha.
|
||||
<td>Layer with alpha.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -896,33 +660,26 @@ alpha channel is considered opaque.</p>
|
||||
<hr>
|
||||
<div class="refsect2" title="gimp_selection_combine ()">
|
||||
<a name="gimp-selection-combine"></a><h3>gimp_selection_combine ()</h3>
|
||||
<pre class="programlisting"><a
|
||||
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>
|
||||
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_selection_combine (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"><span class="type">gint32</span></a> channel_ID</code></em>,
|
||||
<em class="parameter"><code><a href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"><span class="type">GimpChannelOps</span></a> operation</code></em>);</pre>
|
||||
<p>
|
||||
Combines the specified channel with the selection mask.
|
||||
</p>
|
||||
<p>
|
||||
This procedure combines the specified channel into the selection
|
||||
mask.</p>
|
||||
<p>
|
||||
mask.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>channel_ID</code></em> :</span></p></td>
|
||||
<td> The channel.
|
||||
<td>The channel.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>operation</code></em> :</span></p></td>
|
||||
<td> The selection operation.
|
||||
<td>The selection operation.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -937,6 +694,6 @@ mask.</p>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>
|
||||
Generated by GTK-Doc V1.11</div>
|
||||
Generated by GTK-Doc V1.15</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
Reference in New Issue
Block a user