Imported Upstream version 2.6.7

This commit is contained in:
Ari Pollak
2010-08-11 01:27:19 -04:00
parent 50c86845f0
commit 6a2ceb16e3
619 changed files with 175069 additions and 95189 deletions

View File

@ -3,8 +3,8 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>gimplayer</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="GIMP Library Reference Manual">
<link rel="up" href="libgimp-image.html" title="Manupulating Images and their Properties">
<link rel="prev" href="libgimp-gimpimage.html" title="gimpimage">
<link rel="next" href="libgimp-gimppaths.html" title="gimppaths">
@ -38,7 +38,7 @@
<a href="#libgimp-gimplayer.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry" lang="en">
<div class="refentry" title="gimplayer">
<a name="libgimp-gimplayer"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
@ -47,7 +47,7 @@
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<div class="refsynopsisdiv" title="Synopsis">
<a name="libgimp-gimplayer.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a
@ -306,15 +306,15 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
>gint32</a> layer_ID);
</pre>
</div>
<div class="refsect1" lang="en">
<div class="refsect1" title="Description">
<a name="libgimp-gimplayer.description"></a><h2>Description</h2>
<p>
Operations on a single layer.
</p>
</div>
<div class="refsect1" lang="en">
<div class="refsect1" title="Details">
<a name="libgimp-gimplayer.details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_new ()">
<a name="gimp-layer-new"></a><h3>gimp_layer_new ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
@ -396,7 +396,7 @@ should be set with explicit procedure calls.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_new_from_drawable ()">
<a name="gimp-layer-new-from-drawable"></a><h3>gimp_layer_new_from_drawable ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
@ -439,7 +439,7 @@ modes, and offsets should be set with explicit procedure calls.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_new_from_visible ()">
<a name="gimp-layer-new-from-visible"></a><h3>gimp_layer_new_from_visible ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
@ -492,7 +492,7 @@ modes, and offsets should be set with explicit procedure calls.</p>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_copy ()">
<a name="gimp-layer-copy"></a><h3>gimp_layer_copy ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
@ -525,7 +525,7 @@ should not be subsequently added to any other image.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_scale ()">
<a name="gimp-layer-scale"></a><h3>gimp_layer_scale ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
@ -584,7 +584,7 @@ to an image. The default interpolation method is used for scaling.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_scale_full ()">
<a name="gimp-layer-scale-full"></a><h3>gimp_layer_scale_full ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
@ -654,7 +654,7 @@ method explicitly.</p>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_resize ()">
<a name="gimp-layer-resize"></a><h3>gimp_layer_resize ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
@ -720,7 +720,7 @@ operation only works if the layer has been added to an image.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_resize_to_image_size ()">
<a name="gimp-layer-resize-to-image-size"></a><h3>gimp_layer_resize_to_image_size ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
@ -752,7 +752,7 @@ are equal to the width and height of its image container.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_translate ()">
<a name="gimp-layer-translate"></a><h3>gimp_layer_translate ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
@ -804,7 +804,7 @@ the specified offsets.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_add_alpha ()">
<a name="gimp-layer-add-alpha"></a><h3>gimp_layer_add_alpha ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
@ -839,7 +839,7 @@ to GRAYA, and INDEXED to INDEXEDA.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_flatten ()">
<a name="gimp-layer-flatten"></a><h3>gimp_layer_flatten ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
@ -875,7 +875,7 @@ and INDEXEDA to INDEXED.</p>
<p class="since">Since GIMP 2.4</p>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_set_offsets ()">
<a name="gimp-layer-set-offsets"></a><h3>gimp_layer_set_offsets ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
@ -924,7 +924,7 @@ operation is valid only on layers which have been added to an image.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_create_mask ()">
<a name="gimp-layer-create-mask"></a><h3>gimp_layer_create_mask ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
@ -972,7 +972,7 @@ to <a class="link" href="libgimp-gimplayer.html#gimp-layer-add-mask" title="gimp
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_from_mask ()">
<a name="gimp-layer-from-mask"></a><h3>gimp_layer_from_mask ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
@ -1006,7 +1006,7 @@ exists.</p>
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_get_mask ()">
<a name="gimp-layer-get-mask"></a><h3>gimp_layer_get_mask ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
@ -1038,7 +1038,7 @@ exists.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_add_mask ()">
<a name="gimp-layer-add-mask"></a><h3>gimp_layer_add_mask ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
@ -1083,7 +1083,7 @@ with the procedure 'gimp-layer-create-mask'.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_remove_mask ()">
<a name="gimp-layer-remove-mask"></a><h3>gimp_layer_remove_mask ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
@ -1121,7 +1121,7 @@ the mask doesn't exist, an error is returned.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_get_lock_alpha ()">
<a name="gimp-layer-get-lock-alpha"></a><h3>gimp_layer_get_lock_alpha ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
@ -1153,7 +1153,7 @@ setting.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_set_lock_alpha ()">
<a name="gimp-layer-set-lock-alpha"></a><h3>gimp_layer_set_lock_alpha ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
@ -1193,14 +1193,14 @@ setting.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_get_preserve_trans ()">
<a name="gimp-layer-get-preserve-trans"></a><h3>gimp_layer_get_preserve_trans ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_layer_get_preserve_trans (<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
>gint32</a> layer_ID);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gimp_layer_get_preserve_trans</code> is deprecated and should not be used in newly-written code.</p>
</div>
@ -1225,7 +1225,7 @@ This procedure is deprecated! Use <a class="link" href="libgimp-gimplayer.html#g
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_set_preserve_trans ()">
<a name="gimp-layer-set-preserve-trans"></a><h3>gimp_layer_set_preserve_trans ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
@ -1235,7 +1235,7 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> preserve_trans);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gimp_layer_set_preserve_trans</code> is deprecated and should not be used in newly-written code.</p>
</div>
@ -1265,7 +1265,7 @@ This procedure is deprecated! Use <a class="link" href="libgimp-gimplayer.html#g
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_get_apply_mask ()">
<a name="gimp-layer-get-apply-mask"></a><h3>gimp_layer_get_apply_mask ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
@ -1298,7 +1298,7 @@ being composited with the layer's alpha channel.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_set_apply_mask ()">
<a name="gimp-layer-set-apply-mask"></a><h3>gimp_layer_set_apply_mask ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
@ -1340,7 +1340,7 @@ error.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_get_show_mask ()">
<a name="gimp-layer-get-show-mask"></a><h3>gimp_layer_get_show_mask ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
@ -1374,7 +1374,7 @@ function returns an error.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_set_show_mask ()">
<a name="gimp-layer-set-show-mask"></a><h3>gimp_layer_set_show_mask ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
@ -1416,7 +1416,7 @@ function will return an error.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_get_edit_mask ()">
<a name="gimp-layer-get-edit-mask"></a><h3>gimp_layer_get_edit_mask ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
@ -1449,7 +1449,7 @@ active, and not the layer.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_set_edit_mask ()">
<a name="gimp-layer-set-edit-mask"></a><h3>gimp_layer_set_edit_mask ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
@ -1491,7 +1491,7 @@ procedure will return an error.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_get_opacity ()">
<a name="gimp-layer-get-opacity"></a><h3>gimp_layer_get_opacity ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
@ -1522,7 +1522,7 @@ This procedure returns the specified layer's opacity.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_set_opacity ()">
<a name="gimp-layer-set-opacity"></a><h3>gimp_layer_set_opacity ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
@ -1561,7 +1561,7 @@ This procedure sets the specified layer's opacity.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_get_mode ()">
<a name="gimp-layer-get-mode"></a><h3>gimp_layer_get_mode ()</h3>
<pre class="programlisting"><a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> gimp_layer_get_mode (<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
@ -1590,7 +1590,7 @@ This procedure returns the specified layer's combination mode.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_set_mode ()">
<a name="gimp-layer-set-mode"></a><h3>gimp_layer_set_mode ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
@ -1627,7 +1627,7 @@ This procedure sets the specified layer's combination mode.</p>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_is_floating_sel ()">
<a name="gimp-layer-is-floating-sel"></a><h3>gimp_layer_is_floating_sel ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"