Imported Upstream version 2.2.12

This commit is contained in:
Ari Pollak
2010-08-11 01:16:40 -04:00
parent 36a37ecc21
commit c055124f1e
253 changed files with 21361 additions and 26160 deletions

View File

@ -1,3 +1,4 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
@ -7,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.4 (XML mode)">
<meta name="generator" content="GTK-Doc V1.6 (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">
@ -19,32 +20,39 @@
<link rel="part" href="libgimpwidgets-deprecated.html" title="Part&#160;VI.&#160;Deprecated API">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GimpPixmap.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="libgimpwidgets-widgets.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<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></table>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
&#160;|&#160;
<a href="#desc" class="shortcut">Description</a>
&#160;|&#160;
<a href="#object_hierarchy" class="shortcut">Object Hierarchy</a>
&#160;|&#160;
<a href="#properties" 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><span class="refentrytitle">GimpPreviewArea</span></h2>
<h2><span class="refentrytitle"><a name="top_of_page"></a>GimpPreviewArea</span></h2>
<p>GimpPreviewArea &#8212; A general purpose preview widget which caches its pixel data.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<a name="synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a href="GimpPreviewArea.html#GimpPreviewArea-struct">GimpPreviewArea</a>;
<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* <a href="GimpPreviewArea.html#gimp-preview-area-new">gimp_preview_area_new</a> (void);
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,
@ -100,37 +108,30 @@ void <a href="GimpPreviewArea.html#gimp-preview-area-set-max-size">gimp_p
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,
<a
href="../gdk/gdk-Event-Structures.html#GdkEventButton"
>GdkEventButton</a> *event);
GdkEventButton *event);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2568149"></a><h2>Object Hierarchy</h2>
<a name="object_hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----<a
href="../gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="../gtk/GtkWidget.html"
>GtkWidget</a>
+----<a
href="../gtk/GtkDrawingArea.html"
>GtkDrawingArea</a>
+----GimpPreviewArea
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkDrawingArea
+----GimpPreviewArea
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2568186"></a><h2>Implemented Interfaces</h2>
<a name="impl_interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpPreviewArea implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="id2568203"></a><h2>Properties</h2>
<a name="properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GimpPreviewArea.html#GimpPreviewArea--check-size">check-size</a>" <a
@ -142,28 +143,26 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCheckType"
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2568241"></a><h2>Description</h2>
<a name="desc"></a><h2>Description</h2>
<p>
A general purpose preview widget which caches its pixel data.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2568253"></a><h2>Details</h2>
<a name="details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2568259"></a><h3>
<a name="id2531698"></a><h3>
<a name="GimpPreviewArea-struct"></a>GimpPreviewArea</h3>
<a class="indexterm" name="id2568268"></a><pre class="programlisting">typedef struct _GimpPreviewArea GimpPreviewArea;</pre>
<a class="indexterm" name="id2531710"></a><pre class="programlisting">typedef struct _GimpPreviewArea GimpPreviewArea;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2568285"></a><h3>
<a name="id2531726"></a><h3>
<a name="gimp-preview-area-new"></a>gimp_preview_area_new ()</h3>
<a class="indexterm" name="id2568294"></a><pre class="programlisting"><a
href="../gtk/GtkWidget.html"
>GtkWidget</a>* gimp_preview_area_new (void);</pre>
<a class="indexterm" name="id2531737"></a><pre class="programlisting">GtkWidget* gimp_preview_area_new (void);</pre>
<p>
</p>
<p>
@ -183,9 +182,9 @@ Since GIMP 2.2
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2554815"></a><h3>
<a name="id2531783"></a><h3>
<a name="gimp-preview-area-draw"></a>gimp_preview_area_draw ()</h3>
<a class="indexterm" name="id2554824"></a><pre class="programlisting">void gimp_preview_area_draw (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
<a class="indexterm" name="id2531794"></a><pre class="programlisting">void gimp_preview_area_draw (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
@ -261,9 +260,9 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2573899"></a><h3>
<a name="id2582785"></a><h3>
<a name="gimp-preview-area-fill"></a>gimp_preview_area_fill ()</h3>
<a class="indexterm" name="id2573907"></a><pre class="programlisting">void gimp_preview_area_fill (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
<a class="indexterm" name="id2582795"></a><pre class="programlisting">void gimp_preview_area_fill (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
@ -336,9 +335,9 @@ Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2574107"></a><h3>
<a name="id2583006"></a><h3>
<a name="gimp-preview-area-blend"></a>gimp_preview_area_blend ()</h3>
<a class="indexterm" name="id2574116"></a><pre class="programlisting">void gimp_preview_area_blend (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
<a class="indexterm" name="id2583017"></a><pre class="programlisting">void gimp_preview_area_blend (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
@ -438,9 +437,9 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2574461"></a><h3>
<a name="id2583363"></a><h3>
<a name="gimp-preview-area-mask"></a>gimp_preview_area_mask ()</h3>
<a class="indexterm" name="id2574470"></a><pre class="programlisting">void gimp_preview_area_mask (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
<a class="indexterm" name="id2583374"></a><pre class="programlisting">void gimp_preview_area_mask (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
gint x,
gint y,
gint width,
@ -548,9 +547,9 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2574801"></a><h3>
<a name="id2583748"></a><h3>
<a name="gimp-preview-area-set-offsets"></a>gimp_preview_area_set_offsets ()</h3>
<a class="indexterm" name="id2574811"></a><pre class="programlisting">void gimp_preview_area_set_offsets (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
<a class="indexterm" name="id2583764"></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>
@ -587,9 +586,9 @@ when drawing the checkerboard and to determine the dither offsets.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2574906"></a><h3>
<a name="id2583870"></a><h3>
<a name="gimp-preview-area-set-colormap"></a>gimp_preview_area_set_colormap ()</h3>
<a class="indexterm" name="id2574916"></a><pre class="programlisting">void gimp_preview_area_set_colormap (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
<a class="indexterm" name="id2583883"></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>
@ -628,9 +627,9 @@ Since GIMP 2.2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2575042"></a><h3>
<a name="id2584030"></a><h3>
<a name="gimp-preview-area-set-max-size"></a>gimp_preview_area_set_max_size ()</h3>
<a class="indexterm" name="id2575052"></a><pre class="programlisting">void gimp_preview_area_set_max_size (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
<a class="indexterm" name="id2584045"></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>
@ -669,12 +668,10 @@ preview will draw itself centered into the allocated area.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2575157"></a><h3>
<a name="id2584162"></a><h3>
<a name="gimp-preview-area-menu-popup"></a>gimp_preview_area_menu_popup ()</h3>
<a class="indexterm" name="id2575167"></a><pre class="programlisting">void gimp_preview_area_menu_popup (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
<a
href="../gdk/gdk-Event-Structures.html#GdkEventButton"
>GdkEventButton</a> *event);</pre>
<a class="indexterm" name="id2584178"></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>
@ -703,11 +700,11 @@ the checkerboard pattern that the <em class="parameter"><code>area</code></em> u
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2575256"></a><h2>Properties</h2>
<a name="property_details"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2575261"></a><h3>
<a name="id2584292"></a><h3>
<a name="GimpPreviewArea--check-size"></a>The "<code class="literal">check-size</code>" property</h3>
<pre class="programlisting"> "check-size" <a
<a class="indexterm" name="id2584305"></a><pre class="programlisting"> "check-size" <a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCheckSize"
>GimpCheckSize</a> : Read / Write</pre>
<p></p>
@ -715,9 +712,9 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCheckSize"
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2575291"></a><h3>
<a name="id2584329"></a><h3>
<a name="GimpPreviewArea--check-type"></a>The "<code class="literal">check-type</code>" property</h3>
<pre class="programlisting"> "check-type" <a
<a class="indexterm" name="id2584343"></a><pre class="programlisting"> "check-type" <a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCheckType"
>GimpCheckType</a> : Read / Write</pre>
<p></p>
@ -725,9 +722,5 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCheckType"
</div>
</div>
</div>
<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle">
<td align="left"><a accesskey="p" href="GimpPixmap.html"><b>&lt;&lt;&#160;GimpPixmap</b></a></td>
<td align="right"><a accesskey="n" href="GimpPreview.html"><b>GimpPreview&#160;&gt;&gt;</b></a></td>
</tr></table>
</body>
</html>