Imported Upstream version 2.4.6

This commit is contained in:
Ari Pollak
2010-08-11 01:24:52 -04:00
parent 9398f19fe7
commit 478f5ecc84
539 changed files with 157836 additions and 69286 deletions

View File

@ -1,21 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>gimpbuffer</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
<link rel="up" href="libgimp-general.html" title="Functions not Related to Specific Images">
<link rel="prev" href="libgimp-gimpenums.html" title="gimpenums">
<link rel="next" href="libgimp-gimpcontext.html" title="gimpcontext">
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimp.html" title="Part&#160;I.&#160;GIMP Library">
<link rel="part" href="libgimp.html" title="Part I. GIMP Library">
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and their Properties">
<link rel="chapter" href="libgimp-data.html" title="Data Objects">
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
<link rel="part" href="libgimpui.html" title="Part&#160;II.&#160;GIMP User Interface Library">
<link rel="part" href="libgimpui.html" title="Part II. GIMP User Interface Library">
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
<link rel="index" href="libgimp-index.html" title="Index">
<link rel="index" href="libgimp-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
@ -31,88 +31,82 @@
<th width="100%" align="center">GIMP Library Reference Manual</th>
<td><a accesskey="n" href="libgimp-gimpcontext.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="#id2613229" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2576413" class="shortcut">Description</a></nobr></td></tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#libgimp-gimpbuffer.synopsis" class="shortcut">Top</a>
 | 
<a href="#libgimp-gimpbuffer.description" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimp-gimpbuffer"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2613229"></a><span class="refentrytitle">gimpbuffer</span>
</h2>
<h2><span class="refentrytitle"><a name="libgimp-gimpbuffer.top_of_page"></a>gimpbuffer</span></h2>
<p>gimpbuffer</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<a name="libgimp-gimpbuffer.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>** <a class="link" href="libgimp-gimpbuffer.html#gimp-buffers-get-list">gimp_buffers_get_list</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>** <a class="link" href="libgimp-gimpbuffer.html#gimp-buffers-get-list" title="gimp_buffers_get_list ()">gimp_buffers_get_list</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *filter,
<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *num_buffers);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="libgimp-gimpbuffer.html#gimp-buffer-rename">gimp_buffer_rename</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a class="link" href="libgimp-gimpbuffer.html#gimp-buffer-rename" title="gimp_buffer_rename ()">gimp_buffer_rename</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *buffer_name,
const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *new_name);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimp-gimpbuffer.html#gimp-buffer-delete">gimp_buffer_delete</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimp-gimpbuffer.html#gimp-buffer-delete" title="gimp_buffer_delete ()">gimp_buffer_delete</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *buffer_name);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> <a class="link" href="libgimp-gimpbuffer.html#gimp-buffer-get-width">gimp_buffer_get_width</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> <a class="link" href="libgimp-gimpbuffer.html#gimp-buffer-get-width" title="gimp_buffer_get_width ()">gimp_buffer_get_width</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *buffer_name);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> <a class="link" href="libgimp-gimpbuffer.html#gimp-buffer-get-height">gimp_buffer_get_height</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> <a class="link" href="libgimp-gimpbuffer.html#gimp-buffer-get-height" title="gimp_buffer_get_height ()">gimp_buffer_get_height</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *buffer_name);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> <a class="link" href="libgimp-gimpbuffer.html#gimp-buffer-get-bytes">gimp_buffer_get_bytes</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> <a class="link" href="libgimp-gimpbuffer.html#gimp-buffer-get-bytes" title="gimp_buffer_get_bytes ()">gimp_buffer_get_bytes</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *buffer_name);
<a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageBaseType"
>GimpImageBaseType</a> <a class="link" href="libgimp-gimpbuffer.html#gimp-buffer-get-image-type">gimp_buffer_get_image_type</a> (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageBaseType"
>GimpImageBaseType</a> <a class="link" href="libgimp-gimpbuffer.html#gimp-buffer-get-image-type" title="gimp_buffer_get_image_type ()">gimp_buffer_get_image_type</a> (const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *buffer_name);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2576413"></a><h2>Description</h2>
<a name="libgimp-gimpbuffer.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2576429"></a><h2>Details</h2>
<a name="libgimp-gimpbuffer.details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2576440"></a><h3>
<a name="gimp-buffers-get-list"></a>gimp_buffers_get_list ()</h3>
<a class="indexterm" name="id2576453"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
<a name="gimp-buffers-get-list"></a><h3>gimp_buffers_get_list ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>** gimp_buffers_get_list (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *filter,
<a
href="../glib/glib-Basic-Types.html#gint"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> *num_buffers);</pre>
<p>
Retrieve a complete listing of the available buffers.
@ -127,17 +121,17 @@ buffers.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>filter</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>filter</code></em> :</span></p></td>
<td> An optional regular expression used to filter the list.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>num_buffers</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>num_buffers</code></em> :</span></p></td>
<td> The number of buffers.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The list of buffer names.
</td>
@ -149,15 +143,14 @@ buffers.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2584733"></a><h3>
<a name="gimp-buffer-rename"></a>gimp_buffer_rename ()</h3>
<a class="indexterm" name="id2584747"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
<a name="gimp-buffer-rename"></a><h3>gimp_buffer_rename ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* gimp_buffer_rename (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *buffer_name,
const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *new_name);</pre>
<p>
Renames a named buffer.
@ -171,17 +164,17 @@ This procedure renames a named buffer.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer_name</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>buffer_name</code></em> :</span></p></td>
<td> The buffer name.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>new_name</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>new_name</code></em> :</span></p></td>
<td> The buffer's new name.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The real name given to the buffer.
</td>
@ -193,12 +186,11 @@ This procedure renames a named buffer.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2574789"></a><h3>
<a name="gimp-buffer-delete"></a>gimp_buffer_delete ()</h3>
<a class="indexterm" name="id2574803"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
<a name="gimp-buffer-delete"></a><h3>gimp_buffer_delete ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_buffer_delete (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *buffer_name);</pre>
<p>
Deletes a named buffer.
@ -212,12 +204,12 @@ This procedure deletes a named buffer.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer_name</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>buffer_name</code></em> :</span></p></td>
<td> The buffer name.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> TRUE on success.
</td>
@ -229,12 +221,11 @@ This procedure deletes a named buffer.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2574874"></a><h3>
<a name="gimp-buffer-get-width"></a>gimp_buffer_get_width ()</h3>
<a class="indexterm" name="id2574888"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
<a name="gimp-buffer-get-width"></a><h3>gimp_buffer_get_width ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> gimp_buffer_get_width (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *buffer_name);</pre>
<p>
Retrieves the specified buffer's width.
@ -248,12 +239,12 @@ This procedure retrieves the specified named buffer's width.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer_name</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>buffer_name</code></em> :</span></p></td>
<td> The buffer name.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The buffer width.
</td>
@ -265,12 +256,11 @@ This procedure retrieves the specified named buffer's width.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2574959"></a><h3>
<a name="gimp-buffer-get-height"></a>gimp_buffer_get_height ()</h3>
<a class="indexterm" name="id2574973"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
<a name="gimp-buffer-get-height"></a><h3>gimp_buffer_get_height ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> gimp_buffer_get_height (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *buffer_name);</pre>
<p>
Retrieves the specified buffer's height.
@ -284,12 +274,12 @@ This procedure retrieves the specified named buffer's height.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer_name</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>buffer_name</code></em> :</span></p></td>
<td> The buffer name.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The buffer height.
</td>
@ -301,12 +291,11 @@ This procedure retrieves the specified named buffer's height.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2619526"></a><h3>
<a name="gimp-buffer-get-bytes"></a>gimp_buffer_get_bytes ()</h3>
<a class="indexterm" name="id2619540"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
<a name="gimp-buffer-get-bytes"></a><h3>gimp_buffer_get_bytes ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a> gimp_buffer_get_bytes (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *buffer_name);</pre>
<p>
Retrieves the specified buffer's bytes.
@ -320,12 +309,12 @@ This procedure retrieves the specified named buffer's bytes.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer_name</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>buffer_name</code></em> :</span></p></td>
<td> The buffer name.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The buffer bpp.
</td>
@ -337,12 +326,11 @@ This procedure retrieves the specified named buffer's bytes.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2619612"></a><h3>
<a name="gimp-buffer-get-image-type"></a>gimp_buffer_get_image_type ()</h3>
<a class="indexterm" name="id2619626"></a><pre class="programlisting"><a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageBaseType"
<a name="gimp-buffer-get-image-type"></a><h3>gimp_buffer_get_image_type ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageBaseType"
>GimpImageBaseType</a> gimp_buffer_get_image_type (const <a
href="../glib/glib-Basic-Types.html#gchar"
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *buffer_name);</pre>
<p>
Retrieves the specified buffer's image type.
@ -356,12 +344,12 @@ This procedure retrieves the specified named buffer's image type.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>buffer_name</code></em>&#160;:</span></p></td>
<td><p><span class="term"><em class="parameter"><code>buffer_name</code></em> :</span></p></td>
<td> The buffer name.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The buffer image type.
</td>
@ -372,11 +360,9 @@ This procedure retrieves the specified named buffer's image type.</p>
</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2619700"></a><div class="refsect2" lang="en"><a name="id2619701"></a></div>
</div>
<div class="footer">
<hr>
<div class="refsect2" lang="en"><a name="id2619702"></a></div>
</div>
</div>
Generated by GTK-Doc V1.10</div>
</body>
</html>