Imported Upstream version 2.2.14
This commit is contained in:
@ -3,12 +3,12 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>GimpPreviewArea</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
|
||||
<link rel="up" href="libgimpwidgets-widgets.html" title="Part I. 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.6 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
<link rel="part" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
|
||||
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
|
||||
@ -28,25 +28,29 @@
|
||||
<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="#top_of_page" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2582761" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#desc" class="shortcut">Description</a>
|
||||
<a href="#id2610057" class="shortcut">Description</a>
|
||||
 | 
|
||||
<a href="#object_hierarchy" class="shortcut">Object Hierarchy</a>
|
||||
<a href="#id2609945" class="shortcut">Object Hierarchy</a>
|
||||
 | 
|
||||
<a href="#properties" class="shortcut">Properties</a></nobr></td></tr>
|
||||
<a href="#id2609994" class="shortcut">Implemented Interfaces</a>
|
||||
 | 
|
||||
<a href="#id2610015" 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"><a name="top_of_page"></a>GimpPreviewArea</span></h2>
|
||||
<h2>
|
||||
<a name="id2582761"></a><span class="refentrytitle">GimpPreviewArea</span>
|
||||
</h2>
|
||||
<p>GimpPreviewArea — A general purpose preview widget which caches its pixel data.</p>
|
||||
</td>
|
||||
<td valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsynopsisdiv">
|
||||
<a name="synopsis"></a><h2>Synopsis</h2>
|
||||
<h2>Synopsis</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
|
||||
@ -113,7 +117,7 @@ void <a href="GimpPreviewArea.html#gimp-preview-area-menu-popup">gimp_pre
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="object_hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<a name="id2609945"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
GObject
|
||||
@ -125,13 +129,13 @@ void <a href="GimpPreviewArea.html#gimp-preview-area-menu-popup">gimp_pre
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="impl_interfaces"></a><h2>Implemented Interfaces</h2>
|
||||
<a name="id2609994"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GimpPreviewArea implements
|
||||
AtkImplementorIface.</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="properties"></a><h2>Properties</h2>
|
||||
<a name="id2610015"></a><h2>Properties</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
"<a href="GimpPreviewArea.html#GimpPreviewArea--check-size">check-size</a>" <a
|
||||
@ -143,26 +147,26 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCheckType"
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="desc"></a><h2>Description</h2>
|
||||
<a name="id2610057"></a><h2>Description</h2>
|
||||
<p>
|
||||
A general purpose preview widget which caches its pixel data.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="details"></a><h2>Details</h2>
|
||||
<a name="id2610074"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2531698"></a><h3>
|
||||
<a name="id2607740"></a><h3>
|
||||
<a name="GimpPreviewArea-struct"></a>GimpPreviewArea</h3>
|
||||
<a class="indexterm" name="id2531710"></a><pre class="programlisting">typedef struct _GimpPreviewArea GimpPreviewArea;</pre>
|
||||
<a class="indexterm" name="id2607751"></a><pre class="programlisting">typedef struct _GimpPreviewArea GimpPreviewArea;</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2531726"></a><h3>
|
||||
<a name="id2607767"></a><h3>
|
||||
<a name="gimp-preview-area-new"></a>gimp_preview_area_new ()</h3>
|
||||
<a class="indexterm" name="id2531737"></a><pre class="programlisting">GtkWidget* gimp_preview_area_new (void);</pre>
|
||||
<a class="indexterm" name="id2607779"></a><pre class="programlisting">GtkWidget* gimp_preview_area_new (void);</pre>
|
||||
<p>
|
||||
</p>
|
||||
<p>
|
||||
@ -171,8 +175,7 @@ A general purpose preview widget which caches its pixel data.
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> a new <a href="GimpPreviewArea.html" title="GimpPreviewArea"><span class="type">GimpPreviewArea</span></a> widget.
|
||||
|
||||
Since GIMP 2.2
|
||||
@ -182,9 +185,9 @@ Since GIMP 2.2
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2531783"></a><h3>
|
||||
<a name="id2607824"></a><h3>
|
||||
<a name="gimp-preview-area-draw"></a>gimp_preview_area_draw ()</h3>
|
||||
<a class="indexterm" name="id2531794"></a><pre class="programlisting">void gimp_preview_area_draw (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
|
||||
<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,
|
||||
@ -206,52 +209,44 @@ Since GIMP 2.2</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>area</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>area</code></em> :</span></td>
|
||||
<td> a <a href="GimpPreviewArea.html" title="GimpPreviewArea"><span class="type">GimpPreviewArea</span></a> widget.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>x</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>x</code></em> :</span></td>
|
||||
<td> x offset in preview
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>y</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>y</code></em> :</span></td>
|
||||
<td> y offset in preview
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>width</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>width</code></em> :</span></td>
|
||||
<td> buffer width
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>height</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>height</code></em> :</span></td>
|
||||
<td> buffer height
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>type</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>type</code></em> :</span></td>
|
||||
<td> the <a
|
||||
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
|
||||
><span class="type">GimpImageType</span></a> of <em class="parameter"><code>buf</code></em>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>buf</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>buf</code></em> :</span></td>
|
||||
<td> a <span class="type">guchar</span> buffer that contains the preview pixel data.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>rowstride</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>rowstride</code></em> :</span></td>
|
||||
<td> rowstride of <em class="parameter"><code>buf</code></em>
|
||||
</td>
|
||||
</tr>
|
||||
@ -260,9 +255,9 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2582785"></a><h3>
|
||||
<a name="id2615955"></a><h3>
|
||||
<a name="gimp-preview-area-fill"></a>gimp_preview_area_fill ()</h3>
|
||||
<a class="indexterm" name="id2582795"></a><pre class="programlisting">void gimp_preview_area_fill (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
|
||||
<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,
|
||||
@ -283,50 +278,42 @@ Since GIMP 2.2</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>area</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>area</code></em> :</span></td>
|
||||
<td> a <a href="GimpPreviewArea.html" title="GimpPreviewArea"><span class="type">GimpPreviewArea</span></a> widget.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>x</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>x</code></em> :</span></td>
|
||||
<td> x offset in preview
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>y</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>y</code></em> :</span></td>
|
||||
<td> y offset in preview
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>width</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>width</code></em> :</span></td>
|
||||
<td> buffer width
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>height</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>height</code></em> :</span></td>
|
||||
<td> buffer height
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>red</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>red</code></em> :</span></td>
|
||||
<td> red component of the fill color (0-255)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>green</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>green</code></em> :</span></td>
|
||||
<td> green component of the fill color (0-255)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>blue</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>blue</code></em> :</span></td>
|
||||
<td> red component of the fill color (0-255)
|
||||
</td>
|
||||
</tr>
|
||||
@ -335,9 +322,9 @@ Since GIMP 2.2</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2583006"></a><h3>
|
||||
<a name="id2616175"></a><h3>
|
||||
<a name="gimp-preview-area-blend"></a>gimp_preview_area_blend ()</h3>
|
||||
<a class="indexterm" name="id2583017"></a><pre class="programlisting">void gimp_preview_area_blend (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
|
||||
<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,
|
||||
@ -363,72 +350,61 @@ Since GIMP 2.2</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>area</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>area</code></em> :</span></td>
|
||||
<td> a <a href="GimpPreviewArea.html" title="GimpPreviewArea"><span class="type">GimpPreviewArea</span></a> widget.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>x</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>x</code></em> :</span></td>
|
||||
<td> x offset in preview
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>y</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>y</code></em> :</span></td>
|
||||
<td> y offset in preview
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>width</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>width</code></em> :</span></td>
|
||||
<td> buffer width
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>height</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>height</code></em> :</span></td>
|
||||
<td> buffer height
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>type</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>type</code></em> :</span></td>
|
||||
<td> the <a
|
||||
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
|
||||
><span class="type">GimpImageType</span></a> of <em class="parameter"><code>buf1</code></em> and <em class="parameter"><code>buf2</code></em>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>buf1</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>buf1</code></em> :</span></td>
|
||||
<td> a <span class="type">guchar</span> buffer that contains the pixel data for
|
||||
the lower layer
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>rowstride1</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>rowstride1</code></em> :</span></td>
|
||||
<td> rowstride of <em class="parameter"><code>buf1</code></em>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>buf2</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>buf2</code></em> :</span></td>
|
||||
<td> a <span class="type">guchar</span> buffer that contains the pixel data for
|
||||
the upper layer
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>rowstride2</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>rowstride2</code></em> :</span></td>
|
||||
<td> rowstride of <em class="parameter"><code>buf2</code></em>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>opacity</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>opacity</code></em> :</span></td>
|
||||
<td> The opacity of the first layer.
|
||||
</td>
|
||||
</tr>
|
||||
@ -437,9 +413,9 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2583363"></a><h3>
|
||||
<a name="id2616532"></a><h3>
|
||||
<a name="gimp-preview-area-mask"></a>gimp_preview_area_mask ()</h3>
|
||||
<a class="indexterm" name="id2583374"></a><pre class="programlisting">void gimp_preview_area_mask (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
|
||||
<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,
|
||||
@ -466,79 +442,67 @@ Since GIMP 2.2</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>area</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>area</code></em> :</span></td>
|
||||
<td> a <a href="GimpPreviewArea.html" title="GimpPreviewArea"><span class="type">GimpPreviewArea</span></a> widget.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>x</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>x</code></em> :</span></td>
|
||||
<td> x offset in preview
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>y</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>y</code></em> :</span></td>
|
||||
<td> y offset in preview
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>width</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>width</code></em> :</span></td>
|
||||
<td> buffer width
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>height</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>height</code></em> :</span></td>
|
||||
<td> buffer height
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>type</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>type</code></em> :</span></td>
|
||||
<td> the <a
|
||||
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
|
||||
><span class="type">GimpImageType</span></a> of <em class="parameter"><code>buf1</code></em> and <em class="parameter"><code>buf2</code></em>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>buf1</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>buf1</code></em> :</span></td>
|
||||
<td> a <span class="type">guchar</span> buffer that contains the pixel data for
|
||||
the lower layer
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>rowstride1</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>rowstride1</code></em> :</span></td>
|
||||
<td> rowstride of <em class="parameter"><code>buf1</code></em>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>buf2</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>buf2</code></em> :</span></td>
|
||||
<td> a <span class="type">guchar</span> buffer that contains the pixel data for
|
||||
the upper layer
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>rowstride2</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>rowstride2</code></em> :</span></td>
|
||||
<td> rowstride of <em class="parameter"><code>buf2</code></em>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>mask</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>mask</code></em> :</span></td>
|
||||
<td> a <span class="type">guchar</span> buffer representing the mask of the second
|
||||
layer.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>rowstride_mask</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>rowstride_mask</code></em> :</span></td>
|
||||
<td> rowstride for the mask.
|
||||
</td>
|
||||
</tr>
|
||||
@ -547,9 +511,9 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2583748"></a><h3>
|
||||
<a name="id2616917"></a><h3>
|
||||
<a name="gimp-preview-area-set-offsets"></a>gimp_preview_area_set_offsets ()</h3>
|
||||
<a class="indexterm" name="id2583764"></a><pre class="programlisting">void gimp_preview_area_set_offsets (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
|
||||
<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>
|
||||
<p>
|
||||
@ -562,20 +526,17 @@ when drawing the checkerboard and to determine the dither offsets.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>area</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>area</code></em> :</span></td>
|
||||
<td> a <a href="GimpPreviewArea.html" title="GimpPreviewArea"><span class="type">GimpPreviewArea</span></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>x</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>x</code></em> :</span></td>
|
||||
<td> horizontal offset
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>y</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>y</code></em> :</span></td>
|
||||
<td> vertical offset
|
||||
</td>
|
||||
</tr>
|
||||
@ -586,9 +547,9 @@ when drawing the checkerboard and to determine the dither offsets.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2583870"></a><h3>
|
||||
<a name="id2617038"></a><h3>
|
||||
<a name="gimp-preview-area-set-colormap"></a>gimp_preview_area_set_colormap ()</h3>
|
||||
<a class="indexterm" name="id2583883"></a><pre class="programlisting">void gimp_preview_area_set_colormap (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
|
||||
<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>
|
||||
<p>
|
||||
@ -605,20 +566,17 @@ Since GIMP 2.2</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>area</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>area</code></em> :</span></td>
|
||||
<td> a <a href="GimpPreviewArea.html" title="GimpPreviewArea"><span class="type">GimpPreviewArea</span></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>colormap</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>colormap</code></em> :</span></td>
|
||||
<td> a <span class="type">guchar</span> buffer that contains the colormap
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>num_colors</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>num_colors</code></em> :</span></td>
|
||||
<td> the number of colors in the colormap
|
||||
</td>
|
||||
</tr>
|
||||
@ -627,9 +585,9 @@ Since GIMP 2.2</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2584030"></a><h3>
|
||||
<a name="id2617198"></a><h3>
|
||||
<a name="gimp-preview-area-set-max-size"></a>gimp_preview_area_set_max_size ()</h3>
|
||||
<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,
|
||||
<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>
|
||||
<p>
|
||||
@ -644,20 +602,17 @@ preview will draw itself centered into the allocated area.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>area</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>area</code></em> :</span></td>
|
||||
<td> a <a href="GimpPreviewArea.html" title="GimpPreviewArea"><span class="type">GimpPreviewArea</span></a> widget
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>width</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>width</code></em> :</span></td>
|
||||
<td> the maximum width in pixels or -1 to unset the limit
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>height</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>height</code></em> :</span></td>
|
||||
<td> the maximum height in pixels or -1 to unset the limit
|
||||
</td>
|
||||
</tr>
|
||||
@ -668,9 +623,9 @@ preview will draw itself centered into the allocated area.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2584162"></a><h3>
|
||||
<a name="id2617330"></a><h3>
|
||||
<a name="gimp-preview-area-menu-popup"></a>gimp_preview_area_menu_popup ()</h3>
|
||||
<a class="indexterm" name="id2584178"></a><pre class="programlisting">void gimp_preview_area_menu_popup (<a href="GimpPreviewArea.html" title="GimpPreviewArea">GimpPreviewArea</a> *area,
|
||||
<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>
|
||||
<p>
|
||||
Creates a popup menu that allows to configure the size and type of
|
||||
@ -682,14 +637,12 @@ the checkerboard pattern that the <em class="parameter"><code>area</code></em> u
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>area</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>area</code></em> :</span></td>
|
||||
<td> a <a href="GimpPreviewArea.html" title="GimpPreviewArea"><span class="type">GimpPreviewArea</span></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>event</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>event</code></em> :</span></td>
|
||||
<td> the button event that causes the menu to popup or <code class="literal">NULL</code>
|
||||
</td>
|
||||
</tr>
|
||||
@ -700,11 +653,11 @@ the checkerboard pattern that the <em class="parameter"><code>area</code></em> u
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="property_details"></a><h2>Property Details</h2>
|
||||
<a name="id2617419"></a><h2>Property Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2584292"></a><h3>
|
||||
<a name="id2617428"></a><h3>
|
||||
<a name="GimpPreviewArea--check-size"></a>The "<code class="literal">check-size</code>" property</h3>
|
||||
<a class="indexterm" name="id2584305"></a><pre class="programlisting"> "check-size" <a
|
||||
<a class="indexterm" name="id2617441"></a><pre class="programlisting"> "check-size" <a
|
||||
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCheckSize"
|
||||
>GimpCheckSize</a> : Read / Write</pre>
|
||||
<p></p>
|
||||
@ -712,9 +665,9 @@ href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCheckSize"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2584329"></a><h3>
|
||||
<a name="id2617463"></a><h3>
|
||||
<a name="GimpPreviewArea--check-type"></a>The "<code class="literal">check-type</code>" property</h3>
|
||||
<a class="indexterm" name="id2584343"></a><pre class="programlisting"> "check-type" <a
|
||||
<a class="indexterm" name="id2617475"></a><pre class="programlisting"> "check-type" <a
|
||||
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCheckType"
|
||||
>GimpCheckType</a> : Read / Write</pre>
|
||||
<p></p>
|
||||
|
||||
Reference in New Issue
Block a user