Imported Upstream version 2.6.7

This commit is contained in:
Ari Pollak
2010-08-11 01:27:19 -04:00
parent 50c86845f0
commit 6a2ceb16e3
619 changed files with 175069 additions and 95189 deletions

View File

@ -3,8 +3,8 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>gimppixbuf</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="GIMP Library Reference Manual">
<link rel="up" href="libgimpui.html" title="Part II. GIMP User Interface Library">
<link rel="prev" href="GimpImageComboBox.html" title="gimpimagecombobox">
<link rel="next" href="GimpProgressBar.html" title="GimpProgressBar">
@ -38,7 +38,7 @@
<a href="#libgimp-gimppixbuf.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry" lang="en">
<div class="refentry" title="gimppixbuf">
<a name="libgimp-gimppixbuf"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
@ -47,12 +47,12 @@
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<div class="refsynopsisdiv" title="Synopsis">
<a name="libgimp-gimppixbuf.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
enum <a class="link" href="libgimp-gimppixbuf.html#GimpPixbufTransparency" title="enum GimpPixbufTransparency">GimpPixbufTransparency</a>;
<a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> * <a class="link" href="libgimp-gimppixbuf.html#gimp-image-get-thumbnail" title="gimp_image_get_thumbnail ()">gimp_image_get_thumbnail</a> (<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
>gint32</a> image_ID,
@ -64,7 +64,7 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
>gint</a> height,
<a class="link" href="libgimp-gimppixbuf.html#GimpPixbufTransparency" title="enum GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);
<a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> * <a class="link" href="libgimp-gimppixbuf.html#gimp-drawable-get-thumbnail" title="gimp_drawable_get_thumbnail ()">gimp_drawable_get_thumbnail</a> (<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
>gint32</a> drawable_ID,
@ -76,7 +76,7 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
>gint</a> height,
<a class="link" href="libgimp-gimppixbuf.html#GimpPixbufTransparency" title="enum GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);
<a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> * <a class="link" href="libgimp-gimppixbuf.html#gimp-drawable-get-sub-thumbnail" title="gimp_drawable_get_sub_thumbnail ()">gimp_drawable_get_sub_thumbnail</a> (<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
>gint32</a> drawable_ID,
@ -108,7 +108,7 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *name,
<a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> *pixbuf,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
@ -122,15 +122,15 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble
>gdouble</a> progress_end);
</pre>
</div>
<div class="refsect1" lang="en">
<div class="refsect1" title="Description">
<a name="libgimp-gimppixbuf.description"></a><h2>Description</h2>
<p>
Get a thumbnail pixbuf for a drawable or image.
</p>
</div>
<div class="refsect1" lang="en">
<div class="refsect1" title="Details">
<a name="libgimp-gimppixbuf.details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<div class="refsect2" title="enum GimpPixbufTransparency">
<a name="GimpPixbufTransparency"></a><h3>enum GimpPixbufTransparency</h3>
<pre class="programlisting">typedef enum
{
@ -143,10 +143,10 @@ Get a thumbnail pixbuf for a drawable or image.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_image_get_thumbnail ()">
<a name="gimp-image-get-thumbnail"></a><h3>gimp_image_get_thumbnail ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> * gimp_image_get_thumbnail (<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
>gint32</a> image_ID,
@ -188,7 +188,7 @@ The thumbnail will be not larger than the requested size.</p>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a new <a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
><span class="type">GdkPixbuf</span></a>
</td>
@ -198,10 +198,10 @@ href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_drawable_get_thumbnail ()">
<a name="gimp-drawable-get-thumbnail"></a><h3>gimp_drawable_get_thumbnail ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> * gimp_drawable_get_thumbnail (<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
>gint32</a> drawable_ID,
@ -244,7 +244,7 @@ size.</p>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a new <a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
><span class="type">GdkPixbuf</span></a>
</td>
@ -254,10 +254,10 @@ href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_drawable_get_sub_thumbnail ()">
<a name="gimp-drawable-get-sub-thumbnail"></a><h3>gimp_drawable_get_sub_thumbnail ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> * gimp_drawable_get_sub_thumbnail (<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
>gint32</a> drawable_ID,
@ -332,7 +332,7 @@ size.</p>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a new <a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
><span class="type">GdkPixbuf</span></a>
</td>
@ -342,7 +342,7 @@ href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
<p class="since">Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<div class="refsect2" title="gimp_layer_new_from_pixbuf ()">
<a name="gimp-layer-new-from-pixbuf"></a><h3>gimp_layer_new_from_pixbuf ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
@ -353,7 +353,7 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *name,
<a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> *pixbuf,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
@ -367,12 +367,12 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble
>gdouble</a> progress_end);</pre>
<p>
Create a new layer from a <a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
><code class="literal">GdkPixbuf</code></a>.
</p>
<p>
This procedure creates a new layer from the given <a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
><code class="literal">GdkPixbuf</code></a>. The
image has to be an RGB image and just like with <a class="link" href="libgimp-gimplayer.html#gimp-layer-new" title="gimp_layer_new ()"><code class="function">gimp_layer_new()</code></a>
you will still need to add the layer to it.