Imported Upstream version 2.2.15

This commit is contained in:
Ari Pollak
2010-08-11 01:17:28 -04:00
parent a2f097051e
commit fa4c4bf0e0
341 changed files with 71841 additions and 17468 deletions

View File

@ -8,7 +8,7 @@
<link rel="up" href="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="prev" href="GimpPixmap.html" title="GimpPixmap">
<link rel="next" href="GimpPreview.html" title="GimpPreview">
<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="libgimpwidgets-widgets.html" title="Part&#160;I.&#160;GIMP Widgets">
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
@ -28,22 +28,22 @@
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GimpPreview.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="#id2582761" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2592615" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2610057" class="shortcut">Description</a>
<a href="#id2562057" class="shortcut">Description</a>
&#160;|&#160;
<a href="#id2609945" class="shortcut">Object Hierarchy</a>
<a href="#id2561945" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#id2609994" class="shortcut">Implemented Interfaces</a>
<a href="#id2561994" class="shortcut">Implemented Interfaces</a>
&#160;|&#160;
<a href="#id2610015" class="shortcut">Properties</a></nobr></td></tr>
<a href="#id2562015" class="shortcut">Properties</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GimpPreviewArea"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2582761"></a><span class="refentrytitle">GimpPreviewArea</span>
<a name="id2592615"></a><span class="refentrytitle">GimpPreviewArea</span>
</h2>
<p>GimpPreviewArea &#8212; A general purpose preview widget which caches its pixel data.</p>
</td>
@ -55,69 +55,69 @@
<a href="GimpPreviewArea.html#GimpPreviewArea-struct">GimpPreviewArea</a>;
GtkWidget* <a href="GimpPreviewArea.html#gimp-preview-area-new">gimp_preview_area_new</a> (void);
void <a href="GimpPreviewArea.html#gimp-preview-area-draw">gimp_preview_area_draw</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a
<a href="GimpPreviewArea.html#GimpPreviewArea-struct">GimpPreviewArea</a>;
GtkWidget* <a href="GimpPreviewArea.html#gimp-preview-area-new">gimp_preview_area_new</a> (void);
void <a href="GimpPreviewArea.html#gimp-preview-area-draw">gimp_preview_area_draw</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
>GimpImageType</a> type,
const guchar *buf,
gint rowstride);
void <a href="GimpPreviewArea.html#gimp-preview-area-fill">gimp_preview_area_fill</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
guchar red,
guchar green,
guchar blue);
void <a href="GimpPreviewArea.html#gimp-preview-area-blend">gimp_preview_area_blend</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a
const guchar *buf,
gint rowstride);
void <a href="GimpPreviewArea.html#gimp-preview-area-fill">gimp_preview_area_fill</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
guchar red,
guchar green,
guchar blue);
void <a href="GimpPreviewArea.html#gimp-preview-area-blend">gimp_preview_area_blend</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
>GimpImageType</a> type,
const guchar *buf1,
gint rowstride1,
const guchar *buf2,
gint rowstride2,
guchar opacity);
void <a href="GimpPreviewArea.html#gimp-preview-area-mask">gimp_preview_area_mask</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a
const guchar *buf1,
gint rowstride1,
const guchar *buf2,
gint rowstride2,
guchar opacity);
void <a href="GimpPreviewArea.html#gimp-preview-area-mask">gimp_preview_area_mask</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
>GimpImageType</a> type,
const guchar *buf1,
gint rowstride1,
const guchar *buf2,
gint rowstride2,
const guchar *mask,
gint rowstride_mask);
void <a href="GimpPreviewArea.html#gimp-preview-area-set-offsets">gimp_preview_area_set_offsets</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y);
void <a href="GimpPreviewArea.html#gimp-preview-area-set-colormap">gimp_preview_area_set_colormap</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
const guchar *colormap,
gint num_colors);
void <a href="GimpPreviewArea.html#gimp-preview-area-set-max-size">gimp_preview_area_set_max_size</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint width,
gint height);
void <a href="GimpPreviewArea.html#gimp-preview-area-menu-popup">gimp_preview_area_menu_popup</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
GdkEventButton *event);
const guchar *buf1,
gint rowstride1,
const guchar *buf2,
gint rowstride2,
const guchar *mask,
gint rowstride_mask);
void <a href="GimpPreviewArea.html#gimp-preview-area-set-offsets">gimp_preview_area_set_offsets</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y);
void <a href="GimpPreviewArea.html#gimp-preview-area-set-colormap">gimp_preview_area_set_colormap</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
const guchar *colormap,
gint num_colors);
void <a href="GimpPreviewArea.html#gimp-preview-area-set-max-size">gimp_preview_area_set_max_size</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint width,
gint height);
void <a href="GimpPreviewArea.html#gimp-preview-area-menu-popup">gimp_preview_area_menu_popup</a> (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
GdkEventButton *event);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2609945"></a><h2>Object Hierarchy</h2>
<a name="id2561945"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
@ -129,44 +129,44 @@ void <a href="GimpPreviewArea.html#gimp-preview-area-menu-popup">gimp_pre
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2609994"></a><h2>Implemented Interfaces</h2>
<a name="id2561994"></a><h2>Implemented Interfaces</h2>
<p>
GimpPreviewArea implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2610015"></a><h2>Properties</h2>
<a name="id2562015"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpPreviewArea.html#GimpPreviewArea--check-size">check-size</a>" <a
"<a href="GimpPreviewArea.html#GimpPreviewArea--check-size">check-size</a>" <a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCheckSize"
>GimpCheckSize</a> : Read / Write
"<a href="GimpPreviewArea.html#GimpPreviewArea--check-type">check-type</a>" <a
"<a href="GimpPreviewArea.html#GimpPreviewArea--check-type">check-type</a>" <a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCheckType"
>GimpCheckType</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2610057"></a><h2>Description</h2>
<a name="id2562057"></a><h2>Description</h2>
<p>
A general purpose preview widget which caches its pixel data.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2610074"></a><h2>Details</h2>
<a name="id2612363"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2607740"></a><h3>
<a name="id2612373"></a><h3>
<a name="GimpPreviewArea-struct"></a>GimpPreviewArea</h3>
<a class="indexterm" name="id2607751"></a><pre class="programlisting">typedef struct _GimpPreviewArea GimpPreviewArea;</pre>
<a class="indexterm" name="id2612385"></a><pre class="programlisting">typedef struct _GimpPreviewArea GimpPreviewArea;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2607767"></a><h3>
<a name="id2612401"></a><h3>
<a name="gimp-preview-area-new"></a>gimp_preview_area_new ()</h3>
<a class="indexterm" name="id2607779"></a><pre class="programlisting">GtkWidget* gimp_preview_area_new (void);</pre>
<a class="indexterm" name="id2612413"></a><pre class="programlisting">GtkWidget* gimp_preview_area_new (void);</pre>
<p>
</p>
<p>
@ -185,18 +185,18 @@ Since GIMP 2.2
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2607824"></a><h3>
<a name="id2612460"></a><h3>
<a name="gimp-preview-area-draw"></a>gimp_preview_area_draw ()</h3>
<a class="indexterm" name="id2607836"></a><pre class="programlisting">void gimp_preview_area_draw (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a
<a class="indexterm" name="id2612471"></a><pre class="programlisting">void gimp_preview_area_draw (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
>GimpImageType</a> type,
const guchar *buf,
gint rowstride);</pre>
const guchar *buf,
gint rowstride);</pre>
<p>
Draws <em class="parameter"><code>buf</code></em> on <em class="parameter"><code>area</code></em> and queues a redraw on the given rectangle.
</p>
@ -255,16 +255,16 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615955"></a><h3>
<a name="id2615794"></a><h3>
<a name="gimp-preview-area-fill"></a>gimp_preview_area_fill ()</h3>
<a class="indexterm" name="id2615966"></a><pre class="programlisting">void gimp_preview_area_fill (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
guchar red,
guchar green,
guchar blue);</pre>
<a class="indexterm" name="id2615804"></a><pre class="programlisting">void gimp_preview_area_fill (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
guchar red,
guchar green,
guchar blue);</pre>
<p>
Fills <em class="parameter"><code>area</code></em> in the given color and queues a redraw on the given
rectangle.
@ -322,21 +322,21 @@ Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2616175"></a><h3>
<a name="id2615999"></a><h3>
<a name="gimp-preview-area-blend"></a>gimp_preview_area_blend ()</h3>
<a class="indexterm" name="id2616186"></a><pre class="programlisting">void gimp_preview_area_blend (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a
<a class="indexterm" name="id2616010"></a><pre class="programlisting">void gimp_preview_area_blend (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
>GimpImageType</a> type,
const guchar *buf1,
gint rowstride1,
const guchar *buf2,
gint rowstride2,
guchar opacity);</pre>
const guchar *buf1,
gint rowstride1,
const guchar *buf2,
gint rowstride2,
guchar opacity);</pre>
<p>
Composites <em class="parameter"><code>buf1</code></em> on <em class="parameter"><code>buf2</code></em> with the given <em class="parameter"><code>opacity</code></em>, draws the result
to <em class="parameter"><code>area</code></em> and queues a redraw on the given rectangle.
@ -413,22 +413,22 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2616532"></a><h3>
<a name="id2616318"></a><h3>
<a name="gimp-preview-area-mask"></a>gimp_preview_area_mask ()</h3>
<a class="indexterm" name="id2616543"></a><pre class="programlisting">void gimp_preview_area_mask (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a
<a class="indexterm" name="id2616329"></a><pre class="programlisting">void gimp_preview_area_mask (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
gint height,
<a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
>GimpImageType</a> type,
const guchar *buf1,
gint rowstride1,
const guchar *buf2,
gint rowstride2,
const guchar *mask,
gint rowstride_mask);</pre>
const guchar *buf1,
gint rowstride1,
const guchar *buf2,
gint rowstride2,
const guchar *mask,
gint rowstride_mask);</pre>
<p>
Composites <em class="parameter"><code>buf1</code></em> on <em class="parameter"><code>buf2</code></em> with the given <em class="parameter"><code>mask</code></em>, draws the result on
<em class="parameter"><code>area</code></em> and queues a redraw on the given rectangle.
@ -511,11 +511,11 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2616917"></a><h3>
<a name="id2616664"></a><h3>
<a name="gimp-preview-area-set-offsets"></a>gimp_preview_area_set_offsets ()</h3>
<a class="indexterm" name="id2616933"></a><pre class="programlisting">void gimp_preview_area_set_offsets (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y);</pre>
<a class="indexterm" name="id2616677"></a><pre class="programlisting">void gimp_preview_area_set_offsets (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y);</pre>
<p>
Sets the offsets of the previewed area. This information is used
when drawing the checkerboard and to determine the dither offsets.</p>
@ -542,16 +542,16 @@ when drawing the checkerboard and to determine the dither offsets.</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="id2617038"></a><h3>
<a name="id2616774"></a><h3>
<a name="gimp-preview-area-set-colormap"></a>gimp_preview_area_set_colormap ()</h3>
<a class="indexterm" name="id2617052"></a><pre class="programlisting">void gimp_preview_area_set_colormap (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
const guchar *colormap,
gint num_colors);</pre>
<a class="indexterm" name="id2616786"></a><pre class="programlisting">void gimp_preview_area_set_colormap (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
const guchar *colormap,
gint num_colors);</pre>
<p>
Sets the colormap for the <a href="GimpPreviewArea.html" title="GimpPreviewArea"><span class="type">GimpPreviewArea</span></a> widget. You need to
call this function before you use <a href="GimpPreviewArea.html#gimp-preview-area-draw"><code class="function">gimp_preview_area_draw()</code></a> with
@ -585,11 +585,11 @@ Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2617198"></a><h3>
<a name="id2616918"></a><h3>
<a name="gimp-preview-area-set-max-size"></a>gimp_preview_area_set_max_size ()</h3>
<a class="indexterm" name="id2617214"></a><pre class="programlisting">void gimp_preview_area_set_max_size (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint width,
gint height);</pre>
<a class="indexterm" name="id2616932"></a><pre class="programlisting">void gimp_preview_area_set_max_size (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint width,
gint height);</pre>
<p>
Usually a <a href="GimpPreviewArea.html" title="GimpPreviewArea"><span class="type">GimpPreviewArea</span></a> fills the size that it is
allocated. This funtion allows you to limit the preview area to a
@ -618,15 +618,15 @@ preview will draw itself centered into the allocated area.</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="id2617330"></a><h3>
<a name="id2617039"></a><h3>
<a name="gimp-preview-area-menu-popup"></a>gimp_preview_area_menu_popup ()</h3>
<a class="indexterm" name="id2593613"></a><pre class="programlisting">void gimp_preview_area_menu_popup (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
GdkEventButton *event);</pre>
<a class="indexterm" name="id2617054"></a><pre class="programlisting">void gimp_preview_area_menu_popup (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
GdkEventButton *event);</pre>
<p>
Creates a popup menu that allows to configure the size and type of
the checkerboard pattern that the <em class="parameter"><code>area</code></em> uses to visualize transparency.</p>
@ -648,16 +648,16 @@ the checkerboard pattern that the <em class="parameter"><code>area</code></em> u
</tr>
</tbody>
</table></div>
<p>Since GIMP 2.2
<p class="since">Since GIMP 2.2
</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2617419"></a><h2>Property Details</h2>
<a name="id2617148"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2617428"></a><h3>
<a name="id2617157"></a><h3>
<a name="GimpPreviewArea--check-size"></a>The "<code class="literal">check-size</code>" property</h3>
<a class="indexterm" name="id2617441"></a><pre class="programlisting"> "check-size" <a
<a class="indexterm" name="id2617170"></a><pre class="programlisting"> "check-size" <a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCheckSize"
>GimpCheckSize</a> : Read / Write</pre>
<p></p>
@ -665,9 +665,9 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCheckSize"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2617463"></a><h3>
<a name="id2617192"></a><h3>
<a name="GimpPreviewArea--check-type"></a>The "<code class="literal">check-type</code>" property</h3>
<a class="indexterm" name="id2617475"></a><pre class="programlisting"> "check-type" <a
<a class="indexterm" name="id2617205"></a><pre class="programlisting"> "check-type" <a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCheckType"
>GimpCheckType</a> : Read / Write</pre>
<p></p>