diff options
Diffstat (limited to '')
-rw-r--r-- | devel-docs/libgimpcolor/html/libgimpcolor-GimpBilinear.html | 226 |
1 files changed, 226 insertions, 0 deletions
diff --git a/devel-docs/libgimpcolor/html/libgimpcolor-GimpBilinear.html b/devel-docs/libgimpcolor/html/libgimpcolor-GimpBilinear.html new file mode 100644 index 0000000..d1835f3 --- /dev/null +++ b/devel-docs/libgimpcolor/html/libgimpcolor-GimpBilinear.html @@ -0,0 +1,226 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>GimpBilinear: GIMP Color Library Reference Manual</title> +<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> +<link rel="home" href="index.html" title="GIMP Color Library Reference Manual"> +<link rel="up" href="pt01.html" title="Part I. GIMP Color Library"> +<link rel="prev" href="libgimpcolor-GimpAdaptiveSupersample.html" title="GimpAdaptiveSupersample"> +<link rel="next" href="libgimpcolor-GimpCairo.html" title="GimpCairo"> +<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)"> +<link rel="stylesheet" href="style.css" type="text/css"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> +<td width="100%" align="left" class="shortcuts"> +<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> + <a href="#libgimpcolor-GimpBilinear.description" class="shortcut">Description</a></span> +</td> +<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> +<td><a accesskey="u" href="pt01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> +<td><a accesskey="p" href="libgimpcolor-GimpAdaptiveSupersample.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> +<td><a accesskey="n" href="libgimpcolor-GimpCairo.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> +</tr></table> +<div class="refentry"> +<a name="libgimpcolor-GimpBilinear"></a><div class="titlepage"></div> +<div class="refnamediv"><table width="100%"><tr> +<td valign="top"> +<h2><span class="refentrytitle"><a name="libgimpcolor-GimpBilinear.top_of_page"></a>GimpBilinear</span></h2> +<p>GimpBilinear — Utility functions for bilinear interpolation.</p> +</td> +<td class="gallery_image" valign="top" align="right"></td> +</tr></table></div> +<div class="refsect1"> +<a name="libgimpcolor-GimpBilinear.functions"></a><h2>Functions</h2> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="functions_proto_type"> +<col class="functions_proto_name"> +</colgroup> +<tbody> +<tr> +<td class="function_type"> +<span class="returnvalue">gdouble</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear" title="gimp_bilinear ()">gimp_bilinear</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">guchar</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear-8" title="gimp_bilinear_8 ()">gimp_bilinear_8</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">guint16</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear-16" title="gimp_bilinear_16 ()">gimp_bilinear_16</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">guint32</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear-32" title="gimp_bilinear_32 ()">gimp_bilinear_32</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="returnvalue">GimpRGB</span></a> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear-rgb" title="gimp_bilinear_rgb ()">gimp_bilinear_rgb</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="returnvalue">GimpRGB</span></a> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear-rgba" title="gimp_bilinear_rgba ()">gimp_bilinear_rgba</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<span class="returnvalue">void</span> +</td> +<td class="function_name"> +<a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear-pixels-8" title="gimp_bilinear_pixels_8 ()">gimp_bilinear_pixels_8</a> <span class="c_punctuation">()</span> +</td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpBilinear.description"></a><h2>Description</h2> +<p>Utility functions for bilinear interpolation.</p> +</div> +<div class="refsect1"> +<a name="libgimpcolor-GimpBilinear.functions_details"></a><h2>Functions</h2> +<div class="refsect2"> +<a name="gimp-bilinear"></a><h3>gimp_bilinear ()</h3> +<pre class="programlisting"><span class="returnvalue">gdouble</span> +gimp_bilinear (<em class="parameter"><code><span class="type">gdouble</span> x</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> y</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> *values</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-bilinear-8"></a><h3>gimp_bilinear_8 ()</h3> +<pre class="programlisting"><span class="returnvalue">guchar</span> +gimp_bilinear_8 (<em class="parameter"><code><span class="type">gdouble</span> x</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> y</code></em>, + <em class="parameter"><code><span class="type">guchar</span> *values</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-bilinear-16"></a><h3>gimp_bilinear_16 ()</h3> +<pre class="programlisting"><span class="returnvalue">guint16</span> +gimp_bilinear_16 (<em class="parameter"><code><span class="type">gdouble</span> x</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> y</code></em>, + <em class="parameter"><code><span class="type">guint16</span> *values</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-bilinear-32"></a><h3>gimp_bilinear_32 ()</h3> +<pre class="programlisting"><span class="returnvalue">guint32</span> +gimp_bilinear_32 (<em class="parameter"><code><span class="type">gdouble</span> x</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> y</code></em>, + <em class="parameter"><code><span class="type">guint32</span> *values</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-bilinear-rgb"></a><h3>gimp_bilinear_rgb ()</h3> +<pre class="programlisting"><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="returnvalue">GimpRGB</span></a> +gimp_bilinear_rgb (<em class="parameter"><code><span class="type">gdouble</span> x</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> y</code></em>, + <em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *values</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-bilinear-rgba"></a><h3>gimp_bilinear_rgba ()</h3> +<pre class="programlisting"><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="returnvalue">GimpRGB</span></a> +gimp_bilinear_rgba (<em class="parameter"><code><span class="type">gdouble</span> x</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> y</code></em>, + <em class="parameter"><code><a class="link" href="libgimpcolor-GimpRGB.html#GimpRGB" title="struct GimpRGB"><span class="type">GimpRGB</span></a> *values</code></em>);</pre> +</div> +<hr> +<div class="refsect2"> +<a name="gimp-bilinear-pixels-8"></a><h3>gimp_bilinear_pixels_8 ()</h3> +<pre class="programlisting"><span class="returnvalue">void</span> +gimp_bilinear_pixels_8 (<em class="parameter"><code><span class="type">guchar</span> *dest</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> x</code></em>, + <em class="parameter"><code><span class="type">gdouble</span> y</code></em>, + <em class="parameter"><code><span class="type">guint</span> bpp</code></em>, + <em class="parameter"><code><span class="type">gboolean</span> has_alpha</code></em>, + <em class="parameter"><code><span class="type">guchar</span> **values</code></em>);</pre> +<div class="warning"><p><code class="literal">gimp_bilinear_pixels_8</code> is deprecated and should not be used in newly-written code.</p></div> +<p>Computes bilinear interpolation of four pixels.</p> +<p>When <em class="parameter"><code>has_alpha</code></em> + is <code class="literal">FALSE</code>, it's identical to <a class="link" href="libgimpcolor-GimpBilinear.html#gimp-bilinear-8" title="gimp_bilinear_8 ()"><code class="function">gimp_bilinear_8()</code></a> on +each channel separately. When <em class="parameter"><code>has_alpha</code></em> + is <code class="literal">TRUE</code>, it handles +alpha channel correctly.</p> +<p>The pixels in <em class="parameter"><code>values</code></em> + correspond to corner x, y coordinates in the +following order: [0,0], [1,0], [0,1], [1,1].</p> +<div class="refsect3"> +<a name="gimp-bilinear-pixels-8.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>dest</p></td> +<td class="parameter_description"><p>Pixel, where interpolation result is to be stored.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>x</p></td> +<td class="parameter_description"><p>x-coordinate (0.0 to 1.0).</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>y</p></td> +<td class="parameter_description"><p>y-coordinate (0.0 to 1.0).</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>bpp</p></td> +<td class="parameter_description"><p>Bytes per pixel. <em class="parameter"><code>dest</code></em> +and each <em class="parameter"><code>values</code></em> +item is an array of +<em class="parameter"><code>bpp</code></em> +bytes.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>has_alpha</p></td> +<td class="parameter_description"><p><code class="literal">TRUE</code> if the last channel is an alpha channel.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>values</p></td> +<td class="parameter_description"><p>Array of four pointers to pixels.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +</div> +</div> +</div> +<div class="footer"> +<hr>Generated by GTK-Doc V1.33.1</div> +</body> +</html>
\ No newline at end of file |