Imported Upstream version 2.3.18

This commit is contained in:
Ari Pollak
2010-08-11 01:21:39 -04:00
parent 2e1d89b96f
commit 50ca37e277
1279 changed files with 155433 additions and 58921 deletions

View File

@ -31,16 +31,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="#id2568389" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2573523" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2626114" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2626139" 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="id2568389"></a><span class="refentrytitle">gimpdrawable</span>
<a name="id2573523"></a><span class="refentrytitle">gimpdrawable</span>
</h2>
<p>gimpdrawable &#8212; Functions to manipulate drawables.</p>
</td>
@ -177,18 +177,18 @@ gboolean <a href="libgimp-gimpdrawable.html#gimp-drawable-attach-new-
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2626114"></a><h2>Description</h2>
<a name="id2626139"></a><h2>Description</h2>
<p>
Functions to manipulate drawables.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2626127"></a><h2>Details</h2>
<a name="id2626152"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2626137"></a><h3>
<a name="id2626162"></a><h3>
<a name="GimpDrawable"></a>GimpDrawable</h3>
<a class="indexterm" name="id2626147"></a><pre class="programlisting">typedef struct {
<a class="indexterm" name="id2626172"></a><pre class="programlisting">typedef struct {
gint32 drawable_id; /* drawable ID */
guint width; /* width of drawble */
guint height; /* height of drawble */
@ -205,9 +205,9 @@ Functions to manipulate drawables.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626168"></a><h3>
<a name="id2626193"></a><h3>
<a name="gimp-drawable-get"></a>gimp_drawable_get ()</h3>
<a class="indexterm" name="id2626178"></a><pre class="programlisting"><a href="libgimp-gimpdrawable.html#GimpDrawable">GimpDrawable</a>* gimp_drawable_get (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2626203"></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
@ -245,9 +245,9 @@ transferred back to the core.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626275"></a><h3>
<a name="id2626300"></a><h3>
<a name="gimp-drawable-detach"></a>gimp_drawable_detach ()</h3>
<a class="indexterm" name="id2626285"></a><pre class="programlisting">void gimp_drawable_detach (<a href="libgimp-gimpdrawable.html#GimpDrawable">GimpDrawable</a> *drawable);</pre>
<a class="indexterm" name="id2626310"></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
@ -268,9 +268,9 @@ then frees all associated memory. You must not access the
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626359"></a><h3>
<a name="id2626384"></a><h3>
<a name="gimp-drawable-flush"></a>gimp_drawable_flush ()</h3>
<a class="indexterm" name="id2626370"></a><pre class="programlisting">void gimp_drawable_flush (<a href="libgimp-gimpdrawable.html#GimpDrawable">GimpDrawable</a> *drawable);</pre>
<a class="indexterm" name="id2626395"></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
@ -292,9 +292,9 @@ to the core.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626439"></a><h3>
<a name="id2626464"></a><h3>
<a name="gimp-drawable-delete"></a>gimp_drawable_delete ()</h3>
<a class="indexterm" name="id2626450"></a><pre class="programlisting">gboolean gimp_drawable_delete (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2626475"></a><pre class="programlisting">gboolean gimp_drawable_delete (gint32 drawable_ID);</pre>
<p>
Delete a drawable.
</p>
@ -325,9 +325,9 @@ which has not yet been added to an image.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626512"></a><h3>
<a name="id2626537"></a><h3>
<a name="gimp-drawable-is-valid"></a>gimp_drawable_is_valid ()</h3>
<a class="indexterm" name="id2626524"></a><pre class="programlisting">gboolean gimp_drawable_is_valid (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2626549"></a><pre class="programlisting">gboolean gimp_drawable_is_valid (gint32 drawable_ID);</pre>
<p>
Returns TRUE if the drawable is valid.
</p>
@ -358,9 +358,9 @@ to an existing drawable.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626589"></a><h3>
<a name="id2626614"></a><h3>
<a name="gimp-drawable-get-name"></a>gimp_drawable_get_name ()</h3>
<a class="indexterm" name="id2626599"></a><pre class="programlisting">gchar* gimp_drawable_get_name (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2626624"></a><pre class="programlisting">gchar* gimp_drawable_get_name (gint32 drawable_ID);</pre>
<p>
Get the name of the specified drawable.
</p>
@ -387,9 +387,9 @@ This procedure returns the specified drawable's name.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626657"></a><h3>
<a name="id2626682"></a><h3>
<a name="gimp-drawable-set-name"></a>gimp_drawable_set_name ()</h3>
<a class="indexterm" name="id2626667"></a><pre class="programlisting">gboolean gimp_drawable_set_name (gint32 drawable_ID,
<a class="indexterm" name="id2626692"></a><pre class="programlisting">gboolean gimp_drawable_set_name (gint32 drawable_ID,
const gchar *name);</pre>
<p>
Set the name of the specified drawable.
@ -422,9 +422,9 @@ This procedure sets the specified drawable's name.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626744"></a><h3>
<a name="id2626770"></a><h3>
<a name="gimp-drawable-get-visible"></a>gimp_drawable_get_visible ()</h3>
<a class="indexterm" name="id2626755"></a><pre class="programlisting">gboolean gimp_drawable_get_visible (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2626780"></a><pre class="programlisting">gboolean gimp_drawable_get_visible (gint32 drawable_ID);</pre>
<p>
Get the visibility of the specified drawable.
</p>
@ -451,9 +451,9 @@ This procedure returns the specified drawable's visibility.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626814"></a><h3>
<a name="id2626839"></a><h3>
<a name="gimp-drawable-set-visible"></a>gimp_drawable_set_visible ()</h3>
<a class="indexterm" name="id2626824"></a><pre class="programlisting">gboolean gimp_drawable_set_visible (gint32 drawable_ID,
<a class="indexterm" name="id2626850"></a><pre class="programlisting">gboolean gimp_drawable_set_visible (gint32 drawable_ID,
gboolean visible);</pre>
<p>
Set the visibility of the specified drawable.
@ -486,9 +486,9 @@ This procedure sets the specified drawable's visibility.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626902"></a><h3>
<a name="id2626928"></a><h3>
<a name="gimp-drawable-get-linked"></a>gimp_drawable_get_linked ()</h3>
<a class="indexterm" name="id2626912"></a><pre class="programlisting">gboolean gimp_drawable_get_linked (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2626938"></a><pre class="programlisting">gboolean gimp_drawable_get_linked (gint32 drawable_ID);</pre>
<p>
Get the linked state of the specified drawable.
</p>
@ -515,9 +515,9 @@ This procedure returns the specified drawable's linked state.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2626971"></a><h3>
<a name="id2626998"></a><h3>
<a name="gimp-drawable-set-linked"></a>gimp_drawable_set_linked ()</h3>
<a class="indexterm" name="id2626981"></a><pre class="programlisting">gboolean gimp_drawable_set_linked (gint32 drawable_ID,
<a class="indexterm" name="id2627008"></a><pre class="programlisting">gboolean gimp_drawable_set_linked (gint32 drawable_ID,
gboolean linked);</pre>
<p>
Set the linked state of the specified drawable.
@ -550,9 +550,9 @@ This procedure sets the specified drawable's linked state.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627059"></a><h3>
<a name="id2627086"></a><h3>
<a name="gimp-drawable-get-tattoo"></a>gimp_drawable_get_tattoo ()</h3>
<a class="indexterm" name="id2627070"></a><pre class="programlisting">gint gimp_drawable_get_tattoo (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2627096"></a><pre class="programlisting">gint gimp_drawable_get_tattoo (gint32 drawable_ID);</pre>
<p>
Get the tattoo of the specified drawable.
</p>
@ -582,9 +582,9 @@ sessions.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627130"></a><h3>
<a name="id2627158"></a><h3>
<a name="gimp-drawable-set-tattoo"></a>gimp_drawable_set_tattoo ()</h3>
<a class="indexterm" name="id2627141"></a><pre class="programlisting">gboolean gimp_drawable_set_tattoo (gint32 drawable_ID,
<a class="indexterm" name="id2627168"></a><pre class="programlisting">gboolean gimp_drawable_set_tattoo (gint32 drawable_ID,
gint tattoo);</pre>
<p>
Set the tattoo of the specified drawable.
@ -620,9 +620,9 @@ sessions.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627220"></a><h3>
<a name="id2627248"></a><h3>
<a name="gimp-drawable-get-pixel"></a>gimp_drawable_get_pixel ()</h3>
<a class="indexterm" name="id2627230"></a><pre class="programlisting">guint8* gimp_drawable_get_pixel (gint32 drawable_ID,
<a class="indexterm" name="id2627259"></a><pre class="programlisting">guint8* gimp_drawable_get_pixel (gint32 drawable_ID,
gint x_coord,
gint y_coord,
gint *num_channels);</pre>
@ -669,9 +669,9 @@ bytes-per-pixel value for the specified drawable.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627349"></a><h3>
<a name="id2627378"></a><h3>
<a name="gimp-drawable-set-pixel"></a>gimp_drawable_set_pixel ()</h3>
<a class="indexterm" name="id2627359"></a><pre class="programlisting">gboolean gimp_drawable_set_pixel (gint32 drawable_ID,
<a class="indexterm" name="id2627388"></a><pre class="programlisting">gboolean gimp_drawable_set_pixel (gint32 drawable_ID,
gint x_coord,
gint y_coord,
gint num_channels,
@ -726,9 +726,9 @@ just created yourself.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627498"></a><h3>
<a name="id2627528"></a><h3>
<a name="gimp-drawable-get-tile"></a>gimp_drawable_get_tile ()</h3>
<a class="indexterm" name="id2627509"></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="id2627538"></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>
@ -770,9 +770,9 @@ just created yourself.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627616"></a><h3>
<a name="id2627646"></a><h3>
<a name="gimp-drawable-get-tile2"></a>gimp_drawable_get_tile2 ()</h3>
<a class="indexterm" name="id2627627"></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="id2627656"></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>
@ -814,9 +814,9 @@ just created yourself.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627734"></a><h3>
<a name="id2627764"></a><h3>
<a name="gimp-drawable-get-thumbnail-data"></a>gimp_drawable_get_thumbnail_data ()</h3>
<a class="indexterm" name="id2627745"></a><pre class="programlisting">guchar* gimp_drawable_get_thumbnail_data (gint32 drawable_ID,
<a class="indexterm" name="id2627776"></a><pre class="programlisting">guchar* gimp_drawable_get_thumbnail_data (gint32 drawable_ID,
gint *width,
gint *height,
gint *bpp);</pre>
@ -858,9 +858,9 @@ just created yourself.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2627852"></a><h3>
<a name="id2627884"></a><h3>
<a name="gimp-drawable-get-sub-thumbnail-data"></a>gimp_drawable_get_sub_thumbnail_data ()</h3>
<a class="indexterm" name="id2627864"></a><pre class="programlisting">guchar* gimp_drawable_get_sub_thumbnail_data
<a class="indexterm" name="id2627897"></a><pre class="programlisting">guchar* gimp_drawable_get_sub_thumbnail_data
(gint32 drawable_ID,
gint src_x,
gint src_y,
@ -927,9 +927,9 @@ just created yourself.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628050"></a><h3>
<a name="id2628083"></a><h3>
<a name="gimp-drawable-get-color-uchar"></a>gimp_drawable_get_color_uchar ()</h3>
<a class="indexterm" name="id2628063"></a><pre class="programlisting">void gimp_drawable_get_color_uchar (gint32 drawable_ID,
<a class="indexterm" name="id2628095"></a><pre class="programlisting">void gimp_drawable_get_color_uchar (gint32 drawable_ID,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color,
@ -962,9 +962,9 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628143"></a><h3>
<a name="id2628175"></a><h3>
<a name="gimp-drawable-merge-shadow"></a>gimp_drawable_merge_shadow ()</h3>
<a class="indexterm" name="id2628154"></a><pre class="programlisting">gboolean gimp_drawable_merge_shadow (gint32 drawable_ID,
<a class="indexterm" name="id2628188"></a><pre class="programlisting">gboolean gimp_drawable_merge_shadow (gint32 drawable_ID,
gboolean undo);</pre>
<p>
Merge the shadow buffer with the specified drawable.
@ -1000,9 +1000,9 @@ Requesting no undo is useful for such applications as 'auto-apply'.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628244"></a><h3>
<a name="id2628279"></a><h3>
<a name="gimp-drawable-fill"></a>gimp_drawable_fill ()</h3>
<a class="indexterm" name="id2628258"></a><pre class="programlisting">gboolean gimp_drawable_fill (gint32 drawable_ID,
<a class="indexterm" name="id2628293"></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.
@ -1044,9 +1044,9 @@ before adding it to the image. This operation cannot be undone.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628355"></a><h3>
<a name="id2628390"></a><h3>
<a name="gimp-drawable-update"></a>gimp_drawable_update ()</h3>
<a class="indexterm" name="id2628368"></a><pre class="programlisting">gboolean gimp_drawable_update (gint32 drawable_ID,
<a class="indexterm" name="id2628404"></a><pre class="programlisting">gboolean gimp_drawable_update (gint32 drawable_ID,
gint x,
gint y,
gint width,
@ -1100,9 +1100,9 @@ image origin. Therefore, the entire drawable can be updated using
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628524"></a><h3>
<a name="id2628560"></a><h3>
<a name="gimp-drawable-mask-bounds"></a>gimp_drawable_mask_bounds ()</h3>
<a class="indexterm" name="id2628539"></a><pre class="programlisting">gboolean gimp_drawable_mask_bounds (gint32 drawable_ID,
<a class="indexterm" name="id2628574"></a><pre class="programlisting">gboolean gimp_drawable_mask_bounds (gint32 drawable_ID,
gint *x1,
gint *y1,
gint *x2,
@ -1165,9 +1165,9 @@ return value which is more useful in most cases.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628715"></a><h3>
<a name="id2628751"></a><h3>
<a name="gimp-drawable-mask-intersect"></a>gimp_drawable_mask_intersect ()</h3>
<a class="indexterm" name="id2628732"></a><pre class="programlisting">gboolean gimp_drawable_mask_intersect (gint32 drawable_ID,
<a class="indexterm" name="id2628767"></a><pre class="programlisting">gboolean gimp_drawable_mask_intersect (gint32 drawable_ID,
gint *x,
gint *y,
gint *width,
@ -1226,9 +1226,9 @@ are the extents of the whole drawable.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628907"></a><h3>
<a name="id2628942"></a><h3>
<a name="gimp-drawable-get-image"></a>gimp_drawable_get_image ()</h3>
<a class="indexterm" name="id2628921"></a><pre class="programlisting">gint32 gimp_drawable_get_image (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2628956"></a><pre class="programlisting">gint32 gimp_drawable_get_image (gint32 drawable_ID);</pre>
<p>
Returns the drawable's image.
</p>
@ -1255,9 +1255,9 @@ This procedure returns the drawable's image.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2628987"></a><h3>
<a name="id2629022"></a><h3>
<a name="gimp-drawable-set-image"></a>gimp_drawable_set_image ()</h3>
<a class="indexterm" name="id2629003"></a><pre class="programlisting">gboolean gimp_drawable_set_image (gint32 drawable_ID,
<a class="indexterm" name="id2629038"></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>
@ -1291,9 +1291,9 @@ This procedure is deprecated!</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629098"></a><h3>
<a name="id2629134"></a><h3>
<a name="gimp-drawable-has-alpha"></a>gimp_drawable_has_alpha ()</h3>
<a class="indexterm" name="id2629112"></a><pre class="programlisting">gboolean gimp_drawable_has_alpha (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2629147"></a><pre class="programlisting">gboolean gimp_drawable_has_alpha (gint32 drawable_ID);</pre>
<p>
Returns TRUE if the drawable has an alpha channel.
</p>
@ -1322,9 +1322,9 @@ will be one of: { RGBA , GRAYA, INDEXEDA }.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629180"></a><h3>
<a name="id2629216"></a><h3>
<a name="gimp-drawable-type-with-alpha"></a>gimp_drawable_type_with_alpha ()</h3>
<a class="indexterm" name="id2629195"></a><pre class="programlisting"><a
<a class="indexterm" name="id2629230"></a><pre class="programlisting"><a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
>GimpImageType</a> gimp_drawable_type_with_alpha (gint32 drawable_ID);</pre>
<p>
@ -1356,9 +1356,9 @@ the drawable's type is simply returned.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629264"></a><h3>
<a name="id2629300"></a><h3>
<a name="gimp-drawable-type"></a>gimp_drawable_type ()</h3>
<a class="indexterm" name="id2629278"></a><pre class="programlisting"><a
<a class="indexterm" name="id2629313"></a><pre class="programlisting"><a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
>GimpImageType</a> gimp_drawable_type (gint32 drawable_ID);</pre>
<p>
@ -1387,9 +1387,9 @@ This procedure returns the drawable's type.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629343"></a><h3>
<a name="id2629379"></a><h3>
<a name="gimp-drawable-is-rgb"></a>gimp_drawable_is_rgb ()</h3>
<a class="indexterm" name="id2629357"></a><pre class="programlisting">gboolean gimp_drawable_is_rgb (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2629392"></a><pre class="programlisting">gboolean gimp_drawable_is_rgb (gint32 drawable_ID);</pre>
<p>
Returns whether the drawable is an RGB type.
</p>
@ -1417,9 +1417,9 @@ RGB, RGBA }.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629424"></a><h3>
<a name="id2629459"></a><h3>
<a name="gimp-drawable-is-gray"></a>gimp_drawable_is_gray ()</h3>
<a class="indexterm" name="id2629438"></a><pre class="programlisting">gboolean gimp_drawable_is_gray (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2629473"></a><pre class="programlisting">gboolean gimp_drawable_is_gray (gint32 drawable_ID);</pre>
<p>
Returns whether the drawable is a grayscale type.
</p>
@ -1447,9 +1447,9 @@ Gray, GrayA }.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629504"></a><h3>
<a name="id2629540"></a><h3>
<a name="gimp-drawable-is-indexed"></a>gimp_drawable_is_indexed ()</h3>
<a class="indexterm" name="id2629518"></a><pre class="programlisting">gboolean gimp_drawable_is_indexed (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2629554"></a><pre class="programlisting">gboolean gimp_drawable_is_indexed (gint32 drawable_ID);</pre>
<p>
Returns whether the drawable is an indexed type.
</p>
@ -1477,9 +1477,9 @@ Indexed, IndexedA }.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629585"></a><h3>
<a name="id2629621"></a><h3>
<a name="gimp-drawable-bpp"></a>gimp_drawable_bpp ()</h3>
<a class="indexterm" name="id2629599"></a><pre class="programlisting">gint gimp_drawable_bpp (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2629635"></a><pre class="programlisting">gint gimp_drawable_bpp (gint32 drawable_ID);</pre>
<p>
Returns the bytes per pixel.
</p>
@ -1507,9 +1507,9 @@ of channels) for the specified drawable.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629666"></a><h3>
<a name="id2629701"></a><h3>
<a name="gimp-drawable-width"></a>gimp_drawable_width ()</h3>
<a class="indexterm" name="id2629679"></a><pre class="programlisting">gint gimp_drawable_width (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2629715"></a><pre class="programlisting">gint gimp_drawable_width (gint32 drawable_ID);</pre>
<p>
Returns the width of the drawable.
</p>
@ -1536,9 +1536,9 @@ This procedure returns the specified drawable's width in pixels.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629745"></a><h3>
<a name="id2629780"></a><h3>
<a name="gimp-drawable-height"></a>gimp_drawable_height ()</h3>
<a class="indexterm" name="id2629758"></a><pre class="programlisting">gint gimp_drawable_height (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2629794"></a><pre class="programlisting">gint gimp_drawable_height (gint32 drawable_ID);</pre>
<p>
Returns the height of the drawable.
</p>
@ -1565,9 +1565,9 @@ This procedure returns the specified drawable's height in pixels.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629825"></a><h3>
<a name="id2629860"></a><h3>
<a name="gimp-drawable-offsets"></a>gimp_drawable_offsets ()</h3>
<a class="indexterm" name="id2629839"></a><pre class="programlisting">gboolean gimp_drawable_offsets (gint32 drawable_ID,
<a class="indexterm" name="id2629874"></a><pre class="programlisting">gboolean gimp_drawable_offsets (gint32 drawable_ID,
gint *offset_x,
gint *offset_y);</pre>
<p>
@ -1608,9 +1608,9 @@ The offsets of a channel will be returned as 0.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2629950"></a><h3>
<a name="id2629985"></a><h3>
<a name="gimp-drawable-is-layer"></a>gimp_drawable_is_layer ()</h3>
<a class="indexterm" name="id2629964"></a><pre class="programlisting">gboolean gimp_drawable_is_layer (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2629999"></a><pre class="programlisting">gboolean gimp_drawable_is_layer (gint32 drawable_ID);</pre>
<p>
Returns whether the drawable is a layer.
</p>
@ -1637,9 +1637,9 @@ This procedure returns TRUE if the specified drawable is a layer.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2630030"></a><h3>
<a name="id2630066"></a><h3>
<a name="gimp-drawable-is-layer-mask"></a>gimp_drawable_is_layer_mask ()</h3>
<a class="indexterm" name="id2630044"></a><pre class="programlisting">gboolean gimp_drawable_is_layer_mask (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2630080"></a><pre class="programlisting">gboolean gimp_drawable_is_layer_mask (gint32 drawable_ID);</pre>
<p>
Returns whether the drawable is a layer mask.
</p>
@ -1667,9 +1667,9 @@ mask.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2630111"></a><h3>
<a name="id2630146"></a><h3>
<a name="gimp-drawable-is-channel"></a>gimp_drawable_is_channel ()</h3>
<a class="indexterm" name="id2630124"></a><pre class="programlisting">gboolean gimp_drawable_is_channel (gint32 drawable_ID);</pre>
<a class="indexterm" name="id2630160"></a><pre class="programlisting">gboolean gimp_drawable_is_channel (gint32 drawable_ID);</pre>
<p>
Returns whether the drawable is a channel.
</p>
@ -1696,9 +1696,9 @@ This procedure returns TRUE if the specified drawable is a channel.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2630191"></a><h3>
<a name="id2630227"></a><h3>
<a name="gimp-drawable-offset"></a>gimp_drawable_offset ()</h3>
<a class="indexterm" name="id2630205"></a><pre class="programlisting">gboolean gimp_drawable_offset (gint32 drawable_ID,
<a class="indexterm" name="id2630240"></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,
@ -1755,9 +1755,9 @@ specified by the 'fill-type' parameter.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2630365"></a><h3>
<a name="id2630400"></a><h3>
<a name="gimp-drawable-foreground-extract"></a>gimp_drawable_foreground_extract ()</h3>
<a class="indexterm" name="id2630381"></a><pre class="programlisting">gboolean gimp_drawable_foreground_extract (gint32 drawable_ID,
<a class="indexterm" name="id2630417"></a><pre class="programlisting">gboolean gimp_drawable_foreground_extract (gint32 drawable_ID,
<a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpForegroundExtractMode"
>GimpForegroundExtractMode</a> mode,
@ -1802,9 +1802,9 @@ http://www.inf.fu-berlin.de/inst/pubs/tr-b-05-07.pdf</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2630499"></a><h3>
<a name="id2630534"></a><h3>
<a name="gimp-drawable-parasite-find"></a>gimp_drawable_parasite_find ()</h3>
<a class="indexterm" name="id2630513"></a><pre class="programlisting"><a
<a class="indexterm" name="id2630549"></a><pre class="programlisting"><a
href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
>GimpParasite</a>* gimp_drawable_parasite_find (gint32 drawable_ID,
const gchar *name);</pre>
@ -1840,9 +1840,9 @@ drawable.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2630601"></a><h3>
<a name="id2630636"></a><h3>
<a name="gimp-drawable-parasite-list"></a>gimp_drawable_parasite_list ()</h3>
<a class="indexterm" name="id2630616"></a><pre class="programlisting">gboolean gimp_drawable_parasite_list (gint32 drawable_ID,
<a class="indexterm" name="id2630651"></a><pre class="programlisting">gboolean gimp_drawable_parasite_list (gint32 drawable_ID,
gint *num_parasites,
gchar ***parasites);</pre>
<p>
@ -1881,9 +1881,9 @@ Returns a list of all currently attached parasites.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2630725"></a><h3>
<a name="id2630760"></a><h3>
<a name="gimp-drawable-parasite-attach"></a>gimp_drawable_parasite_attach ()</h3>
<a class="indexterm" name="id2630739"></a><pre class="programlisting">gboolean gimp_drawable_parasite_attach (gint32 drawable_ID,
<a class="indexterm" name="id2630774"></a><pre class="programlisting">gboolean gimp_drawable_parasite_attach (gint32 drawable_ID,
const <a
href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
>GimpParasite</a> *parasite);</pre>
@ -1919,9 +1919,9 @@ values.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2630828"></a><h3>
<a name="id2630863"></a><h3>
<a name="gimp-drawable-parasite-detach"></a>gimp_drawable_parasite_detach ()</h3>
<a class="indexterm" name="id2630842"></a><pre class="programlisting">gboolean gimp_drawable_parasite_detach (gint32 drawable_ID,
<a class="indexterm" name="id2630877"></a><pre class="programlisting">gboolean gimp_drawable_parasite_detach (gint32 drawable_ID,
const gchar *name);</pre>
<p>
Removes a parasite from a drawable.
@ -1955,16 +1955,16 @@ values.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2630930"></a><h3>
<a name="id2630966"></a><h3>
<a name="gimp-drawable-attach-new-parasite"></a>gimp_drawable_attach_new_parasite ()</h3>
<a class="indexterm" name="id2630946"></a><pre class="programlisting">gboolean gimp_drawable_attach_new_parasite (gint32 drawable_ID,
<a class="indexterm" name="id2630981"></a><pre class="programlisting">gboolean gimp_drawable_attach_new_parasite (gint32 drawable_ID,
const gchar *name,
gint flags,
gint size,
gconstpointer data);</pre>
<p>
Convenience function that creates a parasite and attaches it
to the GIMP.</p>
to GIMP.</p>
<p>
</p>