Imported Upstream version 2.3.12

This commit is contained in:
Ari Pollak
2010-08-11 01:20:17 -04:00
parent 79785b4adf
commit a028e0b309
1105 changed files with 114178 additions and 65152 deletions

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimpdrawable</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
<link rel="up" href="libgimp-image.html" title="Manupulating Images and all their Properties">
<link rel="prev" href="libgimp-gimpdisplay.html" title="gimpdisplay">
@ -32,16 +32,16 @@
<th width="100%" align="center">GIMP Library Reference Manual</th>
<td><a accesskey="n" href="libgimp-gimpdrawabletransform.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="#id2558105" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2549184" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2625400" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2617951" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimp-gimpdrawable"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2558105"></a><span class="refentrytitle">gimpdrawable</span>
<a name="id2549184"></a><span class="refentrytitle">gimpdrawable</span>
</h2>
<p>gimpdrawable &#8212; Functions to manipulate drawables.</p>
</td>
@ -180,18 +180,18 @@ gboolean <a href="libgimp-gimpdrawable.html#gimp-drawable-attach-new-parasite
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2625400"></a><h2>Description</h2>
<a name="id2617951"></a><h2>Description</h2>
<p>
Functions to manipulate drawables.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2625414"></a><h2>Details</h2>
<a name="id2617964"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2625423"></a><h3>
<a name="id2617974"></a><h3>
<a name="GimpDrawable"></a>GimpDrawable</h3>
<a class="indexterm" name="id2625433"></a><pre class="programlisting">typedef struct {
<a class="indexterm" name="id2617984"></a><pre class="programlisting">typedef struct {
gint32 drawable_id; /* drawable ID */
guint width; /* width of drawble */
guint height; /* height of drawble */
@ -208,9 +208,9 @@ Functions to manipulate drawables.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2625454"></a><h3>
<a name="id2618005"></a><h3>
<a name="gimp-drawable-get"></a>gimp_drawable_get ()</h3>
<a class="indexterm" name="id2625465"></a><pre class="programlisting"><a href="libgimp-gimpdrawable.html#GimpDrawable">GimpDrawable</a>* gimp_drawable_get (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2618016"></a><pre class="programlisting"><a href="libgimp-gimpdrawable.html#GimpDrawable">GimpDrawable</a>* gimp_drawable_get (gint32 drawable_ID);</pre>
<p>
This function creates a <a href="libgimp-gimpdrawable.html#GimpDrawable"><span class="type">GimpDrawable</span></a> structure for the core
drawable identified by <em class="parameter"><code>drawable_ID</code></em>. The returned structure
@ -250,9 +250,9 @@ transferred back to the core.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2625560"></a><h3>
<a name="id2618111"></a><h3>
<a name="gimp-drawable-detach"></a>gimp_drawable_detach ()</h3>
<a class="indexterm" name="id2625571"></a><pre class="programlisting">void gimp_drawable_detach (<a href="libgimp-gimpdrawable.html#GimpDrawable">GimpDrawable</a> *drawable);</pre>
<a class="indexterm" name="id2618122"></a><pre class="programlisting">void gimp_drawable_detach (<a href="libgimp-gimpdrawable.html#GimpDrawable">GimpDrawable</a> *drawable);</pre>
<p>
This function is called when a plug-in is finished working
with a drawable. It forces all tile data held in the tile
@ -274,9 +274,9 @@ then frees all associated memory. You must not access the
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2625644"></a><h3>
<a name="id2618194"></a><h3>
<a name="gimp-drawable-flush"></a>gimp_drawable_flush ()</h3>
<a class="indexterm" name="id2625654"></a><pre class="programlisting">void gimp_drawable_flush (<a href="libgimp-gimpdrawable.html#GimpDrawable">GimpDrawable</a> *drawable);</pre>
<a class="indexterm" name="id2618205"></a><pre class="programlisting">void gimp_drawable_flush (<a href="libgimp-gimpdrawable.html#GimpDrawable">GimpDrawable</a> *drawable);</pre>
<p>
This function causes all tile data in the tile list of <em class="parameter"><code>drawable</code></em> to be
transferred to the core. It is usually called in situations where a
@ -299,9 +299,9 @@ to the core.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2625723"></a><h3>
<a name="id2618273"></a><h3>
<a name="gimp-drawable-delete"></a>gimp_drawable_delete ()</h3>
<a class="indexterm" name="id2625733"></a><pre class="programlisting">gboolean gimp_drawable_delete (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2618284"></a><pre class="programlisting">gboolean gimp_drawable_delete (gint32 drawable_ID);</pre>
<p>
Delete a drawable.
</p>
@ -334,9 +334,9 @@ which has not yet been added to an image.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2625794"></a><h3>
<a name="id2618345"></a><h3>
<a name="gimp-drawable-get-name"></a>gimp_drawable_get_name ()</h3>
<a class="indexterm" name="id2625805"></a><pre class="programlisting">gchar* gimp_drawable_get_name (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2618355"></a><pre class="programlisting">gchar* gimp_drawable_get_name (gint32 drawable_ID);</pre>
<p>
Get the name of the specified drawable.
</p>
@ -365,9 +365,9 @@ This procedure returns the specified drawable's name.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2625861"></a><h3>
<a name="id2618412"></a><h3>
<a name="gimp-drawable-set-name"></a>gimp_drawable_set_name ()</h3>
<a class="indexterm" name="id2625872"></a><pre class="programlisting">gboolean gimp_drawable_set_name (gint32 drawable_ID,
<a class="indexterm" name="id2618422"></a><pre class="programlisting">gboolean gimp_drawable_set_name (gint32 drawable_ID,
const gchar *name);</pre>
<p>
Set the name of the specified drawable.
@ -403,9 +403,9 @@ This procedure sets the specified drawable's name.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2625948"></a><h3>
<a name="id2618498"></a><h3>
<a name="gimp-drawable-get-visible"></a>gimp_drawable_get_visible ()</h3>
<a class="indexterm" name="id2625958"></a><pre class="programlisting">gboolean gimp_drawable_get_visible (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2618509"></a><pre class="programlisting">gboolean gimp_drawable_get_visible (gint32 drawable_ID);</pre>
<p>
Get the visibility of the specified drawable.
</p>
@ -434,9 +434,9 @@ This procedure returns the specified drawable's visibility.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626016"></a><h3>
<a name="id2618567"></a><h3>
<a name="gimp-drawable-set-visible"></a>gimp_drawable_set_visible ()</h3>
<a class="indexterm" name="id2626026"></a><pre class="programlisting">gboolean gimp_drawable_set_visible (gint32 drawable_ID,
<a class="indexterm" name="id2618578"></a><pre class="programlisting">gboolean gimp_drawable_set_visible (gint32 drawable_ID,
gboolean visible);</pre>
<p>
Set the visibility of the specified drawable.
@ -472,9 +472,9 @@ This procedure sets the specified drawable's visibility.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626104"></a><h3>
<a name="id2618655"></a><h3>
<a name="gimp-drawable-get-linked"></a>gimp_drawable_get_linked ()</h3>
<a class="indexterm" name="id2626114"></a><pre class="programlisting">gboolean gimp_drawable_get_linked (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2618666"></a><pre class="programlisting">gboolean gimp_drawable_get_linked (gint32 drawable_ID);</pre>
<p>
Get the linked state of the specified drawable.
</p>
@ -503,9 +503,9 @@ This procedure returns the specified drawable's linked state.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626173"></a><h3>
<a name="id2618725"></a><h3>
<a name="gimp-drawable-set-linked"></a>gimp_drawable_set_linked ()</h3>
<a class="indexterm" name="id2626184"></a><pre class="programlisting">gboolean gimp_drawable_set_linked (gint32 drawable_ID,
<a class="indexterm" name="id2618735"></a><pre class="programlisting">gboolean gimp_drawable_set_linked (gint32 drawable_ID,
gboolean linked);</pre>
<p>
Set the linked state of the specified drawable.
@ -541,9 +541,9 @@ This procedure sets the specified drawable's linked state.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626262"></a><h3>
<a name="id2618813"></a><h3>
<a name="gimp-drawable-get-tattoo"></a>gimp_drawable_get_tattoo ()</h3>
<a class="indexterm" name="id2626272"></a><pre class="programlisting">gint gimp_drawable_get_tattoo (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2618823"></a><pre class="programlisting">gint gimp_drawable_get_tattoo (gint32 drawable_ID);</pre>
<p>
Get the tattoo of the specified drawable.
</p>
@ -575,9 +575,9 @@ sessions.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626333"></a><h3>
<a name="id2618884"></a><h3>
<a name="gimp-drawable-set-tattoo"></a>gimp_drawable_set_tattoo ()</h3>
<a class="indexterm" name="id2626344"></a><pre class="programlisting">gboolean gimp_drawable_set_tattoo (gint32 drawable_ID,
<a class="indexterm" name="id2618895"></a><pre class="programlisting">gboolean gimp_drawable_set_tattoo (gint32 drawable_ID,
gint tattoo);</pre>
<p>
Set the tattoo of the specified drawable.
@ -616,9 +616,9 @@ sessions.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626424"></a><h3>
<a name="id2618975"></a><h3>
<a name="gimp-drawable-get-pixel"></a>gimp_drawable_get_pixel ()</h3>
<a class="indexterm" name="id2626434"></a><pre class="programlisting">guint8* gimp_drawable_get_pixel (gint32 drawable_ID,
<a class="indexterm" name="id2618985"></a><pre class="programlisting">guint8* gimp_drawable_get_pixel (gint32 drawable_ID,
gint x_coord,
gint y_coord,
gint *num_channels);</pre>
@ -670,9 +670,9 @@ bytes-per-pixel value for the specified drawable.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626552"></a><h3>
<a name="id2619103"></a><h3>
<a name="gimp-drawable-set-pixel"></a>gimp_drawable_set_pixel ()</h3>
<a class="indexterm" name="id2626563"></a><pre class="programlisting">gboolean gimp_drawable_set_pixel (gint32 drawable_ID,
<a class="indexterm" name="id2619114"></a><pre class="programlisting">gboolean gimp_drawable_set_pixel (gint32 drawable_ID,
gint x_coord,
gint y_coord,
gint num_channels,
@ -733,9 +733,9 @@ just created yourself.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626702"></a><h3>
<a name="id2619253"></a><h3>
<a name="gimp-drawable-get-tile"></a>gimp_drawable_get_tile ()</h3>
<a class="indexterm" name="id2626712"></a><pre class="programlisting"><a href="libgimp-gimptile.html#GimpTile">GimpTile</a>* gimp_drawable_get_tile (<a href="libgimp-gimpdrawable.html#GimpDrawable">GimpDrawable</a> *drawable,
<a class="indexterm" name="id2619263"></a><pre class="programlisting"><a href="libgimp-gimptile.html#GimpTile">GimpTile</a>* gimp_drawable_get_tile (<a href="libgimp-gimpdrawable.html#GimpDrawable">GimpDrawable</a> *drawable,
gboolean shadow,
gint row,
gint col);</pre>
@ -782,9 +782,9 @@ just created yourself.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626819"></a><h3>
<a name="id2619370"></a><h3>
<a name="gimp-drawable-get-tile2"></a>gimp_drawable_get_tile2 ()</h3>
<a class="indexterm" name="id2626829"></a><pre class="programlisting"><a href="libgimp-gimptile.html#GimpTile">GimpTile</a>* gimp_drawable_get_tile2 (<a href="libgimp-gimpdrawable.html#GimpDrawable">GimpDrawable</a> *drawable,
<a class="indexterm" name="id2619380"></a><pre class="programlisting"><a href="libgimp-gimptile.html#GimpTile">GimpTile</a>* gimp_drawable_get_tile2 (<a href="libgimp-gimpdrawable.html#GimpDrawable">GimpDrawable</a> *drawable,
gboolean shadow,
gint x,
gint y);</pre>
@ -831,9 +831,9 @@ just created yourself.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626936"></a><h3>
<a name="id2619487"></a><h3>
<a name="gimp-drawable-get-thumbnail-data"></a>gimp_drawable_get_thumbnail_data ()</h3>
<a class="indexterm" name="id2626949"></a><pre class="programlisting">guchar* gimp_drawable_get_thumbnail_data
<a class="indexterm" name="id2619498"></a><pre class="programlisting">guchar* gimp_drawable_get_thumbnail_data
(gint32 drawable_ID,
gint *width,
gint *height,
@ -881,9 +881,9 @@ just created yourself.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627057"></a><h3>
<a name="id2619607"></a><h3>
<a name="gimp-drawable-get-sub-thumbnail-data"></a>gimp_drawable_get_sub_thumbnail_data ()</h3>
<a class="indexterm" name="id2627070"></a><pre class="programlisting">guchar* gimp_drawable_get_sub_thumbnail_data
<a class="indexterm" name="id2619619"></a><pre class="programlisting">guchar* gimp_drawable_get_sub_thumbnail_data
(gint32 drawable_ID,
gint src_x,
gint src_y,
@ -959,9 +959,9 @@ just created yourself.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627254"></a><h3>
<a name="id2619804"></a><h3>
<a name="gimp-drawable-get-color-uchar"></a>gimp_drawable_get_color_uchar ()</h3>
<a class="indexterm" name="id2627267"></a><pre class="programlisting">void gimp_drawable_get_color_uchar (gint32 drawable_ID,
<a class="indexterm" name="id2619816"></a><pre class="programlisting">void gimp_drawable_get_color_uchar (gint32 drawable_ID,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color,
@ -997,16 +997,16 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627346"></a><h3>
<a name="id2619895"></a><h3>
<a name="gimp-drawable-merge-shadow"></a>gimp_drawable_merge_shadow ()</h3>
<a class="indexterm" name="id2627357"></a><pre class="programlisting">gboolean gimp_drawable_merge_shadow (gint32 drawable_ID,
<a class="indexterm" name="id2619906"></a><pre class="programlisting">gboolean gimp_drawable_merge_shadow (gint32 drawable_ID,
gboolean undo);</pre>
<p>
Merge the shadow buffer with the specified drawable.
</p>
<p>
This procedure combines the contents of the image's shadow buffer
(for temporary processing) with the specified drawable. The \"undo\"
(for temporary processing) with the specified drawable. The 'undo'
parameter specifies whether to add an undo step for the operation.
Requesting no undo is useful for such applications as 'auto-apply'.</p>
<p>
@ -1038,9 +1038,9 @@ Requesting no undo is useful for such applications as 'auto-apply'.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627438"></a><h3>
<a name="id2619988"></a><h3>
<a name="gimp-drawable-fill"></a>gimp_drawable_fill ()</h3>
<a class="indexterm" name="id2627448"></a><pre class="programlisting">gboolean gimp_drawable_fill (gint32 drawable_ID,
<a class="indexterm" name="id2619998"></a><pre class="programlisting">gboolean gimp_drawable_fill (gint32 drawable_ID,
<a href="libgimp-gimpenums.html#GimpFillType">GimpFillType</a> fill_type);</pre>
<p>
Fill the drawable with the specified fill mode.
@ -1085,9 +1085,9 @@ before adding it to the image. This operation cannot be undone.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627536"></a><h3>
<a name="id2620087"></a><h3>
<a name="gimp-drawable-update"></a>gimp_drawable_update ()</h3>
<a class="indexterm" name="id2627547"></a><pre class="programlisting">gboolean gimp_drawable_update (gint32 drawable_ID,
<a class="indexterm" name="id2620101"></a><pre class="programlisting">gboolean gimp_drawable_update (gint32 drawable_ID,
gint x,
gint y,
gint width,
@ -1147,9 +1147,9 @@ image origin. Therefore, the entire drawable can be updated using
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627702"></a><h3>
<a name="id2620255"></a><h3>
<a name="gimp-drawable-mask-bounds"></a>gimp_drawable_mask_bounds ()</h3>
<a class="indexterm" name="id2627716"></a><pre class="programlisting">gboolean gimp_drawable_mask_bounds (gint32 drawable_ID,
<a class="indexterm" name="id2620270"></a><pre class="programlisting">gboolean gimp_drawable_mask_bounds (gint32 drawable_ID,
gint *x1,
gint *y1,
gint *x2,
@ -1218,9 +1218,9 @@ return value which is more useful in most cases.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627892"></a><h3>
<a name="id2620445"></a><h3>
<a name="gimp-drawable-mask-intersect"></a>gimp_drawable_mask_intersect ()</h3>
<a class="indexterm" name="id2627908"></a><pre class="programlisting">gboolean gimp_drawable_mask_intersect (gint32 drawable_ID,
<a class="indexterm" name="id2620461"></a><pre class="programlisting">gboolean gimp_drawable_mask_intersect (gint32 drawable_ID,
gint *x,
gint *y,
gint *width,
@ -1285,9 +1285,9 @@ are the extents of the whole drawable.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628080"></a><h3>
<a name="id2620633"></a><h3>
<a name="gimp-drawable-get-image"></a>gimp_drawable_get_image ()</h3>
<a class="indexterm" name="id2628094"></a><pre class="programlisting">gint32 gimp_drawable_get_image (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2620647"></a><pre class="programlisting">gint32 gimp_drawable_get_image (gint32 drawable_ID);</pre>
<p>
Returns the drawable's image.
</p>
@ -1316,9 +1316,9 @@ This procedure returns the drawable's image.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628160"></a><h3>
<a name="id2620713"></a><h3>
<a name="gimp-drawable-set-image"></a>gimp_drawable_set_image ()</h3>
<a class="indexterm" name="id2628176"></a><pre class="programlisting">gboolean gimp_drawable_set_image (gint32 drawable_ID,
<a class="indexterm" name="id2620729"></a><pre class="programlisting">gboolean gimp_drawable_set_image (gint32 drawable_ID,
gint32 image_ID);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
@ -1355,9 +1355,9 @@ This procedure is deprecated!</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628271"></a><h3>
<a name="id2620824"></a><h3>
<a name="gimp-drawable-has-alpha"></a>gimp_drawable_has_alpha ()</h3>
<a class="indexterm" name="id2628284"></a><pre class="programlisting">gboolean gimp_drawable_has_alpha (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2620838"></a><pre class="programlisting">gboolean gimp_drawable_has_alpha (gint32 drawable_ID);</pre>
<p>
Returns TRUE if the drawable has an alpha channel.
</p>
@ -1388,9 +1388,9 @@ will be one of: { RGBA , GRAYA, INDEXEDA }.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628353"></a><h3>
<a name="id2620906"></a><h3>
<a name="gimp-drawable-type-with-alpha"></a>gimp_drawable_type_with_alpha ()</h3>
<a class="indexterm" name="id2628367"></a><pre class="programlisting"><a
<a class="indexterm" name="id2620920"></a><pre class="programlisting"><a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
>GimpImageType</a> gimp_drawable_type_with_alpha (gint32 drawable_ID);</pre>
<p>
@ -1424,9 +1424,9 @@ the drawable's type is simply returned.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628436"></a><h3>
<a name="id2620990"></a><h3>
<a name="gimp-drawable-type"></a>gimp_drawable_type ()</h3>
<a class="indexterm" name="id2628450"></a><pre class="programlisting"><a
<a class="indexterm" name="id2621003"></a><pre class="programlisting"><a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
>GimpImageType</a> gimp_drawable_type (gint32 drawable_ID);</pre>
<p>
@ -1457,9 +1457,9 @@ This procedure returns the drawable's type.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628515"></a><h3>
<a name="id2621069"></a><h3>
<a name="gimp-drawable-is-rgb"></a>gimp_drawable_is_rgb ()</h3>
<a class="indexterm" name="id2628529"></a><pre class="programlisting">gboolean gimp_drawable_is_rgb (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2621082"></a><pre class="programlisting">gboolean gimp_drawable_is_rgb (gint32 drawable_ID);</pre>
<p>
Returns whether the drawable is an RGB type.
</p>
@ -1489,9 +1489,9 @@ RGB, RGBA }.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628595"></a><h3>
<a name="id2621149"></a><h3>
<a name="gimp-drawable-is-gray"></a>gimp_drawable_is_gray ()</h3>
<a class="indexterm" name="id2628609"></a><pre class="programlisting">gboolean gimp_drawable_is_gray (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2621163"></a><pre class="programlisting">gboolean gimp_drawable_is_gray (gint32 drawable_ID);</pre>
<p>
Returns whether the drawable is a grayscale type.
</p>
@ -1521,9 +1521,9 @@ Gray, GrayA }.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628676"></a><h3>
<a name="id2621230"></a><h3>
<a name="gimp-drawable-is-indexed"></a>gimp_drawable_is_indexed ()</h3>
<a class="indexterm" name="id2628690"></a><pre class="programlisting">gboolean gimp_drawable_is_indexed (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2621243"></a><pre class="programlisting">gboolean gimp_drawable_is_indexed (gint32 drawable_ID);</pre>
<p>
Returns whether the drawable is an indexed type.
</p>
@ -1553,9 +1553,9 @@ Indexed, IndexedA }.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628757"></a><h3>
<a name="id2621310"></a><h3>
<a name="gimp-drawable-bpp"></a>gimp_drawable_bpp ()</h3>
<a class="indexterm" name="id2628771"></a><pre class="programlisting">gint gimp_drawable_bpp (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2621324"></a><pre class="programlisting">gint gimp_drawable_bpp (gint32 drawable_ID);</pre>
<p>
Returns the bytes per pixel.
</p>
@ -1585,9 +1585,9 @@ of channels) for the specified drawable.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628837"></a><h3>
<a name="id2621390"></a><h3>
<a name="gimp-drawable-width"></a>gimp_drawable_width ()</h3>
<a class="indexterm" name="id2628850"></a><pre class="programlisting">gint gimp_drawable_width (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2621404"></a><pre class="programlisting">gint gimp_drawable_width (gint32 drawable_ID);</pre>
<p>
Returns the width of the drawable.
</p>
@ -1616,9 +1616,9 @@ This procedure returns the specified drawable's width in pixels.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628916"></a><h3>
<a name="id2621470"></a><h3>
<a name="gimp-drawable-height"></a>gimp_drawable_height ()</h3>
<a class="indexterm" name="id2628929"></a><pre class="programlisting">gint gimp_drawable_height (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2621483"></a><pre class="programlisting">gint gimp_drawable_height (gint32 drawable_ID);</pre>
<p>
Returns the height of the drawable.
</p>
@ -1647,9 +1647,9 @@ This procedure returns the specified drawable's height in pixels.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628996"></a><h3>
<a name="id2621549"></a><h3>
<a name="gimp-drawable-offsets"></a>gimp_drawable_offsets ()</h3>
<a class="indexterm" name="id2629009"></a><pre class="programlisting">gboolean gimp_drawable_offsets (gint32 drawable_ID,
<a class="indexterm" name="id2621563"></a><pre class="programlisting">gboolean gimp_drawable_offsets (gint32 drawable_ID,
gint *offset_x,
gint *offset_y);</pre>
<p>
@ -1694,9 +1694,9 @@ The offsets of a channel will be returned as 0.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629120"></a><h3>
<a name="id2621674"></a><h3>
<a name="gimp-drawable-is-layer"></a>gimp_drawable_is_layer ()</h3>
<a class="indexterm" name="id2629134"></a><pre class="programlisting">gboolean gimp_drawable_is_layer (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2621687"></a><pre class="programlisting">gboolean gimp_drawable_is_layer (gint32 drawable_ID);</pre>
<p>
Returns whether the drawable is a layer.
</p>
@ -1725,9 +1725,9 @@ This procedure returns TRUE if the specified drawable is a layer.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629200"></a><h3>
<a name="id2621754"></a><h3>
<a name="gimp-drawable-is-layer-mask"></a>gimp_drawable_is_layer_mask ()</h3>
<a class="indexterm" name="id2629214"></a><pre class="programlisting">gboolean gimp_drawable_is_layer_mask (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2621768"></a><pre class="programlisting">gboolean gimp_drawable_is_layer_mask (gint32 drawable_ID);</pre>
<p>
Returns whether the drawable is a layer mask.
</p>
@ -1757,9 +1757,9 @@ mask.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629280"></a><h3>
<a name="id2621834"></a><h3>
<a name="gimp-drawable-is-channel"></a>gimp_drawable_is_channel ()</h3>
<a class="indexterm" name="id2629294"></a><pre class="programlisting">gboolean gimp_drawable_is_channel (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2621848"></a><pre class="programlisting">gboolean gimp_drawable_is_channel (gint32 drawable_ID);</pre>
<p>
Returns whether the drawable is a channel.
</p>
@ -1788,9 +1788,9 @@ This procedure returns TRUE if the specified drawable is a channel.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629361"></a><h3>
<a name="id2621914"></a><h3>
<a name="gimp-drawable-offset"></a>gimp_drawable_offset ()</h3>
<a class="indexterm" name="id2629375"></a><pre class="programlisting">gboolean gimp_drawable_offset (gint32 drawable_ID,
<a class="indexterm" name="id2621928"></a><pre class="programlisting">gboolean gimp_drawable_offset (gint32 drawable_ID,
gboolean wrap_around,
<a href="libgimp-gimpenums.html#GimpOffsetType">GimpOffsetType</a> fill_type,
gint offset_x,
@ -1805,7 +1805,7 @@ specified by 'offset_x' and 'offset_y'. If 'wrap_around' is set to
TRUE, then portions of the drawable which are offset out of bounds
are wrapped around. Alternatively, the undefined regions of the
drawable can be filled with transparency or the background color, as
specified by the 'fill_type' parameter.</p>
specified by the 'fill-type' parameter.</p>
<p>
</p>
@ -1853,9 +1853,9 @@ specified by the 'fill_type' parameter.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629534"></a><h3>
<a name="id2622087"></a><h3>
<a name="gimp-drawable-foreground-extract"></a>gimp_drawable_foreground_extract ()</h3>
<a class="indexterm" name="id2629550"></a><pre class="programlisting">gboolean gimp_drawable_foreground_extract
<a class="indexterm" name="id2622103"></a><pre class="programlisting">gboolean gimp_drawable_foreground_extract
(gint32 drawable_ID,
<a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpForegroundExtractMode"
@ -1905,9 +1905,9 @@ http://www.inf.fu-berlin.de/inst/pubs/tr-b-05-07.pdf</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629665"></a><h3>
<a name="id2622219"></a><h3>
<a name="gimp-drawable-parasite-find"></a>gimp_drawable_parasite_find ()</h3>
<a class="indexterm" name="id2629680"></a><pre class="programlisting"><a
<a class="indexterm" name="id2622233"></a><pre class="programlisting"><a
href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
>GimpParasite</a>* gimp_drawable_parasite_find (gint32 drawable_ID,
const gchar *name);</pre>
@ -1946,9 +1946,9 @@ a drawable.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629767"></a><h3>
<a name="id2622321"></a><h3>
<a name="gimp-drawable-parasite-list"></a>gimp_drawable_parasite_list ()</h3>
<a class="indexterm" name="id2629782"></a><pre class="programlisting">gboolean gimp_drawable_parasite_list (gint32 drawable_ID,
<a class="indexterm" name="id2622335"></a><pre class="programlisting">gboolean gimp_drawable_parasite_list (gint32 drawable_ID,
gint *num_parasites,
gchar ***parasites);</pre>
<p>
@ -1991,9 +1991,9 @@ Returns a list of all currently attached parasites.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629890"></a><h3>
<a name="id2622444"></a><h3>
<a name="gimp-drawable-parasite-attach"></a>gimp_drawable_parasite_attach ()</h3>
<a class="indexterm" name="id2629904"></a><pre class="programlisting">gboolean gimp_drawable_parasite_attach (gint32 drawable_ID,
<a class="indexterm" name="id2622458"></a><pre class="programlisting">gboolean gimp_drawable_parasite_attach (gint32 drawable_ID,
const <a
href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
>GimpParasite</a> *parasite);</pre>
@ -2032,9 +2032,9 @@ values.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629993"></a><h3>
<a name="id2622546"></a><h3>
<a name="gimp-drawable-parasite-detach"></a>gimp_drawable_parasite_detach ()</h3>
<a class="indexterm" name="id2630007"></a><pre class="programlisting">gboolean gimp_drawable_parasite_detach (gint32 drawable_ID,
<a class="indexterm" name="id2622560"></a><pre class="programlisting">gboolean gimp_drawable_parasite_detach (gint32 drawable_ID,
const gchar *name);</pre>
<p>
Removes a parasite from a drawable.
@ -2071,9 +2071,9 @@ values.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2630095"></a><h3>
<a name="id2622649"></a><h3>
<a name="gimp-drawable-attach-new-parasite"></a>gimp_drawable_attach_new_parasite ()</h3>
<a class="indexterm" name="id2630110"></a><pre class="programlisting">gboolean gimp_drawable_attach_new_parasite
<a class="indexterm" name="id2622664"></a><pre class="programlisting">gboolean gimp_drawable_attach_new_parasite
(gint32 drawable_ID,
const gchar *name,
gint flags,