47
47
<div class="refsynopsisdiv">
48
48
<a name="libgimp-gimpbuffer.synopsis"></a><h2>Synopsis</h2>
49
49
<pre class="synopsis">
51
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
52
>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
53
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
56
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
57
>gint</a> *num_buffers);
59
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
60
>gchar</a>* <a class="link" href="libgimp-gimpbuffer.html#gimp-buffer-rename" title="gimp_buffer_rename ()">gimp_buffer_rename</a> (const <a
61
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
62
>gchar</a> *buffer_name,
64
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
65
>gchar</a> *new_name);
67
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
68
>gboolean</a> <a class="link" href="libgimp-gimpbuffer.html#gimp-buffer-delete" title="gimp_buffer_delete ()">gimp_buffer_delete</a> (const <a
69
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
70
>gchar</a> *buffer_name);
72
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
73
>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
74
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
75
>gchar</a> *buffer_name);
77
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
78
>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
79
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
80
>gchar</a> *buffer_name);
82
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
83
>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
84
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
85
>gchar</a> *buffer_name);
87
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageBaseType"
88
>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
89
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
90
>gchar</a> *buffer_name);
50
gchar** <a class="link" href="libgimp-gimpbuffer.html#gimp-buffers-get-list" title="gimp_buffers_get_list ()">gimp_buffers_get_list</a> (const gchar *filter,
52
gchar* <a class="link" href="libgimp-gimpbuffer.html#gimp-buffer-rename" title="gimp_buffer_rename ()">gimp_buffer_rename</a> (const gchar *buffer_name,
53
const gchar *new_name);
54
gboolean <a class="link" href="libgimp-gimpbuffer.html#gimp-buffer-delete" title="gimp_buffer_delete ()">gimp_buffer_delete</a> (const gchar *buffer_name);
55
gint <a class="link" href="libgimp-gimpbuffer.html#gimp-buffer-get-width" title="gimp_buffer_get_width ()">gimp_buffer_get_width</a> (const gchar *buffer_name);
56
gint <a class="link" href="libgimp-gimpbuffer.html#gimp-buffer-get-height" title="gimp_buffer_get_height ()">gimp_buffer_get_height</a> (const gchar *buffer_name);
57
gint <a class="link" href="libgimp-gimpbuffer.html#gimp-buffer-get-bytes" title="gimp_buffer_get_bytes ()">gimp_buffer_get_bytes</a> (const gchar *buffer_name);
59
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageBaseType"
60
>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 gchar *buffer_name);
93
63
<div class="refsect1" lang="en">
100
70
<a name="libgimp-gimpbuffer.details"></a><h2>Details</h2>
101
71
<div class="refsect2" lang="en">
102
72
<a name="gimp-buffers-get-list"></a><h3>gimp_buffers_get_list ()</h3>
103
<pre class="programlisting"><a
104
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
105
>gchar</a>** gimp_buffers_get_list (const <a
106
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
109
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
110
>gint</a> *num_buffers);</pre>
73
<pre class="programlisting">gchar** gimp_buffers_get_list (const gchar *filter,
74
gint *num_buffers);</pre>
112
76
Retrieve a complete listing of the available buffers.
145
109
<div class="refsect2" lang="en">
146
110
<a name="gimp-buffer-rename"></a><h3>gimp_buffer_rename ()</h3>
147
<pre class="programlisting"><a
148
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
149
>gchar</a>* gimp_buffer_rename (const <a
150
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
151
>gchar</a> *buffer_name,
153
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
154
>gchar</a> *new_name);</pre>
111
<pre class="programlisting">gchar* gimp_buffer_rename (const gchar *buffer_name,
112
const gchar *new_name);</pre>
156
114
Renames a named buffer.
188
146
<div class="refsect2" lang="en">
189
147
<a name="gimp-buffer-delete"></a><h3>gimp_buffer_delete ()</h3>
190
<pre class="programlisting"><a
191
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
192
>gboolean</a> gimp_buffer_delete (const <a
193
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
194
>gchar</a> *buffer_name);</pre>
148
<pre class="programlisting">gboolean gimp_buffer_delete (const gchar *buffer_name);</pre>
196
150
Deletes a named buffer.
223
177
<div class="refsect2" lang="en">
224
178
<a name="gimp-buffer-get-width"></a><h3>gimp_buffer_get_width ()</h3>
225
<pre class="programlisting"><a
226
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
227
>gint</a> gimp_buffer_get_width (const <a
228
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
229
>gchar</a> *buffer_name);</pre>
179
<pre class="programlisting">gint gimp_buffer_get_width (const gchar *buffer_name);</pre>
231
181
Retrieves the specified buffer's width.
258
208
<div class="refsect2" lang="en">
259
209
<a name="gimp-buffer-get-height"></a><h3>gimp_buffer_get_height ()</h3>
260
<pre class="programlisting"><a
261
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
262
>gint</a> gimp_buffer_get_height (const <a
263
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
264
>gchar</a> *buffer_name);</pre>
210
<pre class="programlisting">gint gimp_buffer_get_height (const gchar *buffer_name);</pre>
266
212
Retrieves the specified buffer's height.
293
239
<div class="refsect2" lang="en">
294
240
<a name="gimp-buffer-get-bytes"></a><h3>gimp_buffer_get_bytes ()</h3>
295
<pre class="programlisting"><a
296
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
297
>gint</a> gimp_buffer_get_bytes (const <a
298
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
299
>gchar</a> *buffer_name);</pre>
241
<pre class="programlisting">gint gimp_buffer_get_bytes (const gchar *buffer_name);</pre>
301
243
Retrieves the specified buffer's bytes.
328
270
<div class="refsect2" lang="en">
329
271
<a name="gimp-buffer-get-image-type"></a><h3>gimp_buffer_get_image_type ()</h3>
330
272
<pre class="programlisting"><a
331
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageBaseType"
332
>GimpImageBaseType</a> gimp_buffer_get_image_type (const <a
333
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
334
>gchar</a> *buffer_name);</pre>
273
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageBaseType"
274
>GimpImageBaseType</a> gimp_buffer_get_image_type (const gchar *buffer_name);</pre>
336
276
Retrieves the specified buffer's image type.