Imported Upstream version 2.3.11
This commit is contained in:
@ -3,12 +3,12 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>gimpdrawable</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
|
||||
<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">
|
||||
<link rel="next" href="libgimp-gimpdrawabletransform.html" title="gimpdrawabletransform">
|
||||
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
<link rel="part" href="gimpdefinitions.html" title="Part I. GIMP Constants">
|
||||
<link rel="part" href="libgimp.html" title="Part II. GIMP Library">
|
||||
@ -32,21 +32,23 @@
|
||||
<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="#top_of_page" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2558105" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#desc" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2625400" 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><span class="refentrytitle"><a name="top_of_page"></a>gimpdrawable</span></h2>
|
||||
<h2>
|
||||
<a name="id2558105"></a><span class="refentrytitle">gimpdrawable</span>
|
||||
</h2>
|
||||
<p>gimpdrawable — Functions to manipulate drawables.</p>
|
||||
</td>
|
||||
<td valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsynopsisdiv">
|
||||
<a name="synopsis"></a><h2>Synopsis</h2>
|
||||
<h2>Synopsis</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
|
||||
@ -178,18 +180,18 @@ gboolean <a href="libgimp-gimpdrawable.html#gimp-drawable-attach-new-parasite
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="desc"></a><h2>Description</h2>
|
||||
<a name="id2625400"></a><h2>Description</h2>
|
||||
<p>
|
||||
Functions to manipulate drawables.
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="details"></a><h2>Details</h2>
|
||||
<a name="id2625414"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2592153"></a><h3>
|
||||
<a name="id2625423"></a><h3>
|
||||
<a name="GimpDrawable"></a>GimpDrawable</h3>
|
||||
<a class="indexterm" name="id2592163"></a><pre class="programlisting">typedef struct {
|
||||
<a class="indexterm" name="id2625433"></a><pre class="programlisting">typedef struct {
|
||||
gint32 drawable_id; /* drawable ID */
|
||||
guint width; /* width of drawble */
|
||||
guint height; /* height of drawble */
|
||||
@ -206,9 +208,9 @@ Functions to manipulate drawables.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2592184"></a><h3>
|
||||
<a name="id2625454"></a><h3>
|
||||
<a name="gimp-drawable-get"></a>gimp_drawable_get ()</h3>
|
||||
<a class="indexterm" name="id2592195"></a><pre class="programlisting"><a href="libgimp-gimpdrawable.html#GimpDrawable">GimpDrawable</a>* gimp_drawable_get (gint32 drawable_ID);</pre>
|
||||
<a class="indexterm" name="id2625465"></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
|
||||
@ -248,9 +250,9 @@ transferred back to the core.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2592290"></a><h3>
|
||||
<a name="id2625560"></a><h3>
|
||||
<a name="gimp-drawable-detach"></a>gimp_drawable_detach ()</h3>
|
||||
<a class="indexterm" name="id2592301"></a><pre class="programlisting">void gimp_drawable_detach (<a href="libgimp-gimpdrawable.html#GimpDrawable">GimpDrawable</a> *drawable);</pre>
|
||||
<a class="indexterm" name="id2625571"></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
|
||||
@ -272,9 +274,9 @@ then frees all associated memory. You must not access the
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2592374"></a><h3>
|
||||
<a name="id2625644"></a><h3>
|
||||
<a name="gimp-drawable-flush"></a>gimp_drawable_flush ()</h3>
|
||||
<a class="indexterm" name="id2592384"></a><pre class="programlisting">void gimp_drawable_flush (<a href="libgimp-gimpdrawable.html#GimpDrawable">GimpDrawable</a> *drawable);</pre>
|
||||
<a class="indexterm" name="id2625654"></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
|
||||
@ -297,9 +299,9 @@ to the core.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2592453"></a><h3>
|
||||
<a name="id2625723"></a><h3>
|
||||
<a name="gimp-drawable-delete"></a>gimp_drawable_delete ()</h3>
|
||||
<a class="indexterm" name="id2592463"></a><pre class="programlisting">gboolean gimp_drawable_delete (gint32 drawable_ID);</pre>
|
||||
<a class="indexterm" name="id2625733"></a><pre class="programlisting">gboolean gimp_drawable_delete (gint32 drawable_ID);</pre>
|
||||
<p>
|
||||
Delete a drawable.
|
||||
</p>
|
||||
@ -332,9 +334,9 @@ which has not yet been added to an image.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2592524"></a><h3>
|
||||
<a name="id2625794"></a><h3>
|
||||
<a name="gimp-drawable-get-name"></a>gimp_drawable_get_name ()</h3>
|
||||
<a class="indexterm" name="id2592535"></a><pre class="programlisting">gchar* gimp_drawable_get_name (gint32 drawable_ID);</pre>
|
||||
<a class="indexterm" name="id2625805"></a><pre class="programlisting">gchar* gimp_drawable_get_name (gint32 drawable_ID);</pre>
|
||||
<p>
|
||||
Get the name of the specified drawable.
|
||||
</p>
|
||||
@ -363,9 +365,9 @@ This procedure returns the specified drawable's name.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2592591"></a><h3>
|
||||
<a name="id2625861"></a><h3>
|
||||
<a name="gimp-drawable-set-name"></a>gimp_drawable_set_name ()</h3>
|
||||
<a class="indexterm" name="id2592602"></a><pre class="programlisting">gboolean gimp_drawable_set_name (gint32 drawable_ID,
|
||||
<a class="indexterm" name="id2625872"></a><pre class="programlisting">gboolean gimp_drawable_set_name (gint32 drawable_ID,
|
||||
const gchar *name);</pre>
|
||||
<p>
|
||||
Set the name of the specified drawable.
|
||||
@ -401,9 +403,9 @@ This procedure sets the specified drawable's name.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2592678"></a><h3>
|
||||
<a name="id2625948"></a><h3>
|
||||
<a name="gimp-drawable-get-visible"></a>gimp_drawable_get_visible ()</h3>
|
||||
<a class="indexterm" name="id2592689"></a><pre class="programlisting">gboolean gimp_drawable_get_visible (gint32 drawable_ID);</pre>
|
||||
<a class="indexterm" name="id2625958"></a><pre class="programlisting">gboolean gimp_drawable_get_visible (gint32 drawable_ID);</pre>
|
||||
<p>
|
||||
Get the visibility of the specified drawable.
|
||||
</p>
|
||||
@ -432,9 +434,9 @@ This procedure returns the specified drawable's visibility.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2592747"></a><h3>
|
||||
<a name="id2626016"></a><h3>
|
||||
<a name="gimp-drawable-set-visible"></a>gimp_drawable_set_visible ()</h3>
|
||||
<a class="indexterm" name="id2592758"></a><pre class="programlisting">gboolean gimp_drawable_set_visible (gint32 drawable_ID,
|
||||
<a class="indexterm" name="id2626026"></a><pre class="programlisting">gboolean gimp_drawable_set_visible (gint32 drawable_ID,
|
||||
gboolean visible);</pre>
|
||||
<p>
|
||||
Set the visibility of the specified drawable.
|
||||
@ -470,9 +472,9 @@ This procedure sets the specified drawable's visibility.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2592835"></a><h3>
|
||||
<a name="id2626104"></a><h3>
|
||||
<a name="gimp-drawable-get-linked"></a>gimp_drawable_get_linked ()</h3>
|
||||
<a class="indexterm" name="id2592846"></a><pre class="programlisting">gboolean gimp_drawable_get_linked (gint32 drawable_ID);</pre>
|
||||
<a class="indexterm" name="id2626114"></a><pre class="programlisting">gboolean gimp_drawable_get_linked (gint32 drawable_ID);</pre>
|
||||
<p>
|
||||
Get the linked state of the specified drawable.
|
||||
</p>
|
||||
@ -501,9 +503,9 @@ This procedure returns the specified drawable's linked state.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2592905"></a><h3>
|
||||
<a name="id2626173"></a><h3>
|
||||
<a name="gimp-drawable-set-linked"></a>gimp_drawable_set_linked ()</h3>
|
||||
<a class="indexterm" name="id2592916"></a><pre class="programlisting">gboolean gimp_drawable_set_linked (gint32 drawable_ID,
|
||||
<a class="indexterm" name="id2626184"></a><pre class="programlisting">gboolean gimp_drawable_set_linked (gint32 drawable_ID,
|
||||
gboolean linked);</pre>
|
||||
<p>
|
||||
Set the linked state of the specified drawable.
|
||||
@ -539,9 +541,9 @@ This procedure sets the specified drawable's linked state.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2592993"></a><h3>
|
||||
<a name="id2626262"></a><h3>
|
||||
<a name="gimp-drawable-get-tattoo"></a>gimp_drawable_get_tattoo ()</h3>
|
||||
<a class="indexterm" name="id2593003"></a><pre class="programlisting">gint gimp_drawable_get_tattoo (gint32 drawable_ID);</pre>
|
||||
<a class="indexterm" name="id2626272"></a><pre class="programlisting">gint gimp_drawable_get_tattoo (gint32 drawable_ID);</pre>
|
||||
<p>
|
||||
Get the tattoo of the specified drawable.
|
||||
</p>
|
||||
@ -573,9 +575,9 @@ sessions.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2593064"></a><h3>
|
||||
<a name="id2626333"></a><h3>
|
||||
<a name="gimp-drawable-set-tattoo"></a>gimp_drawable_set_tattoo ()</h3>
|
||||
<a class="indexterm" name="id2593075"></a><pre class="programlisting">gboolean gimp_drawable_set_tattoo (gint32 drawable_ID,
|
||||
<a class="indexterm" name="id2626344"></a><pre class="programlisting">gboolean gimp_drawable_set_tattoo (gint32 drawable_ID,
|
||||
gint tattoo);</pre>
|
||||
<p>
|
||||
Set the tattoo of the specified drawable.
|
||||
@ -614,9 +616,9 @@ sessions.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2593155"></a><h3>
|
||||
<a name="id2626424"></a><h3>
|
||||
<a name="gimp-drawable-get-pixel"></a>gimp_drawable_get_pixel ()</h3>
|
||||
<a class="indexterm" name="id2593165"></a><pre class="programlisting">guint8* gimp_drawable_get_pixel (gint32 drawable_ID,
|
||||
<a class="indexterm" name="id2626434"></a><pre class="programlisting">guint8* gimp_drawable_get_pixel (gint32 drawable_ID,
|
||||
gint x_coord,
|
||||
gint y_coord,
|
||||
gint *num_channels);</pre>
|
||||
@ -668,9 +670,9 @@ bytes-per-pixel value for the specified drawable.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2593283"></a><h3>
|
||||
<a name="id2626552"></a><h3>
|
||||
<a name="gimp-drawable-set-pixel"></a>gimp_drawable_set_pixel ()</h3>
|
||||
<a class="indexterm" name="id2593294"></a><pre class="programlisting">gboolean gimp_drawable_set_pixel (gint32 drawable_ID,
|
||||
<a class="indexterm" name="id2626563"></a><pre class="programlisting">gboolean gimp_drawable_set_pixel (gint32 drawable_ID,
|
||||
gint x_coord,
|
||||
gint y_coord,
|
||||
gint num_channels,
|
||||
@ -731,9 +733,9 @@ just created yourself.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2593433"></a><h3>
|
||||
<a name="id2626702"></a><h3>
|
||||
<a name="gimp-drawable-get-tile"></a>gimp_drawable_get_tile ()</h3>
|
||||
<a class="indexterm" name="id2593443"></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="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,
|
||||
gboolean shadow,
|
||||
gint row,
|
||||
gint col);</pre>
|
||||
@ -780,9 +782,9 @@ just created yourself.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2593550"></a><h3>
|
||||
<a name="id2626819"></a><h3>
|
||||
<a name="gimp-drawable-get-tile2"></a>gimp_drawable_get_tile2 ()</h3>
|
||||
<a class="indexterm" name="id2593560"></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="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,
|
||||
gboolean shadow,
|
||||
gint x,
|
||||
gint y);</pre>
|
||||
@ -829,9 +831,9 @@ just created yourself.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2593667"></a><h3>
|
||||
<a name="id2626936"></a><h3>
|
||||
<a name="gimp-drawable-get-thumbnail-data"></a>gimp_drawable_get_thumbnail_data ()</h3>
|
||||
<a class="indexterm" name="id2593678"></a><pre class="programlisting">guchar* gimp_drawable_get_thumbnail_data
|
||||
<a class="indexterm" name="id2626949"></a><pre class="programlisting">guchar* gimp_drawable_get_thumbnail_data
|
||||
(gint32 drawable_ID,
|
||||
gint *width,
|
||||
gint *height,
|
||||
@ -879,9 +881,9 @@ just created yourself.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2593785"></a><h3>
|
||||
<a name="id2627057"></a><h3>
|
||||
<a name="gimp-drawable-get-sub-thumbnail-data"></a>gimp_drawable_get_sub_thumbnail_data ()</h3>
|
||||
<a class="indexterm" name="id2593798"></a><pre class="programlisting">guchar* gimp_drawable_get_sub_thumbnail_data
|
||||
<a class="indexterm" name="id2627070"></a><pre class="programlisting">guchar* gimp_drawable_get_sub_thumbnail_data
|
||||
(gint32 drawable_ID,
|
||||
gint src_x,
|
||||
gint src_y,
|
||||
@ -957,9 +959,9 @@ just created yourself.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2593983"></a><h3>
|
||||
<a name="id2627254"></a><h3>
|
||||
<a name="gimp-drawable-get-color-uchar"></a>gimp_drawable_get_color_uchar ()</h3>
|
||||
<a class="indexterm" name="id2593994"></a><pre class="programlisting">void gimp_drawable_get_color_uchar (gint32 drawable_ID,
|
||||
<a class="indexterm" name="id2627267"></a><pre class="programlisting">void gimp_drawable_get_color_uchar (gint32 drawable_ID,
|
||||
const <a
|
||||
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
>GimpRGB</a> *color,
|
||||
@ -995,9 +997,9 @@ href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2594074"></a><h3>
|
||||
<a name="id2627346"></a><h3>
|
||||
<a name="gimp-drawable-merge-shadow"></a>gimp_drawable_merge_shadow ()</h3>
|
||||
<a class="indexterm" name="id2594085"></a><pre class="programlisting">gboolean gimp_drawable_merge_shadow (gint32 drawable_ID,
|
||||
<a class="indexterm" name="id2627357"></a><pre class="programlisting">gboolean gimp_drawable_merge_shadow (gint32 drawable_ID,
|
||||
gboolean undo);</pre>
|
||||
<p>
|
||||
Merge the shadow buffer with the specified drawable.
|
||||
@ -1036,9 +1038,9 @@ Requesting no undo is useful for such applications as 'auto-apply'.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2594172"></a><h3>
|
||||
<a name="id2627438"></a><h3>
|
||||
<a name="gimp-drawable-fill"></a>gimp_drawable_fill ()</h3>
|
||||
<a class="indexterm" name="id2594186"></a><pre class="programlisting">gboolean gimp_drawable_fill (gint32 drawable_ID,
|
||||
<a class="indexterm" name="id2627448"></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.
|
||||
@ -1083,9 +1085,9 @@ before adding it to the image. This operation cannot be undone.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2594283"></a><h3>
|
||||
<a name="id2627536"></a><h3>
|
||||
<a name="gimp-drawable-update"></a>gimp_drawable_update ()</h3>
|
||||
<a class="indexterm" name="id2594296"></a><pre class="programlisting">gboolean gimp_drawable_update (gint32 drawable_ID,
|
||||
<a class="indexterm" name="id2627547"></a><pre class="programlisting">gboolean gimp_drawable_update (gint32 drawable_ID,
|
||||
gint x,
|
||||
gint y,
|
||||
gint width,
|
||||
@ -1145,9 +1147,9 @@ image origin. Therefore, the entire drawable can be updated using
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2594451"></a><h3>
|
||||
<a name="id2627702"></a><h3>
|
||||
<a name="gimp-drawable-mask-bounds"></a>gimp_drawable_mask_bounds ()</h3>
|
||||
<a class="indexterm" name="id2594466"></a><pre class="programlisting">gboolean gimp_drawable_mask_bounds (gint32 drawable_ID,
|
||||
<a class="indexterm" name="id2627716"></a><pre class="programlisting">gboolean gimp_drawable_mask_bounds (gint32 drawable_ID,
|
||||
gint *x1,
|
||||
gint *y1,
|
||||
gint *x2,
|
||||
@ -1216,9 +1218,9 @@ return value which is more useful in most cases.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2594641"></a><h3>
|
||||
<a name="id2627892"></a><h3>
|
||||
<a name="gimp-drawable-mask-intersect"></a>gimp_drawable_mask_intersect ()</h3>
|
||||
<a class="indexterm" name="id2594657"></a><pre class="programlisting">gboolean gimp_drawable_mask_intersect (gint32 drawable_ID,
|
||||
<a class="indexterm" name="id2627908"></a><pre class="programlisting">gboolean gimp_drawable_mask_intersect (gint32 drawable_ID,
|
||||
gint *x,
|
||||
gint *y,
|
||||
gint *width,
|
||||
@ -1283,9 +1285,9 @@ are the extents of the whole drawable.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2594829"></a><h3>
|
||||
<a name="id2628080"></a><h3>
|
||||
<a name="gimp-drawable-get-image"></a>gimp_drawable_get_image ()</h3>
|
||||
<a class="indexterm" name="id2594843"></a><pre class="programlisting">gint32 gimp_drawable_get_image (gint32 drawable_ID);</pre>
|
||||
<a class="indexterm" name="id2628094"></a><pre class="programlisting">gint32 gimp_drawable_get_image (gint32 drawable_ID);</pre>
|
||||
<p>
|
||||
Returns the drawable's image.
|
||||
</p>
|
||||
@ -1314,9 +1316,9 @@ This procedure returns the drawable's image.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2594909"></a><h3>
|
||||
<a name="id2628160"></a><h3>
|
||||
<a name="gimp-drawable-set-image"></a>gimp_drawable_set_image ()</h3>
|
||||
<a class="indexterm" name="id2594925"></a><pre class="programlisting">gboolean gimp_drawable_set_image (gint32 drawable_ID,
|
||||
<a class="indexterm" name="id2628176"></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>
|
||||
@ -1353,9 +1355,9 @@ This procedure is deprecated!</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2595020"></a><h3>
|
||||
<a name="id2628271"></a><h3>
|
||||
<a name="gimp-drawable-has-alpha"></a>gimp_drawable_has_alpha ()</h3>
|
||||
<a class="indexterm" name="id2595033"></a><pre class="programlisting">gboolean gimp_drawable_has_alpha (gint32 drawable_ID);</pre>
|
||||
<a class="indexterm" name="id2628284"></a><pre class="programlisting">gboolean gimp_drawable_has_alpha (gint32 drawable_ID);</pre>
|
||||
<p>
|
||||
Returns TRUE if the drawable has an alpha channel.
|
||||
</p>
|
||||
@ -1386,9 +1388,9 @@ will be one of: { RGBA , GRAYA, INDEXEDA }.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2595102"></a><h3>
|
||||
<a name="id2628353"></a><h3>
|
||||
<a name="gimp-drawable-type-with-alpha"></a>gimp_drawable_type_with_alpha ()</h3>
|
||||
<a class="indexterm" name="id2595116"></a><pre class="programlisting"><a
|
||||
<a class="indexterm" name="id2628367"></a><pre class="programlisting"><a
|
||||
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
|
||||
>GimpImageType</a> gimp_drawable_type_with_alpha (gint32 drawable_ID);</pre>
|
||||
<p>
|
||||
@ -1422,9 +1424,9 @@ the drawable's type is simply returned.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2595186"></a><h3>
|
||||
<a name="id2628436"></a><h3>
|
||||
<a name="gimp-drawable-type"></a>gimp_drawable_type ()</h3>
|
||||
<a class="indexterm" name="id2595199"></a><pre class="programlisting"><a
|
||||
<a class="indexterm" name="id2628450"></a><pre class="programlisting"><a
|
||||
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
|
||||
>GimpImageType</a> gimp_drawable_type (gint32 drawable_ID);</pre>
|
||||
<p>
|
||||
@ -1455,9 +1457,9 @@ This procedure returns the drawable's type.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2595264"></a><h3>
|
||||
<a name="id2628515"></a><h3>
|
||||
<a name="gimp-drawable-is-rgb"></a>gimp_drawable_is_rgb ()</h3>
|
||||
<a class="indexterm" name="id2595278"></a><pre class="programlisting">gboolean gimp_drawable_is_rgb (gint32 drawable_ID);</pre>
|
||||
<a class="indexterm" name="id2628529"></a><pre class="programlisting">gboolean gimp_drawable_is_rgb (gint32 drawable_ID);</pre>
|
||||
<p>
|
||||
Returns whether the drawable is an RGB type.
|
||||
</p>
|
||||
@ -1487,9 +1489,9 @@ RGB, RGBA }.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2595344"></a><h3>
|
||||
<a name="id2628595"></a><h3>
|
||||
<a name="gimp-drawable-is-gray"></a>gimp_drawable_is_gray ()</h3>
|
||||
<a class="indexterm" name="id2595358"></a><pre class="programlisting">gboolean gimp_drawable_is_gray (gint32 drawable_ID);</pre>
|
||||
<a class="indexterm" name="id2628609"></a><pre class="programlisting">gboolean gimp_drawable_is_gray (gint32 drawable_ID);</pre>
|
||||
<p>
|
||||
Returns whether the drawable is a grayscale type.
|
||||
</p>
|
||||
@ -1519,9 +1521,9 @@ Gray, GrayA }.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2595425"></a><h3>
|
||||
<a name="id2628676"></a><h3>
|
||||
<a name="gimp-drawable-is-indexed"></a>gimp_drawable_is_indexed ()</h3>
|
||||
<a class="indexterm" name="id2595439"></a><pre class="programlisting">gboolean gimp_drawable_is_indexed (gint32 drawable_ID);</pre>
|
||||
<a class="indexterm" name="id2628690"></a><pre class="programlisting">gboolean gimp_drawable_is_indexed (gint32 drawable_ID);</pre>
|
||||
<p>
|
||||
Returns whether the drawable is an indexed type.
|
||||
</p>
|
||||
@ -1551,9 +1553,9 @@ Indexed, IndexedA }.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2595506"></a><h3>
|
||||
<a name="id2628757"></a><h3>
|
||||
<a name="gimp-drawable-bpp"></a>gimp_drawable_bpp ()</h3>
|
||||
<a class="indexterm" name="id2595520"></a><pre class="programlisting">gint gimp_drawable_bpp (gint32 drawable_ID);</pre>
|
||||
<a class="indexterm" name="id2628771"></a><pre class="programlisting">gint gimp_drawable_bpp (gint32 drawable_ID);</pre>
|
||||
<p>
|
||||
Returns the bytes per pixel.
|
||||
</p>
|
||||
@ -1583,9 +1585,9 @@ of channels) for the specified drawable.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2595586"></a><h3>
|
||||
<a name="id2628837"></a><h3>
|
||||
<a name="gimp-drawable-width"></a>gimp_drawable_width ()</h3>
|
||||
<a class="indexterm" name="id2595600"></a><pre class="programlisting">gint gimp_drawable_width (gint32 drawable_ID);</pre>
|
||||
<a class="indexterm" name="id2628850"></a><pre class="programlisting">gint gimp_drawable_width (gint32 drawable_ID);</pre>
|
||||
<p>
|
||||
Returns the width of the drawable.
|
||||
</p>
|
||||
@ -1614,9 +1616,9 @@ This procedure returns the specified drawable's width in pixels.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2595665"></a><h3>
|
||||
<a name="id2628916"></a><h3>
|
||||
<a name="gimp-drawable-height"></a>gimp_drawable_height ()</h3>
|
||||
<a class="indexterm" name="id2595678"></a><pre class="programlisting">gint gimp_drawable_height (gint32 drawable_ID);</pre>
|
||||
<a class="indexterm" name="id2628929"></a><pre class="programlisting">gint gimp_drawable_height (gint32 drawable_ID);</pre>
|
||||
<p>
|
||||
Returns the height of the drawable.
|
||||
</p>
|
||||
@ -1645,9 +1647,9 @@ This procedure returns the specified drawable's height in pixels.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2595745"></a><h3>
|
||||
<a name="id2628996"></a><h3>
|
||||
<a name="gimp-drawable-offsets"></a>gimp_drawable_offsets ()</h3>
|
||||
<a class="indexterm" name="id2595758"></a><pre class="programlisting">gboolean gimp_drawable_offsets (gint32 drawable_ID,
|
||||
<a class="indexterm" name="id2629009"></a><pre class="programlisting">gboolean gimp_drawable_offsets (gint32 drawable_ID,
|
||||
gint *offset_x,
|
||||
gint *offset_y);</pre>
|
||||
<p>
|
||||
@ -1692,9 +1694,9 @@ The offsets of a channel will be returned as 0.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2595869"></a><h3>
|
||||
<a name="id2629120"></a><h3>
|
||||
<a name="gimp-drawable-is-layer"></a>gimp_drawable_is_layer ()</h3>
|
||||
<a class="indexterm" name="id2595883"></a><pre class="programlisting">gboolean gimp_drawable_is_layer (gint32 drawable_ID);</pre>
|
||||
<a class="indexterm" name="id2629134"></a><pre class="programlisting">gboolean gimp_drawable_is_layer (gint32 drawable_ID);</pre>
|
||||
<p>
|
||||
Returns whether the drawable is a layer.
|
||||
</p>
|
||||
@ -1723,9 +1725,9 @@ This procedure returns TRUE if the specified drawable is a layer.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2595949"></a><h3>
|
||||
<a name="id2629200"></a><h3>
|
||||
<a name="gimp-drawable-is-layer-mask"></a>gimp_drawable_is_layer_mask ()</h3>
|
||||
<a class="indexterm" name="id2595964"></a><pre class="programlisting">gboolean gimp_drawable_is_layer_mask (gint32 drawable_ID);</pre>
|
||||
<a class="indexterm" name="id2629214"></a><pre class="programlisting">gboolean gimp_drawable_is_layer_mask (gint32 drawable_ID);</pre>
|
||||
<p>
|
||||
Returns whether the drawable is a layer mask.
|
||||
</p>
|
||||
@ -1755,9 +1757,9 @@ mask.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2596030"></a><h3>
|
||||
<a name="id2629280"></a><h3>
|
||||
<a name="gimp-drawable-is-channel"></a>gimp_drawable_is_channel ()</h3>
|
||||
<a class="indexterm" name="id2596044"></a><pre class="programlisting">gboolean gimp_drawable_is_channel (gint32 drawable_ID);</pre>
|
||||
<a class="indexterm" name="id2629294"></a><pre class="programlisting">gboolean gimp_drawable_is_channel (gint32 drawable_ID);</pre>
|
||||
<p>
|
||||
Returns whether the drawable is a channel.
|
||||
</p>
|
||||
@ -1786,9 +1788,9 @@ This procedure returns TRUE if the specified drawable is a channel.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2596110"></a><h3>
|
||||
<a name="id2629361"></a><h3>
|
||||
<a name="gimp-drawable-offset"></a>gimp_drawable_offset ()</h3>
|
||||
<a class="indexterm" name="id2596124"></a><pre class="programlisting">gboolean gimp_drawable_offset (gint32 drawable_ID,
|
||||
<a class="indexterm" name="id2629375"></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,
|
||||
@ -1851,9 +1853,9 @@ specified by the 'fill_type' parameter.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2596283"></a><h3>
|
||||
<a name="id2629534"></a><h3>
|
||||
<a name="gimp-drawable-foreground-extract"></a>gimp_drawable_foreground_extract ()</h3>
|
||||
<a class="indexterm" name="id2596299"></a><pre class="programlisting">gboolean gimp_drawable_foreground_extract
|
||||
<a class="indexterm" name="id2629550"></a><pre class="programlisting">gboolean gimp_drawable_foreground_extract
|
||||
(gint32 drawable_ID,
|
||||
<a
|
||||
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpForegroundExtractMode"
|
||||
@ -1903,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="id2596415"></a><h3>
|
||||
<a name="id2629665"></a><h3>
|
||||
<a name="gimp-drawable-parasite-find"></a>gimp_drawable_parasite_find ()</h3>
|
||||
<a class="indexterm" name="id2596429"></a><pre class="programlisting"><a
|
||||
<a class="indexterm" name="id2629680"></a><pre class="programlisting"><a
|
||||
href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
|
||||
>GimpParasite</a>* gimp_drawable_parasite_find (gint32 drawable_ID,
|
||||
const gchar *name);</pre>
|
||||
@ -1944,9 +1946,9 @@ a drawable.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2596517"></a><h3>
|
||||
<a name="id2629767"></a><h3>
|
||||
<a name="gimp-drawable-parasite-list"></a>gimp_drawable_parasite_list ()</h3>
|
||||
<a class="indexterm" name="id2596531"></a><pre class="programlisting">gboolean gimp_drawable_parasite_list (gint32 drawable_ID,
|
||||
<a class="indexterm" name="id2629782"></a><pre class="programlisting">gboolean gimp_drawable_parasite_list (gint32 drawable_ID,
|
||||
gint *num_parasites,
|
||||
gchar ***parasites);</pre>
|
||||
<p>
|
||||
@ -1989,9 +1991,9 @@ Returns a list of all currently attached parasites.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2596640"></a><h3>
|
||||
<a name="id2629890"></a><h3>
|
||||
<a name="gimp-drawable-parasite-attach"></a>gimp_drawable_parasite_attach ()</h3>
|
||||
<a class="indexterm" name="id2596654"></a><pre class="programlisting">gboolean gimp_drawable_parasite_attach (gint32 drawable_ID,
|
||||
<a class="indexterm" name="id2629904"></a><pre class="programlisting">gboolean gimp_drawable_parasite_attach (gint32 drawable_ID,
|
||||
const <a
|
||||
href="../libgimpbase/libgimpbase-gimpparasite.html#GimpParasite"
|
||||
>GimpParasite</a> *parasite);</pre>
|
||||
@ -2030,9 +2032,9 @@ values.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2596742"></a><h3>
|
||||
<a name="id2629993"></a><h3>
|
||||
<a name="gimp-drawable-parasite-detach"></a>gimp_drawable_parasite_detach ()</h3>
|
||||
<a class="indexterm" name="id2596756"></a><pre class="programlisting">gboolean gimp_drawable_parasite_detach (gint32 drawable_ID,
|
||||
<a class="indexterm" name="id2630007"></a><pre class="programlisting">gboolean gimp_drawable_parasite_detach (gint32 drawable_ID,
|
||||
const gchar *name);</pre>
|
||||
<p>
|
||||
Removes a parasite from a drawable.
|
||||
@ -2069,9 +2071,9 @@ values.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2596845"></a><h3>
|
||||
<a name="id2630095"></a><h3>
|
||||
<a name="gimp-drawable-attach-new-parasite"></a>gimp_drawable_attach_new_parasite ()</h3>
|
||||
<a class="indexterm" name="id2596860"></a><pre class="programlisting">gboolean gimp_drawable_attach_new_parasite
|
||||
<a class="indexterm" name="id2630110"></a><pre class="programlisting">gboolean gimp_drawable_attach_new_parasite
|
||||
(gint32 drawable_ID,
|
||||
const gchar *name,
|
||||
gint flags,
|
||||
|
Reference in New Issue
Block a user