Imported Upstream version 2.3.16
This commit is contained in:
@ -3,12 +3,12 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>gimppixbuf</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<link rel="start" 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">
|
||||
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
<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">
|
||||
@ -31,16 +31,16 @@
|
||||
<th width="100%" align="center">GIMP Library Reference Manual</th>
|
||||
<td><a accesskey="n" href="GimpProgressBar.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="#id2604064" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2564199" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2702687" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2715692" class="shortcut">Description</a></nobr></td></tr>
|
||||
</table>
|
||||
<div class="refentry" lang="en">
|
||||
<a name="libgimp-gimppixbuf"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2>
|
||||
<a name="id2604064"></a><span class="refentrytitle">gimppixbuf</span>
|
||||
<a name="id2564199"></a><span class="refentrytitle">gimppixbuf</span>
|
||||
</h2>
|
||||
<p>gimppixbuf — Get a thumbnail pixbuf for a drawable or image.</p>
|
||||
</td>
|
||||
@ -52,44 +52,44 @@
|
||||
|
||||
|
||||
|
||||
enum <a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a>;
|
||||
GdkPixbuf* <a href="libgimp-gimppixbuf.html#gimp-image-get-thumbnail">gimp_image_get_thumbnail</a> (gint32 image_ID,
|
||||
gint width,
|
||||
gint height,
|
||||
<a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);
|
||||
GdkPixbuf* <a href="libgimp-gimppixbuf.html#gimp-drawable-get-thumbnail">gimp_drawable_get_thumbnail</a> (gint32 drawable_ID,
|
||||
gint width,
|
||||
gint height,
|
||||
<a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);
|
||||
GdkPixbuf* <a href="libgimp-gimppixbuf.html#gimp-drawable-get-sub-thumbnail">gimp_drawable_get_sub_thumbnail</a> (gint32 drawable_ID,
|
||||
gint src_x,
|
||||
gint src_y,
|
||||
gint src_width,
|
||||
gint src_height,
|
||||
gint dest_width,
|
||||
gint dest_height,
|
||||
<a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);
|
||||
gint32 <a href="libgimp-gimppixbuf.html#gimp-layer-new-from-pixbuf">gimp_layer_new_from_pixbuf</a> (gint32 image_ID,
|
||||
const gchar *name,
|
||||
GdkPixbuf *pixbuf,
|
||||
gdouble opacity,
|
||||
<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> mode,
|
||||
gdouble progress_start,
|
||||
gdouble progress_end);
|
||||
enum <a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a>;
|
||||
GdkPixbuf* <a href="libgimp-gimppixbuf.html#gimp-image-get-thumbnail">gimp_image_get_thumbnail</a> (gint32 image_ID,
|
||||
gint width,
|
||||
gint height,
|
||||
<a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);
|
||||
GdkPixbuf* <a href="libgimp-gimppixbuf.html#gimp-drawable-get-thumbnail">gimp_drawable_get_thumbnail</a> (gint32 drawable_ID,
|
||||
gint width,
|
||||
gint height,
|
||||
<a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);
|
||||
GdkPixbuf* <a href="libgimp-gimppixbuf.html#gimp-drawable-get-sub-thumbnail">gimp_drawable_get_sub_thumbnail</a> (gint32 drawable_ID,
|
||||
gint src_x,
|
||||
gint src_y,
|
||||
gint src_width,
|
||||
gint src_height,
|
||||
gint dest_width,
|
||||
gint dest_height,
|
||||
<a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);
|
||||
gint32 <a href="libgimp-gimppixbuf.html#gimp-layer-new-from-pixbuf">gimp_layer_new_from_pixbuf</a> (gint32 image_ID,
|
||||
const gchar *name,
|
||||
GdkPixbuf *pixbuf,
|
||||
gdouble opacity,
|
||||
<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> mode,
|
||||
gdouble progress_start,
|
||||
gdouble progress_end);
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2702687"></a><h2>Description</h2>
|
||||
<a name="id2715692"></a><h2>Description</h2>
|
||||
<p>
|
||||
Get a thumbnail pixbuf for a drawable or image.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2706246"></a><h2>Details</h2>
|
||||
<a name="id2713532"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2706257"></a><h3>
|
||||
<a name="id2713542"></a><h3>
|
||||
<a name="GimpPixbufTransparency"></a>enum GimpPixbufTransparency</h3>
|
||||
<a class="indexterm" name="id2706268"></a><pre class="programlisting">typedef enum
|
||||
<a class="indexterm" name="id2713553"></a><pre class="programlisting">typedef enum
|
||||
{
|
||||
GIMP_PIXBUF_KEEP_ALPHA,
|
||||
GIMP_PIXBUF_SMALL_CHECKS,
|
||||
@ -102,12 +102,12 @@ Get a thumbnail pixbuf for a drawable or image.
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2706285"></a><h3>
|
||||
<a name="id2713570"></a><h3>
|
||||
<a name="gimp-image-get-thumbnail"></a>gimp_image_get_thumbnail ()</h3>
|
||||
<a class="indexterm" name="id2706298"></a><pre class="programlisting">GdkPixbuf* gimp_image_get_thumbnail (gint32 image_ID,
|
||||
gint width,
|
||||
gint height,
|
||||
<a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);</pre>
|
||||
<a class="indexterm" name="id2713583"></a><pre class="programlisting">GdkPixbuf* gimp_image_get_thumbnail (gint32 image_ID,
|
||||
gint width,
|
||||
gint height,
|
||||
<a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);</pre>
|
||||
<p>
|
||||
Retrieves a thumbnail pixbuf for the image identified by <em class="parameter"><code>image_ID</code></em>.
|
||||
The thumbnail will be not larger than the requested size.</p>
|
||||
@ -145,17 +145,17 @@ The thumbnail will be not larger than the requested size.</p>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<p>Since GIMP 2.2
|
||||
<p class="since">Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2709494"></a><h3>
|
||||
<a name="id2718855"></a><h3>
|
||||
<a name="gimp-drawable-get-thumbnail"></a>gimp_drawable_get_thumbnail ()</h3>
|
||||
<a class="indexterm" name="id2709507"></a><pre class="programlisting">GdkPixbuf* gimp_drawable_get_thumbnail (gint32 drawable_ID,
|
||||
gint width,
|
||||
gint height,
|
||||
<a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);</pre>
|
||||
<a class="indexterm" name="id2718868"></a><pre class="programlisting">GdkPixbuf* gimp_drawable_get_thumbnail (gint32 drawable_ID,
|
||||
gint width,
|
||||
gint height,
|
||||
<a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);</pre>
|
||||
<p>
|
||||
Retrieves a thumbnail pixbuf for the drawable identified by
|
||||
<em class="parameter"><code>drawable_ID</code></em>. The thumbnail will be not larger than the requested
|
||||
@ -194,21 +194,21 @@ size.</p>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<p>Since GIMP 2.2
|
||||
<p class="since">Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2709649"></a><h3>
|
||||
<a name="id2719014"></a><h3>
|
||||
<a name="gimp-drawable-get-sub-thumbnail"></a>gimp_drawable_get_sub_thumbnail ()</h3>
|
||||
<a class="indexterm" name="id2709662"></a><pre class="programlisting">GdkPixbuf* gimp_drawable_get_sub_thumbnail (gint32 drawable_ID,
|
||||
gint src_x,
|
||||
gint src_y,
|
||||
gint src_width,
|
||||
gint src_height,
|
||||
gint dest_width,
|
||||
gint dest_height,
|
||||
<a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);</pre>
|
||||
<a class="indexterm" name="id2719027"></a><pre class="programlisting">GdkPixbuf* gimp_drawable_get_sub_thumbnail (gint32 drawable_ID,
|
||||
gint src_x,
|
||||
gint src_y,
|
||||
gint src_width,
|
||||
gint src_height,
|
||||
gint dest_width,
|
||||
gint dest_height,
|
||||
<a href="libgimp-gimppixbuf.html#GimpPixbufTransparency">GimpPixbufTransparency</a> alpha);</pre>
|
||||
<p>
|
||||
Retrieves a thumbnail pixbuf for the drawable identified by
|
||||
<em class="parameter"><code>drawable_ID</code></em>. The thumbnail will be not larger than the requested
|
||||
@ -267,20 +267,20 @@ size.</p>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<p>Since GIMP 2.2
|
||||
<p class="since">Since GIMP 2.2
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2706713"></a><h3>
|
||||
<a name="id2715906"></a><h3>
|
||||
<a name="gimp-layer-new-from-pixbuf"></a>gimp_layer_new_from_pixbuf ()</h3>
|
||||
<a class="indexterm" name="id2706727"></a><pre class="programlisting">gint32 gimp_layer_new_from_pixbuf (gint32 image_ID,
|
||||
const gchar *name,
|
||||
GdkPixbuf *pixbuf,
|
||||
gdouble opacity,
|
||||
<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> mode,
|
||||
gdouble progress_start,
|
||||
gdouble progress_end);</pre>
|
||||
<a class="indexterm" name="id2715920"></a><pre class="programlisting">gint32 gimp_layer_new_from_pixbuf (gint32 image_ID,
|
||||
const gchar *name,
|
||||
GdkPixbuf *pixbuf,
|
||||
gdouble opacity,
|
||||
<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> mode,
|
||||
gdouble progress_start,
|
||||
gdouble progress_end);</pre>
|
||||
<p>
|
||||
Create a new layer from a <code class="literal">GdkPixbuf</code>.
|
||||
</p>
|
||||
@ -342,7 +342,7 @@ If you pass <em class="parameter"><code>progress_end</code></em> > <em class=
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<p>Since GIMP 2.4
|
||||
<p class="since">Since GIMP 2.4
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user