Imported Upstream version 2.2.14

This commit is contained in:
Ari Pollak
2010-08-11 01:17:12 -04:00
parent 70ad8213cf
commit a2f097051e
490 changed files with 35329 additions and 58398 deletions

View File

@ -259,6 +259,7 @@ MKINSTALLDIRS = @MKINSTALLDIRS@
MMX_EXTRA_CFLAGS = @MMX_EXTRA_CFLAGS@
MNG = @MNG@
MSGFMT = @MSGFMT@
MSGFMT_OPTS = @MSGFMT_OPTS@
MS_LIB_AVAILABLE_FALSE = @MS_LIB_AVAILABLE_FALSE@
MS_LIB_AVAILABLE_TRUE = @MS_LIB_AVAILABLE_TRUE@
OBJDUMP = @OBJDUMP@

View File

@ -1,56 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GIMP Color Library Reference Manual</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 Color Library Reference Manual">
<link rel="next" href="libgimpcolor.html" title="Part&#160;I.&#160;GIMP Color Library">
<meta name="generator" content="GTK-Doc V1.4 (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="libgimpcolor.html" title="Part&#160;I.&#160;GIMP Color Library">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="book" lang="en">
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="book" lang="en">
<div class="titlepage">
<div>
<div><table class="navigation" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GIMP Color Library Reference Manual</p></th></tr></table></div>
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GIMP Color Library Reference Manual</p></th></tr></table></div>
<div><p class="releaseinfo">
for GIMP 2.2.9
for GIMP 2.2.14
</p></div>
</div>
<hr>
</div>
<div class="toc">
<p><b>Table of Contents</b></p>
<dl>
<div class="toc"><dl>
<dt><span class="part"><a href="libgimpcolor.html">I. GIMP Color Library</a></span></dt>
<dd><dl>
<dt>
<span class="refentrytitle"><a href="libgimpcolor-GimpRGB.html">GimpRGB</a></span><span class="refpurpose"> - Definitions and Functions relating to RGB colors.</span>
<span class="refentrytitle"><a href="libgimpcolor-GimpRGB.html">GimpRGB</a></span><span class="refpurpose"> &#8212; Definitions and Functions relating to RGB colors.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpcolor-GimpHSV.html">GimpHSV</a></span><span class="refpurpose"> - Definitions and Functions relating to HSV colors.</span>
<span class="refentrytitle"><a href="libgimpcolor-GimpHSV.html">GimpHSV</a></span><span class="refpurpose"> &#8212; Definitions and Functions relating to HSV colors.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpcolor-GimpCMYK.html">GimpCMYK</a></span><span class="refpurpose"> - Definitions and Functions relating to CMYK colors.</span>
<span class="refentrytitle"><a href="libgimpcolor-GimpCMYK.html">GimpCMYK</a></span><span class="refpurpose"> &#8212; Definitions and Functions relating to CMYK colors.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpcolor-GimpColorSpace.html">GimpColorSpace</a></span><span class="refpurpose"> - Utility functions which convert colors between different color models.</span>
<span class="refentrytitle"><a href="libgimpcolor-GimpColorSpace.html">GimpColorSpace</a></span><span class="refpurpose"> &#8212; Utility functions which convert colors between different color models.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpcolor-GimpAdaptiveSupersample.html">GimpAdaptiveSupersample</a></span><span class="refpurpose"> - Functions to perform adaptive supersampling on an area.</span>
<span class="refentrytitle"><a href="libgimpcolor-GimpAdaptiveSupersample.html">GimpAdaptiveSupersample</a></span><span class="refpurpose"> &#8212; Functions to perform adaptive supersampling on an area.</span>
</dt>
<dt>
<span class="refentrytitle"><a href="libgimpcolor-GimpBilinear.html">GimpBilinear</a></span><span class="refpurpose"> - </span>
<span class="refentrytitle"><a href="libgimpcolor-GimpBilinear.html">GimpBilinear</a></span><span class="refpurpose"></span>
</dt>
</dl></dd>
</dl>
</div>
</div>
<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle">
<td align="left"></td>
<td align="right"><a accesskey="n" href="libgimpcolor.html"><b>Part&#160;I.&#160;GIMP Color Library&#160;&gt;&gt;</b></a></td>
</tr></table>
</body>
</dl></div>
</div></body>
</html>

View File

@ -1,29 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GimpAdaptiveSupersample</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 Color Library Reference Manual">
<link rel="up" href="libgimpcolor.html" title="Part&#160;I.&#160;GIMP Color Library">
<link rel="prev" href="libgimpcolor-GimpColorSpace.html" title="GimpColorSpace">
<link rel="next" href="libgimpcolor-GimpBilinear.html" title="GimpBilinear">
<meta name="generator" content="GTK-Doc V1.4 (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="libgimpcolor.html" title="Part&#160;I.&#160;GIMP Color Library">
</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="libgimpcolor-GimpColorSpace.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="libgimpcolor.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 Color Library Reference Manual</th>
<td><a accesskey="n" href="libgimpcolor-GimpBilinear.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="#id2586240" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2563392" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpcolor-GimpAdaptiveSupersample"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">GimpAdaptiveSupersample</span></h2>
<h2>
<a name="id2586240"></a><span class="refentrytitle">GimpAdaptiveSupersample</span>
</h2>
<p>GimpAdaptiveSupersample &#8212; Functions to perform adaptive supersampling on an area.</p>
</td>
<td valign="top" align="right"></td>
@ -61,17 +69,17 @@ gulong <a href="libgimpcolor-GimpAdaptiveSupersample.html#gimp-adaptive-sup
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2546278"></a><h2>Description</h2>
<a name="id2563392"></a><h2>Description</h2>
<p>
Functions to perform adaptive supersampling on an area.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2546290"></a><h2>Details</h2>
<a name="id2563409"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2546296"></a><h3>
<a name="id2563419"></a><h3>
<a name="GimpProgressFunc"></a>GimpProgressFunc ()</h3>
<a class="indexterm" name="id2546307"></a><pre class="programlisting">void (*GimpProgressFunc) (gint min,
<a class="indexterm" name="id2563432"></a><pre class="programlisting">void (*GimpProgressFunc) (gint min,
gint max,
gint current,
gpointer data);</pre>
@ -82,26 +90,22 @@ Functions to perform adaptive supersampling on an area.
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>min</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>min</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>max</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>max</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>current</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>current</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
<td>
@ -112,9 +116,9 @@ Functions to perform adaptive supersampling on an area.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2526836"></a><h3>
<a name="id2561017"></a><h3>
<a name="GimpPutPixelFunc"></a>GimpPutPixelFunc ()</h3>
<a class="indexterm" name="id2526846"></a><pre class="programlisting">void (*GimpPutPixelFunc) (gint x,
<a class="indexterm" name="id2561029"></a><pre class="programlisting">void (*GimpPutPixelFunc) (gint x,
gint y,
<a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *color,
gpointer data);</pre>
@ -125,26 +129,22 @@ Functions to perform adaptive supersampling on an area.
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>color</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>color</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
<td>
@ -155,9 +155,9 @@ Functions to perform adaptive supersampling on an area.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2526954"></a><h3>
<a name="id2561137"></a><h3>
<a name="GimpRenderFunc"></a>GimpRenderFunc ()</h3>
<a class="indexterm" name="id2526964"></a><pre class="programlisting">void (*GimpRenderFunc) (gdouble x,
<a class="indexterm" name="id2561149"></a><pre class="programlisting">void (*GimpRenderFunc) (gdouble x,
gdouble y,
<a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *color,
gpointer data);</pre>
@ -168,26 +168,22 @@ Functions to perform adaptive supersampling on an area.
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>color</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>color</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td>
<td>
@ -198,9 +194,9 @@ Functions to perform adaptive supersampling on an area.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2527072"></a><h3>
<a name="id2605166"></a><h3>
<a name="gimp-adaptive-supersample-area"></a>gimp_adaptive_supersample_area ()</h3>
<a class="indexterm" name="id2527081"></a><pre class="programlisting">gulong gimp_adaptive_supersample_area (gint x1,
<a class="indexterm" name="id2605178"></a><pre class="programlisting">gulong gimp_adaptive_supersample_area (gint x1,
gint y1,
gint x2,
gint y2,
@ -219,80 +215,67 @@ Functions to perform adaptive supersampling on an area.
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>x1</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>x1</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y1</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>y1</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x2</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>x2</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y2</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>y2</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>max_depth</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>max_depth</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>threshold</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>threshold</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>render_func</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>render_func</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>render_data</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>render_data</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>put_pixel_func</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>put_pixel_func</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>put_pixel_data</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>put_pixel_data</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>progress_func</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>progress_func</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>progress_data</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>progress_data</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>
@ -303,9 +286,5 @@ Functions to perform adaptive supersampling on an area.
</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="libgimpcolor-GimpColorSpace.html"><b>&lt;&lt;&#160;GimpColorSpace</b></a></td>
<td align="right"><a accesskey="n" href="libgimpcolor-GimpBilinear.html"><b>GimpBilinear&#160;&gt;&gt;</b></a></td>
</tr></table>
</body>
</html>

View File

@ -1,28 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GimpBilinear</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 Color Library Reference Manual">
<link rel="up" href="libgimpcolor.html" title="Part&#160;I.&#160;GIMP Color Library">
<link rel="prev" href="libgimpcolor-GimpAdaptiveSupersample.html" title="GimpAdaptiveSupersample">
<meta name="generator" content="GTK-Doc V1.4 (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="libgimpcolor.html" title="Part&#160;I.&#160;GIMP Color Library">
</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="libgimpcolor-GimpAdaptiveSupersample.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="libgimpcolor.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 Color Library Reference Manual</th>
</tr></table>
<td>&#160;</td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2585801" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2560896" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpcolor-GimpBilinear"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">GimpBilinear</span></h2>
<p>GimpBilinear &#8212; </p>
<h2>
<a name="id2585801"></a><span class="refentrytitle">GimpBilinear</span>
</h2>
<p>GimpBilinear</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
@ -59,17 +68,17 @@ void <a href="libgimpcolor-GimpBilinear.html#gimp-bilinear-pixels-8">gimp
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2558477"></a><h2>Description</h2>
<a name="id2560896"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2558488"></a><h2>Details</h2>
<a name="id2560912"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2558494"></a><h3>
<a name="id2560922"></a><h3>
<a name="gimp-bilinear"></a>gimp_bilinear ()</h3>
<a class="indexterm" name="id2558504"></a><pre class="programlisting">gdouble gimp_bilinear (gdouble x,
<a class="indexterm" name="id2560935"></a><pre class="programlisting">gdouble gimp_bilinear (gdouble x,
gdouble y,
gdouble *values);</pre>
<p>
@ -79,26 +88,22 @@ void <a href="libgimpcolor-GimpBilinear.html#gimp-bilinear-pixels-8">gimp
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>values</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>values</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>
@ -109,9 +114,9 @@ void <a href="libgimpcolor-GimpBilinear.html#gimp-bilinear-pixels-8">gimp
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2516771"></a><h3>
<a name="id2604382"></a><h3>
<a name="gimp-bilinear-8"></a>gimp_bilinear_8 ()</h3>
<a class="indexterm" name="id2516781"></a><pre class="programlisting">guchar gimp_bilinear_8 (gdouble x,
<a class="indexterm" name="id2604394"></a><pre class="programlisting">guchar gimp_bilinear_8 (gdouble x,
gdouble y,
guchar *values);</pre>
<p>
@ -121,26 +126,22 @@ void <a href="libgimpcolor-GimpBilinear.html#gimp-bilinear-pixels-8">gimp
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>values</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>values</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>
@ -151,9 +152,9 @@ void <a href="libgimpcolor-GimpBilinear.html#gimp-bilinear-pixels-8">gimp
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2516879"></a><h3>
<a name="id2604492"></a><h3>
<a name="gimp-bilinear-16"></a>gimp_bilinear_16 ()</h3>
<a class="indexterm" name="id2516889"></a><pre class="programlisting">guint16 gimp_bilinear_16 (gdouble x,
<a class="indexterm" name="id2604504"></a><pre class="programlisting">guint16 gimp_bilinear_16 (gdouble x,
gdouble y,
guint16 *values);</pre>
<p>
@ -163,26 +164,22 @@ void <a href="libgimpcolor-GimpBilinear.html#gimp-bilinear-pixels-8">gimp
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>values</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>values</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>
@ -193,9 +190,9 @@ void <a href="libgimpcolor-GimpBilinear.html#gimp-bilinear-pixels-8">gimp
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2516987"></a><h3>
<a name="id2576261"></a><h3>
<a name="gimp-bilinear-32"></a>gimp_bilinear_32 ()</h3>
<a class="indexterm" name="id2516997"></a><pre class="programlisting">guint32 gimp_bilinear_32 (gdouble x,
<a class="indexterm" name="id2576273"></a><pre class="programlisting">guint32 gimp_bilinear_32 (gdouble x,
gdouble y,
guint32 *values);</pre>
<p>
@ -205,26 +202,22 @@ void <a href="libgimpcolor-GimpBilinear.html#gimp-bilinear-pixels-8">gimp
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>values</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>values</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>
@ -235,9 +228,9 @@ void <a href="libgimpcolor-GimpBilinear.html#gimp-bilinear-pixels-8">gimp
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2523020"></a><h3>
<a name="id2576371"></a><h3>
<a name="gimp-bilinear-rgb"></a>gimp_bilinear_rgb ()</h3>
<a class="indexterm" name="id2523030"></a><pre class="programlisting"><a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> gimp_bilinear_rgb (gdouble x,
<a class="indexterm" name="id2576383"></a><pre class="programlisting"><a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> gimp_bilinear_rgb (gdouble x,
gdouble y,
<a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *values);</pre>
<p>
@ -247,26 +240,22 @@ void <a href="libgimpcolor-GimpBilinear.html#gimp-bilinear-pixels-8">gimp
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>values</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>values</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>
@ -277,9 +266,9 @@ void <a href="libgimpcolor-GimpBilinear.html#gimp-bilinear-pixels-8">gimp
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2523128"></a><h3>
<a name="id2576481"></a><h3>
<a name="gimp-bilinear-rgba"></a>gimp_bilinear_rgba ()</h3>
<a class="indexterm" name="id2523138"></a><pre class="programlisting"><a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> gimp_bilinear_rgba (gdouble x,
<a class="indexterm" name="id2576493"></a><pre class="programlisting"><a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> gimp_bilinear_rgba (gdouble x,
gdouble y,
<a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *values);</pre>
<p>
@ -289,26 +278,22 @@ void <a href="libgimpcolor-GimpBilinear.html#gimp-bilinear-pixels-8">gimp
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>values</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>values</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>
@ -319,9 +304,9 @@ void <a href="libgimpcolor-GimpBilinear.html#gimp-bilinear-pixels-8">gimp
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2566595"></a><h3>
<a name="id2607696"></a><h3>
<a name="gimp-bilinear-pixels-8"></a>gimp_bilinear_pixels_8 ()</h3>
<a class="indexterm" name="id2566603"></a><pre class="programlisting">void gimp_bilinear_pixels_8 (guchar *dest,
<a class="indexterm" name="id2607706"></a><pre class="programlisting">void gimp_bilinear_pixels_8 (guchar *dest,
gdouble x,
gdouble y,
guint bpp,
@ -345,39 +330,33 @@ following order: [0,0], [1,0], [0,1], [1,1].</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>dest</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>dest</code></em>&#160;:</span></td>
<td> Pixel, where interpolation result is to be stored.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
<td> x-coordinate (0.0 to 1.0).
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
<td> y-coordinate (0.0 to 1.0).
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>bpp</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>bpp</code></em>&#160;:</span></td>
<td> 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.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>has_alpha</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>has_alpha</code></em>&#160;:</span></td>
<td> <code class="literal">TRUE</code> if the last channel is an alpha channel.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>values</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>values</code></em>&#160;:</span></td>
<td> Array of four pointers to pixels.
</td>
</tr>
@ -386,9 +365,5 @@ following order: [0,0], [1,0], [0,1], [1,1].</p>
</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="libgimpcolor-GimpAdaptiveSupersample.html"><b>&lt;&lt;&#160;GimpAdaptiveSupersample</b></a></td>
<td align="right"></td>
</tr></table>
</body>
</html>

View File

@ -1,29 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GimpCMYK</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 Color Library Reference Manual">
<link rel="up" href="libgimpcolor.html" title="Part&#160;I.&#160;GIMP Color Library">
<link rel="prev" href="libgimpcolor-GimpHSV.html" title="GimpHSV">
<link rel="next" href="libgimpcolor-GimpColorSpace.html" title="GimpColorSpace">
<meta name="generator" content="GTK-Doc V1.4 (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="libgimpcolor.html" title="Part&#160;I.&#160;GIMP Color Library">
</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="libgimpcolor-GimpHSV.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="libgimpcolor.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 Color Library Reference Manual</th>
<td><a accesskey="n" href="libgimpcolor-GimpColorSpace.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="#id2594106" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2565435" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpcolor-GimpCMYK"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">GimpCMYK</span></h2>
<h2>
<a name="id2594106"></a><span class="refentrytitle">GimpCMYK</span>
</h2>
<p>GimpCMYK &#8212; Definitions and Functions relating to CMYK colors.</p>
</td>
<td valign="top" align="right"></td>
@ -71,17 +79,17 @@ void <a href="libgimpcolor-GimpCMYK.html#gimp-cmyka-get-uchar">gimp_cmyka
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2543762"></a><h2>Description</h2>
<a name="id2565435"></a><h2>Description</h2>
<p>
Definitions and Functions relating to CMYK colors.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543774"></a><h2>Details</h2>
<a name="id2565451"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2543780"></a><h3>
<a name="id2565462"></a><h3>
<a name="GimpCMYK"></a>GimpCMYK</h3>
<a class="indexterm" name="id2543790"></a><pre class="programlisting">typedef struct {
<a class="indexterm" name="id2564988"></a><pre class="programlisting">typedef struct {
gdouble c, m, y, k, a;
} GimpCMYK;
</pre>
@ -91,9 +99,9 @@ Definitions and Functions relating to CMYK colors.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2529731"></a><h3>
<a name="id2565004"></a><h3>
<a name="gimp-cmyk-set"></a>gimp_cmyk_set ()</h3>
<a class="indexterm" name="id2529742"></a><pre class="programlisting">void gimp_cmyk_set (<a href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyk,
<a class="indexterm" name="id2565016"></a><pre class="programlisting">void gimp_cmyk_set (<a href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyk,
gdouble cyan,
gdouble magenta,
gdouble yellow,
@ -108,32 +116,27 @@ values are doubles in the range 0 to 1.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>cmyk</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>cmyk</code></em>&#160;:</span></td>
<td> A <a href="libgimpcolor-GimpCMYK.html#GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYK value.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cyan</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>cyan</code></em>&#160;:</span></td>
<td> The Cyan channel of the CMYK value
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>magenta</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>magenta</code></em>&#160;:</span></td>
<td> The Magenta channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>yellow</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>yellow</code></em>&#160;:</span></td>
<td> The Yellow channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>black</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>black</code></em>&#160;:</span></td>
<td> The blacK channel
</td>
</tr>
@ -142,9 +145,9 @@ values are doubles in the range 0 to 1.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2529889"></a><h3>
<a name="id2565163"></a><h3>
<a name="gimp-cmyk-set-uchar"></a>gimp_cmyk_set_uchar ()</h3>
<a class="indexterm" name="id2529899"></a><pre class="programlisting">void gimp_cmyk_set_uchar (<a href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyk,
<a class="indexterm" name="id2565176"></a><pre class="programlisting">void gimp_cmyk_set_uchar (<a href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyk,
guchar cyan,
guchar magenta,
guchar yellow,
@ -159,32 +162,27 @@ unsigned chars in the range 0 to 255.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>cmyk</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>cmyk</code></em>&#160;:</span></td>
<td> A <a href="libgimpcolor-GimpCMYK.html#GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYK value.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cyan</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>cyan</code></em>&#160;:</span></td>
<td> The Cyan channel of the CMYK value
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>magenta</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>magenta</code></em>&#160;:</span></td>
<td> The Magenta channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>yellow</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>yellow</code></em>&#160;:</span></td>
<td> The Yellow channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>black</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>black</code></em>&#160;:</span></td>
<td> The blacK channel
</td>
</tr>
@ -193,9 +191,9 @@ unsigned chars in the range 0 to 255.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2525437"></a><h3>
<a name="id2600402"></a><h3>
<a name="gimp-cmyk-get-uchar"></a>gimp_cmyk_get_uchar ()</h3>
<a class="indexterm" name="id2525447"></a><pre class="programlisting">void gimp_cmyk_get_uchar (const <a href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyk,
<a class="indexterm" name="id2600414"></a><pre class="programlisting">void gimp_cmyk_get_uchar (const <a href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyk,
guchar *cyan,
guchar *magenta,
guchar *yellow,
@ -210,32 +208,27 @@ values are pointers to unsigned chars in the range 0 to 255.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>cmyk</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>cmyk</code></em>&#160;:</span></td>
<td> A <a href="libgimpcolor-GimpCMYK.html#GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYK value.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cyan</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>cyan</code></em>&#160;:</span></td>
<td> The Cyan channel of the CMYK value
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>magenta</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>magenta</code></em>&#160;:</span></td>
<td> The Magenta channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>yellow</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>yellow</code></em>&#160;:</span></td>
<td> The Yellow channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>black</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>black</code></em>&#160;:</span></td>
<td> The blacK channel
</td>
</tr>
@ -244,9 +237,9 @@ values are pointers to unsigned chars in the range 0 to 255.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2525597"></a><h3>
<a name="id2600564"></a><h3>
<a name="gimp-cmyka-set"></a>gimp_cmyka_set ()</h3>
<a class="indexterm" name="id2525607"></a><pre class="programlisting">void gimp_cmyka_set (<a href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyka,
<a class="indexterm" name="id2600576"></a><pre class="programlisting">void gimp_cmyka_set (<a href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyka,
gdouble cyan,
gdouble magenta,
gdouble yellow,
@ -262,38 +255,32 @@ doubles in the range 0 to 1.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>cmyka</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>cmyka</code></em>&#160;:</span></td>
<td> A <a href="libgimpcolor-GimpCMYK.html#GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYKA value.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cyan</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>cyan</code></em>&#160;:</span></td>
<td> The Cyan channel of the CMYK value
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>magenta</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>magenta</code></em>&#160;:</span></td>
<td> The Magenta channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>yellow</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>yellow</code></em>&#160;:</span></td>
<td> The Yellow channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>black</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>black</code></em>&#160;:</span></td>
<td> The blacK channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>alpha</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>alpha</code></em>&#160;:</span></td>
<td> The Alpha channel
</td>
</tr>
@ -302,9 +289,9 @@ doubles in the range 0 to 1.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2517629"></a><h3>
<a name="id2561418"></a><h3>
<a name="gimp-cmyka-set-uchar"></a>gimp_cmyka_set_uchar ()</h3>
<a class="indexterm" name="id2517638"></a><pre class="programlisting">void gimp_cmyka_set_uchar (<a href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyka,
<a class="indexterm" name="id2561430"></a><pre class="programlisting">void gimp_cmyka_set_uchar (<a href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyka,
guchar cyan,
guchar magenta,
guchar yellow,
@ -320,38 +307,32 @@ unsigned chars in the range 0 to 255.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>cmyka</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>cmyka</code></em>&#160;:</span></td>
<td> A <a href="libgimpcolor-GimpCMYK.html#GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYKA value.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cyan</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>cyan</code></em>&#160;:</span></td>
<td> The Cyan channel of the CMYK value
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>magenta</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>magenta</code></em>&#160;:</span></td>
<td> The Magenta channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>yellow</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>yellow</code></em>&#160;:</span></td>
<td> The Yellow channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>black</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>black</code></em>&#160;:</span></td>
<td> The blacK channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>alpha</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>alpha</code></em>&#160;:</span></td>
<td> The Alpha channel
</td>
</tr>
@ -360,9 +341,9 @@ unsigned chars in the range 0 to 255.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2517810"></a><h3>
<a name="id2561602"></a><h3>
<a name="gimp-cmyka-get-uchar"></a>gimp_cmyka_get_uchar ()</h3>
<a class="indexterm" name="id2517819"></a><pre class="programlisting">void gimp_cmyka_get_uchar (const <a href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyka,
<a class="indexterm" name="id2561613"></a><pre class="programlisting">void gimp_cmyka_get_uchar (const <a href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyka,
guchar *cyan,
guchar *magenta,
guchar *yellow,
@ -378,38 +359,32 @@ Channel values are pointers to unsigned chars in the range 0 to 255.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>cmyka</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>cmyka</code></em>&#160;:</span></td>
<td> A <a href="libgimpcolor-GimpCMYK.html#GimpCMYK"><span class="type">GimpCMYK</span></a> structure which will hold the specified CMYKA value.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cyan</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>cyan</code></em>&#160;:</span></td>
<td> The Cyan channel of the CMYK value
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>magenta</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>magenta</code></em>&#160;:</span></td>
<td> The Magenta channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>yellow</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>yellow</code></em>&#160;:</span></td>
<td> The Yellow channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>black</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>black</code></em>&#160;:</span></td>
<td> The blacK channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>alpha</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>alpha</code></em>&#160;:</span></td>
<td> The Alpha channel
</td>
</tr>
@ -418,9 +393,5 @@ Channel values are pointers to unsigned chars in the range 0 to 255.</p>
</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="libgimpcolor-GimpHSV.html"><b>&lt;&lt;&#160;GimpHSV</b></a></td>
<td align="right"><a accesskey="n" href="libgimpcolor-GimpColorSpace.html"><b>GimpColorSpace&#160;&gt;&gt;</b></a></td>
</tr></table>
</body>
</html>

View File

@ -1,29 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GimpColorSpace</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 Color Library Reference Manual">
<link rel="up" href="libgimpcolor.html" title="Part&#160;I.&#160;GIMP Color Library">
<link rel="prev" href="libgimpcolor-GimpCMYK.html" title="GimpCMYK">
<link rel="next" href="libgimpcolor-GimpAdaptiveSupersample.html" title="GimpAdaptiveSupersample">
<meta name="generator" content="GTK-Doc V1.4 (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="libgimpcolor.html" title="Part&#160;I.&#160;GIMP Color Library">
</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="libgimpcolor-GimpCMYK.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="libgimpcolor.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 Color Library Reference Manual</th>
<td><a accesskey="n" href="libgimpcolor-GimpAdaptiveSupersample.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="#id2591178" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2563172" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpcolor-GimpColorSpace"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">GimpColorSpace</span></h2>
<h2>
<a name="id2591178"></a><span class="refentrytitle">GimpColorSpace</span>
</h2>
<p>GimpColorSpace &#8212; Utility functions which convert colors between different color models.</p>
</td>
<td valign="top" align="right"></td>
@ -90,7 +98,7 @@ void <a href="libgimpcolor-GimpColorSpace.html#gimp-hsv-to-rgb4">gimp_hsv
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2515582"></a><h2>Description</h2>
<a name="id2563172"></a><h2>Description</h2>
<p>
When programming pixel data manipulation functions you will often use
algorithms operating on a color model different from the one GIMP
@ -99,11 +107,11 @@ different color spaces.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2515597"></a><h2>Details</h2>
<a name="id2563192"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2515603"></a><h3>
<a name="id2557392"></a><h3>
<a name="GimpHSL"></a>GimpHSL</h3>
<a class="indexterm" name="id2515613"></a><pre class="programlisting">typedef struct {
<a class="indexterm" name="id2557404"></a><pre class="programlisting">typedef struct {
gdouble h, s, l, a;
} GimpHSL;
</pre>
@ -113,9 +121,9 @@ different color spaces.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2515634"></a><h3>
<a name="id2557420"></a><h3>
<a name="gimp-rgb-to-hsv"></a>gimp_rgb_to_hsv ()</h3>
<a class="indexterm" name="id2515645"></a><pre class="programlisting">void gimp_rgb_to_hsv (const <a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb,
<a class="indexterm" name="id2557433"></a><pre class="programlisting">void gimp_rgb_to_hsv (const <a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb,
<a href="libgimpcolor-GimpHSV.html#GimpHSV">GimpHSV</a> *hsv);</pre>
<p>
Does a conversion from RGB to HSV (Hue, Saturation,
@ -127,14 +135,12 @@ Value) colorspace.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>rgb</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>rgb</code></em>&#160;:</span></td>
<td> A color value in the RGB colorspace
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>hsv</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>hsv</code></em>&#160;:</span></td>
<td> The value converted to the HSV colorspace
</td>
</tr>
@ -143,9 +149,9 @@ Value) colorspace.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2515716"></a><h3>
<a name="id2557504"></a><h3>
<a name="gimp-rgb-to-hsl"></a>gimp_rgb_to_hsl ()</h3>
<a class="indexterm" name="id2515726"></a><pre class="programlisting">void gimp_rgb_to_hsl (const <a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb,
<a class="indexterm" name="id2557516"></a><pre class="programlisting">void gimp_rgb_to_hsl (const <a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb,
<a href="libgimpcolor-GimpColorSpace.html#GimpHSL">GimpHSL</a> *hsl);</pre>
<p>
Convert an RGB color value to a HSL (Hue, Saturation, Lightness)
@ -157,14 +163,12 @@ color value.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>rgb</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>rgb</code></em>&#160;:</span></td>
<td> A color value in the RGB colorspace
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>hsl</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>hsl</code></em>&#160;:</span></td>
<td> The value converted to HSL
</td>
</tr>
@ -173,9 +177,9 @@ color value.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2515798"></a><h3>
<a name="id2557588"></a><h3>
<a name="gimp-rgb-to-cmyk"></a>gimp_rgb_to_cmyk ()</h3>
<a class="indexterm" name="id2515808"></a><pre class="programlisting">void gimp_rgb_to_cmyk (const <a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb,
<a class="indexterm" name="id2557600"></a><pre class="programlisting">void gimp_rgb_to_cmyk (const <a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb,
gdouble pullout,
<a href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyk);</pre>
<p>
@ -191,21 +195,18 @@ A value of 1 causes the maximum amount of black to be pulled out.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>rgb</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>rgb</code></em>&#160;:</span></td>
<td> A value in the RGB colorspace
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>pullout</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>pullout</code></em>&#160;:</span></td>
<td> A scaling value (0-1) indicating how much black should be
pulled out
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>cmyk</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>cmyk</code></em>&#160;:</span></td>
<td> The input value naively converted to the CMYK colorspace
</td>
</tr>
@ -214,9 +215,9 @@ A value of 1 causes the maximum amount of black to be pulled out.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2564470"></a><h3>
<a name="id2605480"></a><h3>
<a name="gimp-hsv-to-rgb"></a>gimp_hsv_to_rgb ()</h3>
<a class="indexterm" name="id2564479"></a><pre class="programlisting">void gimp_hsv_to_rgb (const <a href="libgimpcolor-GimpHSV.html#GimpHSV">GimpHSV</a> *hsv,
<a class="indexterm" name="id2605491"></a><pre class="programlisting">void gimp_hsv_to_rgb (const <a href="libgimpcolor-GimpHSV.html#GimpHSV">GimpHSV</a> *hsv,
<a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb);</pre>
<p>
Converts a color value from HSV to RGB colorspace</p>
@ -227,14 +228,12 @@ Converts a color value from HSV to RGB colorspace</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>hsv</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>hsv</code></em>&#160;:</span></td>
<td> A color value in the HSV colorspace
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>rgb</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>rgb</code></em>&#160;:</span></td>
<td> The returned RGB value.
</td>
</tr>
@ -243,9 +242,9 @@ Converts a color value from HSV to RGB colorspace</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2564542"></a><h3>
<a name="id2605555"></a><h3>
<a name="gimp-hsl-to-rgb"></a>gimp_hsl_to_rgb ()</h3>
<a class="indexterm" name="id2564551"></a><pre class="programlisting">void gimp_hsl_to_rgb (const <a href="libgimpcolor-GimpColorSpace.html#GimpHSL">GimpHSL</a> *hsl,
<a class="indexterm" name="id2605565"></a><pre class="programlisting">void gimp_hsl_to_rgb (const <a href="libgimpcolor-GimpColorSpace.html#GimpHSL">GimpHSL</a> *hsl,
<a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb);</pre>
<p>
Convert a HSL color value to an RGB color value.</p>
@ -256,14 +255,12 @@ Convert a HSL color value to an RGB color value.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>hsl</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>hsl</code></em>&#160;:</span></td>
<td> A color value in the HSL colorspace
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>rgb</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>rgb</code></em>&#160;:</span></td>
<td> The value converted to a value in the RGB colorspace
</td>
</tr>
@ -272,9 +269,9 @@ Convert a HSL color value to an RGB color value.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2564616"></a><h3>
<a name="id2605635"></a><h3>
<a name="gimp-cmyk-to-rgb"></a>gimp_cmyk_to_rgb ()</h3>
<a class="indexterm" name="id2564625"></a><pre class="programlisting">void gimp_cmyk_to_rgb (const <a href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyk,
<a class="indexterm" name="id2605647"></a><pre class="programlisting">void gimp_cmyk_to_rgb (const <a href="libgimpcolor-GimpCMYK.html#GimpCMYK">GimpCMYK</a> *cmyk,
<a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb);</pre>
<p>
Does a simple transformation from the CMYK colorspace to the RGB
@ -286,14 +283,12 @@ colorspace, without taking color profiles into account.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>cmyk</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>cmyk</code></em>&#160;:</span></td>
<td> A color value in the CMYK colorspace
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>rgb</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>rgb</code></em>&#160;:</span></td>
<td> The value converted to the RGB colorspace
</td>
</tr>
@ -302,9 +297,9 @@ colorspace, without taking color profiles into account.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2564699"></a><h3>
<a name="id2605694"></a><h3>
<a name="gimp-rgb-to-hwb"></a>gimp_rgb_to_hwb ()</h3>
<a class="indexterm" name="id2564709"></a><pre class="programlisting">void gimp_rgb_to_hwb (const <a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb,
<a class="indexterm" name="id2605704"></a><pre class="programlisting">void gimp_rgb_to_hwb (const <a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb,
gdouble *hue,
gdouble *whiteness,
gdouble *blackness);</pre>
@ -324,26 +319,22 @@ undefined.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>rgb</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>rgb</code></em>&#160;:</span></td>
<td> A color value in the RGB colorspace
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>hue</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>hue</code></em>&#160;:</span></td>
<td> The hue value of the above color, in the range 0 to 6
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>whiteness</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>whiteness</code></em>&#160;:</span></td>
<td> The whiteness value of the above color, in the range 0 to 1
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>blackness</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>blackness</code></em>&#160;:</span></td>
<td> The blackness value of the above color, in the range 0 to 1
</td>
</tr>
@ -352,9 +343,9 @@ undefined.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2564834"></a><h3>
<a name="id2605819"></a><h3>
<a name="gimp-hwb-to-rgb"></a>gimp_hwb_to_rgb ()</h3>
<a class="indexterm" name="id2564844"></a><pre class="programlisting">void gimp_hwb_to_rgb (gdouble hue,
<a class="indexterm" name="id2605829"></a><pre class="programlisting">void gimp_hwb_to_rgb (gdouble hue,
gdouble whiteness,
gdouble blackness,
<a href="libgimpcolor-GimpRGB.html#GimpRGB">GimpRGB</a> *rgb);</pre>
@ -368,26 +359,22 @@ range [0, 1]. The returned RGB values are all in the range [0, 1].</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>hue</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>hue</code></em>&#160;:</span></td>
<td> A hue value, in the range 0 to 6
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>whiteness</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>whiteness</code></em>&#160;:</span></td>
<td> A whiteness value, in the range 0 to 1
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>blackness</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>blackness</code></em>&#160;:</span></td>
<td> A blackness value, in the range 0 to 1
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>rgb</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>rgb</code></em>&#160;:</span></td>
<td> The above color converted to the RGB colorspace
</td>
</tr>
@ -396,9 +383,9 @@ range [0, 1]. The returned RGB values are all in the range [0, 1].</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2564961"></a><h3>
<a name="id2605935"></a><h3>
<a name="gimp-rgb-to-hsv-int"></a>gimp_rgb_to_hsv_int ()</h3>
<a class="indexterm" name="id2564971"></a><pre class="programlisting">void gimp_rgb_to_hsv_int (gint *red,
<a class="indexterm" name="id2605946"></a><pre class="programlisting">void gimp_rgb_to_hsv_int (gint *red,
gint *green,
gint *blue);</pre>
<p>
@ -417,20 +404,17 @@ ranges: H [0, 360], S [0, 255], V [0, 255].</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>red</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>red</code></em>&#160;:</span></td>
<td> The red channel value, returns the Hue channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>green</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>green</code></em>&#160;:</span></td>
<td> The green channel value, returns the Saturation channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>blue</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>blue</code></em>&#160;:</span></td>
<td> The blue channel value, returns the Value channel
</td>
</tr>
@ -439,9 +423,9 @@ ranges: H [0, 360], S [0, 255], V [0, 255].</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2565073"></a><h3>
<a name="id2606039"></a><h3>
<a name="gimp-hsv-to-rgb-int"></a>gimp_hsv_to_rgb_int ()</h3>
<a class="indexterm" name="id2565083"></a><pre class="programlisting">void gimp_hsv_to_rgb_int (gint *hue,
<a class="indexterm" name="id2606049"></a><pre class="programlisting">void gimp_hsv_to_rgb_int (gint *hue,
gint *saturation,
gint *value);</pre>
<p>
@ -458,20 +442,17 @@ corresponding, with the returned values all in the range [0, 255].</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>hue</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>hue</code></em>&#160;:</span></td>
<td> The hue channel, returns the red channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>saturation</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>saturation</code></em>&#160;:</span></td>
<td> The saturation channel, returns the green channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
<td> The value channel, returns the blue channel
</td>
</tr>
@ -480,9 +461,9 @@ corresponding, with the returned values all in the range [0, 255].</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2565184"></a><h3>
<a name="id2606141"></a><h3>
<a name="gimp-rgb-to-hsl-int"></a>gimp_rgb_to_hsl_int ()</h3>
<a class="indexterm" name="id2565194"></a><pre class="programlisting">void gimp_rgb_to_hsl_int (gint *red,
<a class="indexterm" name="id2606151"></a><pre class="programlisting">void gimp_rgb_to_hsl_int (gint *red,
gint *green,
gint *blue);</pre>
<p>
@ -500,20 +481,17 @@ L [0, 255], S [0, 255].</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>red</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>red</code></em>&#160;:</span></td>
<td> Red channel, returns Hue channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>green</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>green</code></em>&#160;:</span></td>
<td> Green channel, returns Lightness channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>blue</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>blue</code></em>&#160;:</span></td>
<td> Blue channel, returns Saturation channel
</td>
</tr>
@ -522,9 +500,9 @@ L [0, 255], S [0, 255].</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2565295"></a><h3>
<a name="id2606244"></a><h3>
<a name="gimp-rgb-to-cmyk-int"></a>gimp_rgb_to_cmyk_int ()</h3>
<a class="indexterm" name="id2565304"></a><pre class="programlisting">void gimp_rgb_to_cmyk_int (gint *red,
<a class="indexterm" name="id2606254"></a><pre class="programlisting">void gimp_rgb_to_cmyk_int (gint *red,
gint *green,
gint *blue,
gint *pullout);</pre>
@ -541,26 +519,22 @@ A value of 100 causes the maximum amount of black to be pulled out.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>red</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>red</code></em>&#160;:</span></td>
<td> the red channel; returns the cyan value (0-255)
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>green</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>green</code></em>&#160;:</span></td>
<td> the green channel; returns the magenta value (0-255)
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>blue</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>blue</code></em>&#160;:</span></td>
<td> the blue channel; returns the yellow value (0-255)
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>pullout</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>pullout</code></em>&#160;:</span></td>
<td> the percentage of black to pull out (0-100); returns
the black value (0-255)
</td>
@ -570,9 +544,9 @@ A value of 100 causes the maximum amount of black to be pulled out.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2565437"></a><h3>
<a name="id2606375"></a><h3>
<a name="gimp-cmyk-to-rgb-int"></a>gimp_cmyk_to_rgb_int ()</h3>
<a class="indexterm" name="id2565446"></a><pre class="programlisting">void gimp_cmyk_to_rgb_int (gint *cyan,
<a class="indexterm" name="id2606386"></a><pre class="programlisting">void gimp_cmyk_to_rgb_int (gint *cyan,
gint *magenta,
gint *yellow,
gint *black);</pre>
@ -586,26 +560,22 @@ formula that doesn't take any color-profiles into account is used.</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>cyan</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>cyan</code></em>&#160;:</span></td>
<td> the cyan channel; returns the red value (0-255)
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>magenta</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>magenta</code></em>&#160;:</span></td>
<td> the magenta channel; returns the green value (0-255)
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>yellow</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>yellow</code></em>&#160;:</span></td>
<td> the yellow channel; returns the blue value (0-255)
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>black</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>black</code></em>&#160;:</span></td>
<td> the black channel (0-255); doesn't change
</td>
</tr>
@ -614,9 +584,9 @@ formula that doesn't take any color-profiles into account is used.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2565564"></a><h3>
<a name="id2606493"></a><h3>
<a name="gimp-rgb-to-l-int"></a>gimp_rgb_to_l_int ()</h3>
<a class="indexterm" name="id2565574"></a><pre class="programlisting">gint gimp_rgb_to_l_int (gint red,
<a class="indexterm" name="id2606503"></a><pre class="programlisting">gint gimp_rgb_to_l_int (gint red,
gint green,
gint blue);</pre>
<p>
@ -629,26 +599,22 @@ L = (max(R, G, B) + min (R, G, B)) / 2</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>red</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>red</code></em>&#160;:</span></td>
<td> Red channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>green</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>green</code></em>&#160;:</span></td>
<td> Green channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>blue</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>blue</code></em>&#160;:</span></td>
<td> Blue channel
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> Luminance vaue corresponding to the input RGB value
</td>
</tr>
@ -657,9 +623,9 @@ L = (max(R, G, B) + min (R, G, B)) / 2</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2565679"></a><h3>
<a name="id2606597"></a><h3>
<a name="gimp-hsl-to-rgb-int"></a>gimp_hsl_to_rgb_int ()</h3>
<a class="indexterm" name="id2565689"></a><pre class="programlisting">void gimp_hsl_to_rgb_int (gint *hue,
<a class="indexterm" name="id2606608"></a><pre class="programlisting">void gimp_hsl_to_rgb_int (gint *hue,
gint *saturation,
gint *lightness);</pre>
<p>
@ -676,20 +642,17 @@ corresponding, with the returned values all in the range [0, 255].</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>hue</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>hue</code></em>&#160;:</span></td>
<td> Hue channel, returns Red channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>saturation</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>saturation</code></em>&#160;:</span></td>
<td> Saturation channel, returns Green channel
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>lightness</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>lightness</code></em>&#160;:</span></td>
<td> Lightness channel, returns Blue channel
</td>
</tr>
@ -698,9 +661,9 @@ corresponding, with the returned values all in the range [0, 255].</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2565789"></a><h3>
<a name="id2606699"></a><h3>
<a name="gimp-rgb-to-hsv4"></a>gimp_rgb_to_hsv4 ()</h3>
<a class="indexterm" name="id2565800"></a><pre class="programlisting">void gimp_rgb_to_hsv4 (guchar *rgb,
<a class="indexterm" name="id2606710"></a><pre class="programlisting">void gimp_rgb_to_hsv4 (guchar *rgb,
gdouble *hue,
gdouble *saturation,
gdouble *value);</pre>
@ -713,27 +676,23 @@ corresponding, with the returned values all in the range [0, 255].</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>rgb</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>rgb</code></em>&#160;:</span></td>
<td> RGB triplet, rgb[0] is red channel, rgb[1] is green,
rgb[2] is blue (0..255)
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>hue</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>hue</code></em>&#160;:</span></td>
<td> Pointer to hue channel (0..1)
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>saturation</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>saturation</code></em>&#160;:</span></td>
<td> Pointer to saturation channel (0..1)
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
<td> Pointer to value channel (0..1)
</td>
</tr>
@ -742,9 +701,9 @@ corresponding, with the returned values all in the range [0, 255].</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2565915"></a><h3>
<a name="id2606814"></a><h3>
<a name="gimp-hsv-to-rgb4"></a>gimp_hsv_to_rgb4 ()</h3>
<a class="indexterm" name="id2565926"></a><pre class="programlisting">void gimp_hsv_to_rgb4 (guchar *rgb,
<a class="indexterm" name="id2606825"></a><pre class="programlisting">void gimp_hsv_to_rgb4 (guchar *rgb,
gdouble hue,
gdouble saturation,
gdouble value);</pre>
@ -757,27 +716,23 @@ corresponding, with the returned values all in the range [0, 255].</p>
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>rgb</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>rgb</code></em>&#160;:</span></td>
<td> RGB triplet, rgb[0] is red channel, rgb[1] is green,
rgb[2] is blue (0..255)
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>hue</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>hue</code></em>&#160;:</span></td>
<td> Hue channel (0..1)
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>saturation</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>saturation</code></em>&#160;:</span></td>
<td> Saturation channel (0..1)
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
<td> Value channel (0..1)
</td>
</tr>
@ -786,9 +741,5 @@ corresponding, with the returned values all in the range [0, 255].</p>
</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="libgimpcolor-GimpCMYK.html"><b>&lt;&lt;&#160;GimpCMYK</b></a></td>
<td align="right"><a accesskey="n" href="libgimpcolor-GimpAdaptiveSupersample.html"><b>GimpAdaptiveSupersample&#160;&gt;&gt;</b></a></td>
</tr></table>
</body>
</html>

View File

@ -1,29 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GimpHSV</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 Color Library Reference Manual">
<link rel="up" href="libgimpcolor.html" title="Part&#160;I.&#160;GIMP Color Library">
<link rel="prev" href="libgimpcolor-GimpRGB.html" title="GimpRGB">
<link rel="next" href="libgimpcolor-GimpCMYK.html" title="GimpCMYK">
<meta name="generator" content="GTK-Doc V1.4 (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="libgimpcolor.html" title="Part&#160;I.&#160;GIMP Color Library">
</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="libgimpcolor-GimpRGB.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="libgimpcolor.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 Color Library Reference Manual</th>
<td><a accesskey="n" href="libgimpcolor-GimpCMYK.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="#id2586091" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2567110" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpcolor-GimpHSV"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">GimpHSV</span></h2>
<h2>
<a name="id2586091"></a><span class="refentrytitle">GimpHSV</span>
</h2>
<p>GimpHSV &#8212; Definitions and Functions relating to HSV colors.</p>
</td>
<td valign="top" align="right"></td>
@ -48,17 +56,17 @@ void <a href="libgimpcolor-GimpHSV.html#gimp-hsva-set">gimp_hsva_set</a>
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2526372"></a><h2>Description</h2>
<a name="id2567110"></a><h2>Description</h2>
<p>
Definitions and Functions relating to HSV colors.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2526384"></a><h2>Details</h2>
<a name="id2564844"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2526390"></a><h3>
<a name="id2564855"></a><h3>
<a name="GimpHSV"></a>GimpHSV</h3>
<a class="indexterm" name="id2526400"></a><pre class="programlisting">typedef struct {
<a class="indexterm" name="id2564867"></a><pre class="programlisting">typedef struct {
gdouble h, s, v, a;
} GimpHSV;
</pre>
@ -68,9 +76,9 @@ Definitions and Functions relating to HSV colors.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2526416"></a><h3>
<a name="id2564883"></a><h3>
<a name="gimp-hsv-set"></a>gimp_hsv_set ()</h3>
<a class="indexterm" name="id2524143"></a><pre class="programlisting">void gimp_hsv_set (<a href="libgimpcolor-GimpHSV.html#GimpHSV">GimpHSV</a> *hsv,
<a class="indexterm" name="id2564895"></a><pre class="programlisting">void gimp_hsv_set (<a href="libgimpcolor-GimpHSV.html#GimpHSV">GimpHSV</a> *hsv,
gdouble hue,
gdouble saturation,
gdouble value);</pre>
@ -81,26 +89,22 @@ Definitions and Functions relating to HSV colors.
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>hsv</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>hsv</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>hue</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>hue</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>saturation</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>saturation</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
<td>
@ -111,17 +115,16 @@ Definitions and Functions relating to HSV colors.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2524251"></a><h3>
<a name="id2566570"></a><h3>
<a name="gimp-hsv-clamp"></a>gimp_hsv_clamp ()</h3>
<a class="indexterm" name="id2524261"></a><pre class="programlisting">void gimp_hsv_clamp (<a href="libgimpcolor-GimpHSV.html#GimpHSV">GimpHSV</a> *hsv);</pre>
<a class="indexterm" name="id2566582"></a><pre class="programlisting">void gimp_hsv_clamp (<a href="libgimpcolor-GimpHSV.html#GimpHSV">GimpHSV</a> *hsv);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>hsv</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>hsv</code></em>&#160;:</span></td>
<td>
@ -131,9 +134,9 @@ Definitions and Functions relating to HSV colors.
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2530391"></a><h3>
<a name="id2566627"></a><h3>
<a name="gimp-hsva-set"></a>gimp_hsva_set ()</h3>
<a class="indexterm" name="id2530401"></a><pre class="programlisting">void gimp_hsva_set (<a href="libgimpcolor-GimpHSV.html#GimpHSV">GimpHSV</a> *hsva,
<a class="indexterm" name="id2566640"></a><pre class="programlisting">void gimp_hsva_set (<a href="libgimpcolor-GimpHSV.html#GimpHSV">GimpHSV</a> *hsva,
gdouble hue,
gdouble saturation,
gdouble value,
@ -145,32 +148,27 @@ Definitions and Functions relating to HSV colors.
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>hsva</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>hsva</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>hue</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>hue</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>saturation</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>saturation</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>alpha</code></em>&#160;:</span></td>
<td><span class="term"><em class="parameter"><code>alpha</code></em>&#160;:</span></td>
<td>
@ -181,9 +179,5 @@ Definitions and Functions relating to HSV colors.
</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="libgimpcolor-GimpRGB.html"><b>&lt;&lt;&#160;GimpRGB</b></a></td>
<td align="right"><a accesskey="n" href="libgimpcolor-GimpCMYK.html"><b>GimpCMYK&#160;&gt;&gt;</b></a></td>
</tr></table>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE book PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<book xmlns="http://www.devhelp.net/book" title="GIMP Color Library Reference Manual" link="index.html" author="" name="libgimpcolor">
<chapters>
<sub name="GIMP Color Library" link="libgimpcolor.html">

View File

@ -0,0 +1,91 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE book PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<book xmlns="http://www.devhelp.net/book" title="GIMP Color Library Reference Manual" link="index.html" author="" name="libgimpcolor" version="2">
<chapters>
<sub name="GIMP Color Library" link="libgimpcolor.html">
<sub name="GimpRGB" link="libgimpcolor-GimpRGB.html"/>
<sub name="GimpHSV" link="libgimpcolor-GimpHSV.html"/>
<sub name="GimpCMYK" link="libgimpcolor-GimpCMYK.html"/>
<sub name="GimpColorSpace" link="libgimpcolor-GimpColorSpace.html"/>
<sub name="GimpAdaptiveSupersample" link="libgimpcolor-GimpAdaptiveSupersample.html"/>
<sub name="GimpBilinear" link="libgimpcolor-GimpBilinear.html"/>
</sub>
</chapters>
<functions>
<keyword type="struct" name="GimpRGB" link="libgimpcolor-GimpRGB.html#GimpRGB"/>
<keyword type="enum" name="enum GimpRGBCompositeMode" link="libgimpcolor-GimpRGB.html#GimpRGBCompositeMode"/>
<keyword type="function" name="gimp_rgb_set ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-set"/>
<keyword type="function" name="gimp_rgb_set_alpha ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-set-alpha"/>
<keyword type="function" name="gimp_rgb_set_uchar ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-set-uchar"/>
<keyword type="function" name="gimp_rgb_get_uchar ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-get-uchar"/>
<keyword type="function" name="gimp_rgb_parse_name ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-parse-name" since="GIMP 2.2"/>
<keyword type="function" name="gimp_rgb_parse_hex ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-parse-hex" since="GIMP 2.2"/>
<keyword type="function" name="gimp_rgb_parse_css ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-parse-css" since="GIMP 2.2"/>
<keyword type="function" name="gimp_rgb_list_names ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-list-names" since="GIMP 2.2"/>
<keyword type="function" name="gimp_rgb_add ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-add"/>
<keyword type="function" name="gimp_rgb_subtract ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-subtract"/>
<keyword type="function" name="gimp_rgb_multiply ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-multiply"/>
<keyword type="function" name="gimp_rgb_distance ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-distance"/>
<keyword type="function" name="gimp_rgb_max ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-max"/>
<keyword type="function" name="gimp_rgb_min ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-min"/>
<keyword type="function" name="gimp_rgb_clamp ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-clamp"/>
<keyword type="function" name="gimp_rgb_gamma ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-gamma"/>
<keyword type="function" name="gimp_rgb_intensity ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-intensity"/>
<keyword type="function" name="gimp_rgb_intensity_uchar ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-intensity-uchar"/>
<keyword type="function" name="gimp_rgb_composite ()" link="libgimpcolor-GimpRGB.html#gimp-rgb-composite"/>
<keyword type="function" name="gimp_rgba_set ()" link="libgimpcolor-GimpRGB.html#gimp-rgba-set"/>
<keyword type="function" name="gimp_rgba_set_uchar ()" link="libgimpcolor-GimpRGB.html#gimp-rgba-set-uchar"/>
<keyword type="function" name="gimp_rgba_get_uchar ()" link="libgimpcolor-GimpRGB.html#gimp-rgba-get-uchar"/>
<keyword type="function" name="gimp_rgba_parse_css ()" link="libgimpcolor-GimpRGB.html#gimp-rgba-parse-css" since="GIMP 2.2"/>
<keyword type="function" name="gimp_rgba_add ()" link="libgimpcolor-GimpRGB.html#gimp-rgba-add"/>
<keyword type="function" name="gimp_rgba_subtract ()" link="libgimpcolor-GimpRGB.html#gimp-rgba-subtract"/>
<keyword type="function" name="gimp_rgba_multiply ()" link="libgimpcolor-GimpRGB.html#gimp-rgba-multiply"/>
<keyword type="function" name="gimp_rgba_distance ()" link="libgimpcolor-GimpRGB.html#gimp-rgba-distance"/>
<keyword type="macro" name="GIMP_RGB_INTENSITY()" link="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY:CAPS"/>
<keyword type="macro" name="GIMP_RGB_INTENSITY_RED" link="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY-RED:CAPS"/>
<keyword type="macro" name="GIMP_RGB_INTENSITY_GREEN" link="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY-GREEN:CAPS"/>
<keyword type="macro" name="GIMP_RGB_INTENSITY_BLUE" link="libgimpcolor-GimpRGB.html#GIMP-RGB-INTENSITY-BLUE:CAPS"/>
<keyword type="macro" name="GIMP_TYPE_RGB" link="libgimpcolor-GimpRGB.html#GIMP-TYPE-RGB:CAPS"/>
<keyword type="macro" name="GIMP_VALUE_HOLDS_RGB()" link="libgimpcolor-GimpRGB.html#GIMP-VALUE-HOLDS-RGB:CAPS"/>
<keyword type="struct" name="GimpHSV" link="libgimpcolor-GimpHSV.html#GimpHSV"/>
<keyword type="function" name="gimp_hsv_set ()" link="libgimpcolor-GimpHSV.html#gimp-hsv-set"/>
<keyword type="function" name="gimp_hsv_clamp ()" link="libgimpcolor-GimpHSV.html#gimp-hsv-clamp"/>
<keyword type="function" name="gimp_hsva_set ()" link="libgimpcolor-GimpHSV.html#gimp-hsva-set"/>
<keyword type="struct" name="GimpCMYK" link="libgimpcolor-GimpCMYK.html#GimpCMYK"/>
<keyword type="function" name="gimp_cmyk_set ()" link="libgimpcolor-GimpCMYK.html#gimp-cmyk-set"/>
<keyword type="function" name="gimp_cmyk_set_uchar ()" link="libgimpcolor-GimpCMYK.html#gimp-cmyk-set-uchar"/>
<keyword type="function" name="gimp_cmyk_get_uchar ()" link="libgimpcolor-GimpCMYK.html#gimp-cmyk-get-uchar"/>
<keyword type="function" name="gimp_cmyka_set ()" link="libgimpcolor-GimpCMYK.html#gimp-cmyka-set"/>
<keyword type="function" name="gimp_cmyka_set_uchar ()" link="libgimpcolor-GimpCMYK.html#gimp-cmyka-set-uchar"/>
<keyword type="function" name="gimp_cmyka_get_uchar ()" link="libgimpcolor-GimpCMYK.html#gimp-cmyka-get-uchar"/>
<keyword type="struct" name="GimpHSL" link="libgimpcolor-GimpColorSpace.html#GimpHSL"/>
<keyword type="function" name="gimp_rgb_to_hsv ()" link="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsv"/>
<keyword type="function" name="gimp_rgb_to_hsl ()" link="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsl"/>
<keyword type="function" name="gimp_rgb_to_cmyk ()" link="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-cmyk"/>
<keyword type="function" name="gimp_hsv_to_rgb ()" link="libgimpcolor-GimpColorSpace.html#gimp-hsv-to-rgb"/>
<keyword type="function" name="gimp_hsl_to_rgb ()" link="libgimpcolor-GimpColorSpace.html#gimp-hsl-to-rgb"/>
<keyword type="function" name="gimp_cmyk_to_rgb ()" link="libgimpcolor-GimpColorSpace.html#gimp-cmyk-to-rgb"/>
<keyword type="function" name="gimp_rgb_to_hwb ()" link="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hwb"/>
<keyword type="function" name="gimp_hwb_to_rgb ()" link="libgimpcolor-GimpColorSpace.html#gimp-hwb-to-rgb"/>
<keyword type="function" name="gimp_rgb_to_hsv_int ()" link="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsv-int"/>
<keyword type="function" name="gimp_hsv_to_rgb_int ()" link="libgimpcolor-GimpColorSpace.html#gimp-hsv-to-rgb-int"/>
<keyword type="function" name="gimp_rgb_to_hsl_int ()" link="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsl-int"/>
<keyword type="function" name="gimp_rgb_to_cmyk_int ()" link="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-cmyk-int"/>
<keyword type="function" name="gimp_cmyk_to_rgb_int ()" link="libgimpcolor-GimpColorSpace.html#gimp-cmyk-to-rgb-int"/>
<keyword type="function" name="gimp_rgb_to_l_int ()" link="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-l-int"/>
<keyword type="function" name="gimp_hsl_to_rgb_int ()" link="libgimpcolor-GimpColorSpace.html#gimp-hsl-to-rgb-int"/>
<keyword type="function" name="gimp_rgb_to_hsv4 ()" link="libgimpcolor-GimpColorSpace.html#gimp-rgb-to-hsv4"/>
<keyword type="function" name="gimp_hsv_to_rgb4 ()" link="libgimpcolor-GimpColorSpace.html#gimp-hsv-to-rgb4"/>
<keyword type="function" name="GimpProgressFunc ()" link="libgimpcolor-GimpAdaptiveSupersample.html#GimpProgressFunc"/>
<keyword type="function" name="GimpPutPixelFunc ()" link="libgimpcolor-GimpAdaptiveSupersample.html#GimpPutPixelFunc"/>
<keyword type="function" name="GimpRenderFunc ()" link="libgimpcolor-GimpAdaptiveSupersample.html#GimpRenderFunc"/>
<keyword type="function" name="gimp_adaptive_supersample_area ()" link="libgimpcolor-GimpAdaptiveSupersample.html#gimp-adaptive-supersample-area"/>
<keyword type="function" name="gimp_bilinear ()" link="libgimpcolor-GimpBilinear.html#gimp-bilinear"/>
<keyword type="function" name="gimp_bilinear_8 ()" link="libgimpcolor-GimpBilinear.html#gimp-bilinear-8"/>
<keyword type="function" name="gimp_bilinear_16 ()" link="libgimpcolor-GimpBilinear.html#gimp-bilinear-16"/>
<keyword type="function" name="gimp_bilinear_32 ()" link="libgimpcolor-GimpBilinear.html#gimp-bilinear-32"/>
<keyword type="function" name="gimp_bilinear_rgb ()" link="libgimpcolor-GimpBilinear.html#gimp-bilinear-rgb"/>
<keyword type="function" name="gimp_bilinear_rgba ()" link="libgimpcolor-GimpBilinear.html#gimp-bilinear-rgba"/>
<keyword type="function" name="gimp_bilinear_pixels_8 ()" link="libgimpcolor-GimpBilinear.html#gimp-bilinear-pixels-8"/>
</functions>
</book>

View File

@ -1,28 +1,26 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Part&#160;I.&#160;GIMP Color Library</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 Color Library Reference Manual">
<link rel="up" href="index.html" title="GIMP Color Library Reference Manual">
<link rel="prev" href="index.html" title="GIMP Color Library Reference Manual">
<link rel="next" href="libgimpcolor-GimpRGB.html" title="GimpRGB">
<meta name="generator" content="GTK-Doc V1.4 (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="libgimpcolor.html" title="Part&#160;I.&#160;GIMP Color Library">
</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="index.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td>&#160;</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 Color Library Reference Manual</th>
<td><a accesskey="n" href="libgimpcolor-GimpRGB.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="part" lang="en"><div class="titlepage"><div><div><h1 class="title">
<a name="libgimpcolor"></a>GIMP Color Library</h1></div></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="index.html"><b>&lt;&lt;&#160;GIMP Color Library Reference Manual</b></a></td>
<td align="right"><a accesskey="n" href="libgimpcolor-GimpRGB.html"><b>GimpRGB&#160;&gt;&gt;</b></a></td>
</tr></table>
<a name="libgimpcolor"></a>Part&#160;I.&#160;GIMP Color Library</h1></div></div></div></div>
</body>
</html>

View File

@ -19,12 +19,22 @@
{
vertical-align: top;
}
table.navigation
div a[name]
{
position: relative;
top: -4.5em;
}
table.navigation#top
{
background: #ffeeee;
border: solid 1px #ffaaaa;
margin-top: 0.5em;
margin-bottom: 0.5em;
margin-top: 0;
margin-bottom: 0;
position: fixed;
top: 0;
left: 0;
height: 2em;
z-index: 1;
}
.navigation a
{
@ -38,6 +48,18 @@ table.navigation
{
font-size: 200%;
}
td.shortcuts
{
color: #770000;
font-size: 80%;
}
div.refentry, div.chapter, div.part, div.book, div.index, div.glossary, div.sect1
{
position: relative;
top: 3em;
z-index: 0;
}
div.refnamediv
{
margin-top: 2em;

View File

@ -4,16 +4,19 @@
<refentry id="libgimpcolor-GimpAdaptiveSupersample">
<refmeta>
<refentrytitle>GimpAdaptiveSupersample</refentrytitle>
<refentrytitle role="top_of_page">GimpAdaptiveSupersample</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPCOLOR Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpAdaptiveSupersample</refname><refpurpose>Functions to perform adaptive supersampling on an area.</refpurpose>
<refname>GimpAdaptiveSupersample</refname>
<refpurpose>Functions to perform adaptive supersampling on an area.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv role="synopsis">
<title role="synopsis.title">Synopsis</title>
<synopsis>
@ -54,17 +57,17 @@
<refsect1>
<title>Description</title>
<refsect1 role="desc">
<title role="desc.title">Description</title>
<para>
Functions to perform adaptive supersampling on an area.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 role="details">
<title role="details.title">Details</title>
<refsect2>
<title><anchor id="GimpProgressFunc"/>GimpProgressFunc ()</title>
<title><anchor id="GimpProgressFunc" role="function"/>GimpProgressFunc ()</title>
<indexterm><primary>GimpProgressFunc</primary></indexterm><programlisting><link linkend="void">void</link> (*GimpProgressFunc) (<link linkend="gint">gint</link> min,
<link linkend="gint">gint</link> max,
<link linkend="gint">gint</link> current,
@ -88,7 +91,7 @@ Functions to perform adaptive supersampling on an area.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GimpPutPixelFunc"/>GimpPutPixelFunc ()</title>
<title><anchor id="GimpPutPixelFunc" role="function"/>GimpPutPixelFunc ()</title>
<indexterm><primary>GimpPutPixelFunc</primary></indexterm><programlisting><link linkend="void">void</link> (*GimpPutPixelFunc) (<link linkend="gint">gint</link> x,
<link linkend="gint">gint</link> y,
<link linkend="GimpRGB">GimpRGB</link> *color,
@ -112,7 +115,7 @@ Functions to perform adaptive supersampling on an area.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GimpRenderFunc"/>GimpRenderFunc ()</title>
<title><anchor id="GimpRenderFunc" role="function"/>GimpRenderFunc ()</title>
<indexterm><primary>GimpRenderFunc</primary></indexterm><programlisting><link linkend="void">void</link> (*GimpRenderFunc) (<link linkend="gdouble">gdouble</link> x,
<link linkend="gdouble">gdouble</link> y,
<link linkend="GimpRGB">GimpRGB</link> *color,
@ -136,7 +139,7 @@ Functions to perform adaptive supersampling on an area.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-adaptive-supersample-area"/>gimp_adaptive_supersample_area ()</title>
<title><anchor id="gimp-adaptive-supersample-area" role="function"/>gimp_adaptive_supersample_area ()</title>
<indexterm><primary>gimp_adaptive_supersample_area</primary></indexterm><programlisting><link linkend="gulong">gulong</link> gimp_adaptive_supersample_area (<link linkend="gint">gint</link> x1,
<link linkend="gint">gint</link> y1,
<link linkend="gint">gint</link> x2,

View File

@ -4,16 +4,19 @@
<refentry id="libgimpcolor-GimpBilinear">
<refmeta>
<refentrytitle>GimpBilinear</refentrytitle>
<refentrytitle role="top_of_page">GimpBilinear</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPCOLOR Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpBilinear</refname><refpurpose></refpurpose>
<refname>GimpBilinear</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv role="synopsis">
<title role="synopsis.title">Synopsis</title>
<synopsis>
@ -54,17 +57,17 @@
<refsect1>
<title>Description</title>
<refsect1 role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 role="details">
<title role="details.title">Details</title>
<refsect2>
<title><anchor id="gimp-bilinear"/>gimp_bilinear ()</title>
<title><anchor id="gimp-bilinear" role="function"/>gimp_bilinear ()</title>
<indexterm><primary>gimp_bilinear</primary></indexterm><programlisting><link linkend="gdouble">gdouble</link> gimp_bilinear (<link linkend="gdouble">gdouble</link> x,
<link linkend="gdouble">gdouble</link> y,
<link linkend="gdouble">gdouble</link> *values);</programlisting>
@ -86,7 +89,7 @@
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-bilinear-8"/>gimp_bilinear_8 ()</title>
<title><anchor id="gimp-bilinear-8" role="function"/>gimp_bilinear_8 ()</title>
<indexterm><primary>gimp_bilinear_8</primary></indexterm><programlisting><link linkend="guchar">guchar</link> gimp_bilinear_8 (<link linkend="gdouble">gdouble</link> x,
<link linkend="gdouble">gdouble</link> y,
<link linkend="guchar">guchar</link> *values);</programlisting>
@ -108,7 +111,7 @@
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-bilinear-16"/>gimp_bilinear_16 ()</title>
<title><anchor id="gimp-bilinear-16" role="function"/>gimp_bilinear_16 ()</title>
<indexterm><primary>gimp_bilinear_16</primary></indexterm><programlisting><link linkend="guint16">guint16</link> gimp_bilinear_16 (<link linkend="gdouble">gdouble</link> x,
<link linkend="gdouble">gdouble</link> y,
<link linkend="guint16">guint16</link> *values);</programlisting>
@ -130,7 +133,7 @@
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-bilinear-32"/>gimp_bilinear_32 ()</title>
<title><anchor id="gimp-bilinear-32" role="function"/>gimp_bilinear_32 ()</title>
<indexterm><primary>gimp_bilinear_32</primary></indexterm><programlisting><link linkend="guint32">guint32</link> gimp_bilinear_32 (<link linkend="gdouble">gdouble</link> x,
<link linkend="gdouble">gdouble</link> y,
<link linkend="guint32">guint32</link> *values);</programlisting>
@ -152,7 +155,7 @@
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-bilinear-rgb"/>gimp_bilinear_rgb ()</title>
<title><anchor id="gimp-bilinear-rgb" role="function"/>gimp_bilinear_rgb ()</title>
<indexterm><primary>gimp_bilinear_rgb</primary></indexterm><programlisting><link linkend="GimpRGB">GimpRGB</link> gimp_bilinear_rgb (<link linkend="gdouble">gdouble</link> x,
<link linkend="gdouble">gdouble</link> y,
<link linkend="GimpRGB">GimpRGB</link> *values);</programlisting>
@ -174,7 +177,7 @@
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-bilinear-rgba"/>gimp_bilinear_rgba ()</title>
<title><anchor id="gimp-bilinear-rgba" role="function"/>gimp_bilinear_rgba ()</title>
<indexterm><primary>gimp_bilinear_rgba</primary></indexterm><programlisting><link linkend="GimpRGB">GimpRGB</link> gimp_bilinear_rgba (<link linkend="gdouble">gdouble</link> x,
<link linkend="gdouble">gdouble</link> y,
<link linkend="GimpRGB">GimpRGB</link> *values);</programlisting>
@ -196,7 +199,7 @@
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-bilinear-pixels-8"/>gimp_bilinear_pixels_8 ()</title>
<title><anchor id="gimp-bilinear-pixels-8" role="function"/>gimp_bilinear_pixels_8 ()</title>
<indexterm><primary>gimp_bilinear_pixels_8</primary></indexterm><programlisting><link linkend="void">void</link> gimp_bilinear_pixels_8 (<link linkend="guchar">guchar</link> *dest,
<link linkend="gdouble">gdouble</link> x,
<link linkend="gdouble">gdouble</link> y,
@ -207,8 +210,8 @@
Computes bilinear interpolation of four pixels.
</para>
<para>
When <parameter>has_alpha</parameter> is <literal>FALSE</literal>, it's identical to <link linkend="gimp-bilinear-8"><function>gimp_bilinear_8()</function></link> on
each channel separately. When <parameter>has_alpha</parameter> is <literal>TRUE</literal>, it handles
When <parameter>has_alpha</parameter> is <link linkend="FALSE:CAPS"><literal>FALSE</literal></link>, it's identical to <link linkend="gimp-bilinear-8"><function>gimp_bilinear_8()</function></link> on
each channel separately. When <parameter>has_alpha</parameter> is <link linkend="TRUE:CAPS"><literal>TRUE</literal></link>, it handles
alpha channel correctly.
</para>
<para>
@ -231,7 +234,7 @@ following order: [0,0], [1,0], [0,1], [1,1].</para>
<parameter>bpp</parameter> bytes.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>has_alpha</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if the last channel is an alpha channel.
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the last channel is an alpha channel.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>values</parameter>&nbsp;:</term>
<listitem><simpara> Array of four pointers to pixels.

View File

@ -4,16 +4,19 @@
<refentry id="libgimpcolor-GimpCMYK">
<refmeta>
<refentrytitle>GimpCMYK</refentrytitle>
<refentrytitle role="top_of_page">GimpCMYK</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPCOLOR Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpCMYK</refname><refpurpose>Definitions and Functions relating to CMYK colors.</refpurpose>
<refname>GimpCMYK</refname>
<refpurpose>Definitions and Functions relating to CMYK colors.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv role="synopsis">
<title role="synopsis.title">Synopsis</title>
<synopsis>
@ -64,17 +67,17 @@
<refsect1>
<title>Description</title>
<refsect1 role="desc">
<title role="desc.title">Description</title>
<para>
Definitions and Functions relating to CMYK colors.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 role="details">
<title role="details.title">Details</title>
<refsect2>
<title><anchor id="GimpCMYK"/>GimpCMYK</title>
<title><anchor id="GimpCMYK" role="struct"/>GimpCMYK</title>
<indexterm><primary>GimpCMYK</primary></indexterm><programlisting>typedef struct {
gdouble c, m, y, k, a;
} GimpCMYK;
@ -83,7 +86,7 @@ Definitions and Functions relating to CMYK colors.
</para></refsect2>
<refsect2>
<title><anchor id="gimp-cmyk-set"/>gimp_cmyk_set ()</title>
<title><anchor id="gimp-cmyk-set" role="function"/>gimp_cmyk_set ()</title>
<indexterm><primary>gimp_cmyk_set</primary></indexterm><programlisting><link linkend="void">void</link> gimp_cmyk_set (<link linkend="GimpCMYK">GimpCMYK</link> *cmyk,
<link linkend="gdouble">gdouble</link> cyan,
<link linkend="gdouble">gdouble</link> magenta,
@ -112,7 +115,7 @@ values are doubles in the range 0 to 1.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-cmyk-set-uchar"/>gimp_cmyk_set_uchar ()</title>
<title><anchor id="gimp-cmyk-set-uchar" role="function"/>gimp_cmyk_set_uchar ()</title>
<indexterm><primary>gimp_cmyk_set_uchar</primary></indexterm><programlisting><link linkend="void">void</link> gimp_cmyk_set_uchar (<link linkend="GimpCMYK">GimpCMYK</link> *cmyk,
<link linkend="guchar">guchar</link> cyan,
<link linkend="guchar">guchar</link> magenta,
@ -141,7 +144,7 @@ unsigned chars in the range 0 to 255.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-cmyk-get-uchar"/>gimp_cmyk_get_uchar ()</title>
<title><anchor id="gimp-cmyk-get-uchar" role="function"/>gimp_cmyk_get_uchar ()</title>
<indexterm><primary>gimp_cmyk_get_uchar</primary></indexterm><programlisting><link linkend="void">void</link> gimp_cmyk_get_uchar (const <link linkend="GimpCMYK">GimpCMYK</link> *cmyk,
<link linkend="guchar">guchar</link> *cyan,
<link linkend="guchar">guchar</link> *magenta,
@ -170,7 +173,7 @@ values are pointers to unsigned chars in the range 0 to 255.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-cmyka-set"/>gimp_cmyka_set ()</title>
<title><anchor id="gimp-cmyka-set" role="function"/>gimp_cmyka_set ()</title>
<indexterm><primary>gimp_cmyka_set</primary></indexterm><programlisting><link linkend="void">void</link> gimp_cmyka_set (<link linkend="GimpCMYK">GimpCMYK</link> *cmyka,
<link linkend="gdouble">gdouble</link> cyan,
<link linkend="gdouble">gdouble</link> magenta,
@ -203,7 +206,7 @@ doubles in the range 0 to 1.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-cmyka-set-uchar"/>gimp_cmyka_set_uchar ()</title>
<title><anchor id="gimp-cmyka-set-uchar" role="function"/>gimp_cmyka_set_uchar ()</title>
<indexterm><primary>gimp_cmyka_set_uchar</primary></indexterm><programlisting><link linkend="void">void</link> gimp_cmyka_set_uchar (<link linkend="GimpCMYK">GimpCMYK</link> *cmyka,
<link linkend="guchar">guchar</link> cyan,
<link linkend="guchar">guchar</link> magenta,
@ -236,7 +239,7 @@ unsigned chars in the range 0 to 255.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-cmyka-get-uchar"/>gimp_cmyka_get_uchar ()</title>
<title><anchor id="gimp-cmyka-get-uchar" role="function"/>gimp_cmyka_get_uchar ()</title>
<indexterm><primary>gimp_cmyka_get_uchar</primary></indexterm><programlisting><link linkend="void">void</link> gimp_cmyka_get_uchar (const <link linkend="GimpCMYK">GimpCMYK</link> *cmyka,
<link linkend="guchar">guchar</link> *cyan,
<link linkend="guchar">guchar</link> *magenta,

View File

@ -4,16 +4,19 @@
<refentry id="libgimpcolor-GimpColorSpace">
<refmeta>
<refentrytitle>GimpColorSpace</refentrytitle>
<refentrytitle role="top_of_page">GimpColorSpace</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPCOLOR Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpColorSpace</refname><refpurpose>Utility functions which convert colors between different color models.</refpurpose>
<refname>GimpColorSpace</refname>
<refpurpose>Utility functions which convert colors between different color models.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv role="synopsis">
<title role="synopsis.title">Synopsis</title>
<synopsis>
@ -83,8 +86,8 @@
<refsect1>
<title>Description</title>
<refsect1 role="desc">
<title role="desc.title">Description</title>
<para>
When programming pixel data manipulation functions you will often use
algorithms operating on a color model different from the one GIMP
@ -93,10 +96,10 @@ different color spaces.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 role="details">
<title role="details.title">Details</title>
<refsect2>
<title><anchor id="GimpHSL"/>GimpHSL</title>
<title><anchor id="GimpHSL" role="struct"/>GimpHSL</title>
<indexterm><primary>GimpHSL</primary></indexterm><programlisting>typedef struct {
gdouble h, s, l, a;
} GimpHSL;
@ -105,7 +108,7 @@ different color spaces.
</para></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-to-hsv"/>gimp_rgb_to_hsv ()</title>
<title><anchor id="gimp-rgb-to-hsv" role="function"/>gimp_rgb_to_hsv ()</title>
<indexterm><primary>gimp_rgb_to_hsv</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgb_to_hsv (const <link linkend="GimpRGB">GimpRGB</link> *rgb,
<link linkend="GimpHSV">GimpHSV</link> *hsv);</programlisting>
<para>
@ -122,7 +125,7 @@ Value) colorspace.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-to-hsl"/>gimp_rgb_to_hsl ()</title>
<title><anchor id="gimp-rgb-to-hsl" role="function"/>gimp_rgb_to_hsl ()</title>
<indexterm><primary>gimp_rgb_to_hsl</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgb_to_hsl (const <link linkend="GimpRGB">GimpRGB</link> *rgb,
<link linkend="GimpHSL">GimpHSL</link> *hsl);</programlisting>
<para>
@ -139,7 +142,7 @@ color value.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-to-cmyk"/>gimp_rgb_to_cmyk ()</title>
<title><anchor id="gimp-rgb-to-cmyk" role="function"/>gimp_rgb_to_cmyk ()</title>
<indexterm><primary>gimp_rgb_to_cmyk</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgb_to_cmyk (const <link linkend="GimpRGB">GimpRGB</link> *rgb,
<link linkend="gdouble">gdouble</link> pullout,
<link linkend="GimpCMYK">GimpCMYK</link> *cmyk);</programlisting>
@ -164,7 +167,7 @@ A value of 1 causes the maximum amount of black to be pulled out.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-hsv-to-rgb"/>gimp_hsv_to_rgb ()</title>
<title><anchor id="gimp-hsv-to-rgb" role="function"/>gimp_hsv_to_rgb ()</title>
<indexterm><primary>gimp_hsv_to_rgb</primary></indexterm><programlisting><link linkend="void">void</link> gimp_hsv_to_rgb (const <link linkend="GimpHSV">GimpHSV</link> *hsv,
<link linkend="GimpRGB">GimpRGB</link> *rgb);</programlisting>
<para>
@ -180,7 +183,7 @@ Converts a color value from HSV to RGB colorspace</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-hsl-to-rgb"/>gimp_hsl_to_rgb ()</title>
<title><anchor id="gimp-hsl-to-rgb" role="function"/>gimp_hsl_to_rgb ()</title>
<indexterm><primary>gimp_hsl_to_rgb</primary></indexterm><programlisting><link linkend="void">void</link> gimp_hsl_to_rgb (const <link linkend="GimpHSL">GimpHSL</link> *hsl,
<link linkend="GimpRGB">GimpRGB</link> *rgb);</programlisting>
<para>
@ -196,7 +199,7 @@ Convert a HSL color value to an RGB color value.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-cmyk-to-rgb"/>gimp_cmyk_to_rgb ()</title>
<title><anchor id="gimp-cmyk-to-rgb" role="function"/>gimp_cmyk_to_rgb ()</title>
<indexterm><primary>gimp_cmyk_to_rgb</primary></indexterm><programlisting><link linkend="void">void</link> gimp_cmyk_to_rgb (const <link linkend="GimpCMYK">GimpCMYK</link> *cmyk,
<link linkend="GimpRGB">GimpRGB</link> *rgb);</programlisting>
<para>
@ -213,7 +216,7 @@ colorspace, without taking color profiles into account.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-to-hwb"/>gimp_rgb_to_hwb ()</title>
<title><anchor id="gimp-rgb-to-hwb" role="function"/>gimp_rgb_to_hwb ()</title>
<indexterm><primary>gimp_rgb_to_hwb</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgb_to_hwb (const <link linkend="GimpRGB">GimpRGB</link> *rgb,
<link linkend="gdouble">gdouble</link> *hue,
<link linkend="gdouble">gdouble</link> *whiteness,
@ -244,7 +247,7 @@ undefined.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-hwb-to-rgb"/>gimp_hwb_to_rgb ()</title>
<title><anchor id="gimp-hwb-to-rgb" role="function"/>gimp_hwb_to_rgb ()</title>
<indexterm><primary>gimp_hwb_to_rgb</primary></indexterm><programlisting><link linkend="void">void</link> gimp_hwb_to_rgb (<link linkend="gdouble">gdouble</link> hue,
<link linkend="gdouble">gdouble</link> whiteness,
<link linkend="gdouble">gdouble</link> blackness,
@ -269,7 +272,7 @@ range [0, 1]. The returned RGB values are all in the range [0, 1].</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-to-hsv-int"/>gimp_rgb_to_hsv_int ()</title>
<title><anchor id="gimp-rgb-to-hsv-int" role="function"/>gimp_rgb_to_hsv_int ()</title>
<indexterm><primary>gimp_rgb_to_hsv_int</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgb_to_hsv_int (<link linkend="gint">gint</link> *red,
<link linkend="gint">gint</link> *green,
<link linkend="gint">gint</link> *blue);</programlisting>
@ -296,7 +299,7 @@ ranges: H [0, 360], S [0, 255], V [0, 255].</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-hsv-to-rgb-int"/>gimp_hsv_to_rgb_int ()</title>
<title><anchor id="gimp-hsv-to-rgb-int" role="function"/>gimp_hsv_to_rgb_int ()</title>
<indexterm><primary>gimp_hsv_to_rgb_int</primary></indexterm><programlisting><link linkend="void">void</link> gimp_hsv_to_rgb_int (<link linkend="gint">gint</link> *hue,
<link linkend="gint">gint</link> *saturation,
<link linkend="gint">gint</link> *value);</programlisting>
@ -321,7 +324,7 @@ corresponding, with the returned values all in the range [0, 255].</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-to-hsl-int"/>gimp_rgb_to_hsl_int ()</title>
<title><anchor id="gimp-rgb-to-hsl-int" role="function"/>gimp_rgb_to_hsl_int ()</title>
<indexterm><primary>gimp_rgb_to_hsl_int</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgb_to_hsl_int (<link linkend="gint">gint</link> *red,
<link linkend="gint">gint</link> *green,
<link linkend="gint">gint</link> *blue);</programlisting>
@ -347,7 +350,7 @@ L [0, 255], S [0, 255].</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-to-cmyk-int"/>gimp_rgb_to_cmyk_int ()</title>
<title><anchor id="gimp-rgb-to-cmyk-int" role="function"/>gimp_rgb_to_cmyk_int ()</title>
<indexterm><primary>gimp_rgb_to_cmyk_int</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgb_to_cmyk_int (<link linkend="gint">gint</link> *red,
<link linkend="gint">gint</link> *green,
<link linkend="gint">gint</link> *blue,
@ -376,7 +379,7 @@ A value of 100 causes the maximum amount of black to be pulled out.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-cmyk-to-rgb-int"/>gimp_cmyk_to_rgb_int ()</title>
<title><anchor id="gimp-cmyk-to-rgb-int" role="function"/>gimp_cmyk_to_rgb_int ()</title>
<indexterm><primary>gimp_cmyk_to_rgb_int</primary></indexterm><programlisting><link linkend="void">void</link> gimp_cmyk_to_rgb_int (<link linkend="gint">gint</link> *cyan,
<link linkend="gint">gint</link> *magenta,
<link linkend="gint">gint</link> *yellow,
@ -401,7 +404,7 @@ formula that doesn't take any color-profiles into account is used.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-to-l-int"/>gimp_rgb_to_l_int ()</title>
<title><anchor id="gimp-rgb-to-l-int" role="function"/>gimp_rgb_to_l_int ()</title>
<indexterm><primary>gimp_rgb_to_l_int</primary></indexterm><programlisting><link linkend="gint">gint</link> gimp_rgb_to_l_int (<link linkend="gint">gint</link> red,
<link linkend="gint">gint</link> green,
<link linkend="gint">gint</link> blue);</programlisting>
@ -424,7 +427,7 @@ L = (max(R, G, B) + min (R, G, B)) / 2</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-hsl-to-rgb-int"/>gimp_hsl_to_rgb_int ()</title>
<title><anchor id="gimp-hsl-to-rgb-int" role="function"/>gimp_hsl_to_rgb_int ()</title>
<indexterm><primary>gimp_hsl_to_rgb_int</primary></indexterm><programlisting><link linkend="void">void</link> gimp_hsl_to_rgb_int (<link linkend="gint">gint</link> *hue,
<link linkend="gint">gint</link> *saturation,
<link linkend="gint">gint</link> *lightness);</programlisting>
@ -449,7 +452,7 @@ corresponding, with the returned values all in the range [0, 255].</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-to-hsv4"/>gimp_rgb_to_hsv4 ()</title>
<title><anchor id="gimp-rgb-to-hsv4" role="function"/>gimp_rgb_to_hsv4 ()</title>
<indexterm><primary>gimp_rgb_to_hsv4</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgb_to_hsv4 (<link linkend="guchar">guchar</link> *rgb,
<link linkend="gdouble">gdouble</link> *hue,
<link linkend="gdouble">gdouble</link> *saturation,
@ -474,7 +477,7 @@ corresponding, with the returned values all in the range [0, 255].</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-hsv-to-rgb4"/>gimp_hsv_to_rgb4 ()</title>
<title><anchor id="gimp-hsv-to-rgb4" role="function"/>gimp_hsv_to_rgb4 ()</title>
<indexterm><primary>gimp_hsv_to_rgb4</primary></indexterm><programlisting><link linkend="void">void</link> gimp_hsv_to_rgb4 (<link linkend="guchar">guchar</link> *rgb,
<link linkend="gdouble">gdouble</link> hue,
<link linkend="gdouble">gdouble</link> saturation,

View File

@ -4,16 +4,19 @@
<refentry id="libgimpcolor-GimpHSV">
<refmeta>
<refentrytitle>GimpHSV</refentrytitle>
<refentrytitle role="top_of_page">GimpHSV</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPCOLOR Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpHSV</refname><refpurpose>Definitions and Functions relating to HSV colors.</refpurpose>
<refname>GimpHSV</refname>
<refpurpose>Definitions and Functions relating to HSV colors.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv role="synopsis">
<title role="synopsis.title">Synopsis</title>
<synopsis>
@ -41,17 +44,17 @@
<refsect1>
<title>Description</title>
<refsect1 role="desc">
<title role="desc.title">Description</title>
<para>
Definitions and Functions relating to HSV colors.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 role="details">
<title role="details.title">Details</title>
<refsect2>
<title><anchor id="GimpHSV"/>GimpHSV</title>
<title><anchor id="GimpHSV" role="struct"/>GimpHSV</title>
<indexterm><primary>GimpHSV</primary></indexterm><programlisting>typedef struct {
gdouble h, s, v, a;
} GimpHSV;
@ -60,7 +63,7 @@ Definitions and Functions relating to HSV colors.
</para></refsect2>
<refsect2>
<title><anchor id="gimp-hsv-set"/>gimp_hsv_set ()</title>
<title><anchor id="gimp-hsv-set" role="function"/>gimp_hsv_set ()</title>
<indexterm><primary>gimp_hsv_set</primary></indexterm><programlisting><link linkend="void">void</link> gimp_hsv_set (<link linkend="GimpHSV">GimpHSV</link> *hsv,
<link linkend="gdouble">gdouble</link> hue,
<link linkend="gdouble">gdouble</link> saturation,
@ -84,7 +87,7 @@ Definitions and Functions relating to HSV colors.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-hsv-clamp"/>gimp_hsv_clamp ()</title>
<title><anchor id="gimp-hsv-clamp" role="function"/>gimp_hsv_clamp ()</title>
<indexterm><primary>gimp_hsv_clamp</primary></indexterm><programlisting><link linkend="void">void</link> gimp_hsv_clamp (<link linkend="GimpHSV">GimpHSV</link> *hsv);</programlisting>
<para>
@ -96,7 +99,7 @@ Definitions and Functions relating to HSV colors.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-hsva-set"/>gimp_hsva_set ()</title>
<title><anchor id="gimp-hsva-set" role="function"/>gimp_hsva_set ()</title>
<indexterm><primary>gimp_hsva_set</primary></indexterm><programlisting><link linkend="void">void</link> gimp_hsva_set (<link linkend="GimpHSV">GimpHSV</link> *hsva,
<link linkend="gdouble">gdouble</link> hue,
<link linkend="gdouble">gdouble</link> saturation,

View File

@ -4,16 +4,19 @@
<refentry id="libgimpcolor-GimpRGB">
<refmeta>
<refentrytitle>GimpRGB</refentrytitle>
<refentrytitle role="top_of_page">GimpRGB</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPCOLOR Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpRGB</refname><refpurpose>Definitions and Functions relating to RGB colors.</refpurpose>
<refname>GimpRGB</refname>
<refpurpose>Definitions and Functions relating to RGB colors.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv role="synopsis">
<title role="synopsis.title">Synopsis</title>
<synopsis>
@ -108,17 +111,17 @@ enum <link linkend="GimpRGBCompositeMode">GimpRGBCompositeMode</link>;
<refsect1>
<title>Description</title>
<refsect1 role="desc">
<title role="desc.title">Description</title>
<para>
Definitions and Functions relating to RGB colors.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 role="details">
<title role="details.title">Details</title>
<refsect2>
<title><anchor id="GimpRGB"/>GimpRGB</title>
<title><anchor id="GimpRGB" role="struct"/>GimpRGB</title>
<indexterm><primary>GimpRGB</primary></indexterm><programlisting>typedef struct {
gdouble r, g, b, a;
} GimpRGB;
@ -127,7 +130,7 @@ Definitions and Functions relating to RGB colors.
</para></refsect2>
<refsect2>
<title><anchor id="GimpRGBCompositeMode"/>enum GimpRGBCompositeMode</title>
<title><anchor id="GimpRGBCompositeMode" role="enum"/>enum GimpRGBCompositeMode</title>
<indexterm><primary>GimpRGBCompositeMode</primary></indexterm><programlisting>typedef enum
{
GIMP_RGB_COMPOSITE_NONE = 0,
@ -139,7 +142,7 @@ Definitions and Functions relating to RGB colors.
</para></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-set"/>gimp_rgb_set ()</title>
<title><anchor id="gimp-rgb-set" role="function"/>gimp_rgb_set ()</title>
<indexterm><primary>gimp_rgb_set</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgb_set (<link linkend="GimpRGB">GimpRGB</link> *rgb,
<link linkend="gdouble">gdouble</link> red,
<link linkend="gdouble">gdouble</link> green,
@ -166,7 +169,7 @@ set exactly as they are passed in.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-set-alpha"/>gimp_rgb_set_alpha ()</title>
<title><anchor id="gimp-rgb-set-alpha" role="function"/>gimp_rgb_set_alpha ()</title>
<indexterm><primary>gimp_rgb_set_alpha</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgb_set_alpha (<link linkend="GimpRGB">GimpRGB</link> *rgb,
<link linkend="gdouble">gdouble</link> alpha);</programlisting>
<para>
@ -182,7 +185,7 @@ Sets the alpha component of <parameter>rgb</parameter> and leaves the RGB compon
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-set-uchar"/>gimp_rgb_set_uchar ()</title>
<title><anchor id="gimp-rgb-set-uchar" role="function"/>gimp_rgb_set_uchar ()</title>
<indexterm><primary>gimp_rgb_set_uchar</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgb_set_uchar (<link linkend="GimpRGB">GimpRGB</link> *rgb,
<link linkend="guchar">guchar</link> red,
<link linkend="guchar">guchar</link> green,
@ -207,7 +210,7 @@ Sets the red, green and blue components of <parameter>rgb</parameter> from 8bit
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-get-uchar"/>gimp_rgb_get_uchar ()</title>
<title><anchor id="gimp-rgb-get-uchar" role="function"/>gimp_rgb_get_uchar ()</title>
<indexterm><primary>gimp_rgb_get_uchar</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgb_get_uchar (const <link linkend="GimpRGB">GimpRGB</link> *rgb,
<link linkend="guchar">guchar</link> *red,
<link linkend="guchar">guchar</link> *green,
@ -231,7 +234,7 @@ Sets the red, green and blue components of <parameter>rgb</parameter> from 8bit
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-parse-name"/>gimp_rgb_parse_name ()</title>
<title><anchor id="gimp-rgb-parse-name" role="function" condition="since:GIMP 2.2"/>gimp_rgb_parse_name ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_rgb_parse_name</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_rgb_parse_name (<link linkend="GimpRGB">GimpRGB</link> *rgb,
const <link linkend="gchar">gchar</link> *name,
<link linkend="gint">gint</link> len);</programlisting>
@ -256,14 +259,14 @@ This funcion does not touch the alpha component of <parameter>rgb</parameter>.</
<varlistentry><term><parameter>len</parameter>&nbsp;:</term>
<listitem><simpara> the length of <parameter>name</parameter>, in bytes. or -1 if <parameter>name</parameter> is nul-terminated
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <literal>TRUE</literal> if <parameter>name</parameter> was parsed successfully and <parameter>rgb</parameter> has been
set, <literal>FALSE</literal> otherwise
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if <parameter>name</parameter> was parsed successfully and <parameter>rgb</parameter> has been
set, <link linkend="FALSE:CAPS"><literal>FALSE</literal></link> otherwise
</simpara></listitem></varlistentry>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-parse-hex"/>gimp_rgb_parse_hex ()</title>
<title><anchor id="gimp-rgb-parse-hex" role="function" condition="since:GIMP 2.2"/>gimp_rgb_parse_hex ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_rgb_parse_hex</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_rgb_parse_hex (<link linkend="GimpRGB">GimpRGB</link> *rgb,
const <link linkend="gchar">gchar</link> *hex,
<link linkend="gint">gint</link> len);</programlisting>
@ -285,14 +288,14 @@ This funcion does not touch the alpha component of <parameter>rgb</parameter>.</
<varlistentry><term><parameter>len</parameter>&nbsp;:</term>
<listitem><simpara> the length of <parameter>hex</parameter>, in bytes. or -1 if <parameter>hex</parameter> is nul-terminated
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <literal>TRUE</literal> if <parameter>hex</parameter> was parsed successfully and <parameter>rgb</parameter> has been
set, <literal>FALSE</literal> otherwise
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if <parameter>hex</parameter> was parsed successfully and <parameter>rgb</parameter> has been
set, <link linkend="FALSE:CAPS"><literal>FALSE</literal></link> otherwise
</simpara></listitem></varlistentry>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-parse-css"/>gimp_rgb_parse_css ()</title>
<title><anchor id="gimp-rgb-parse-css" role="function" condition="since:GIMP 2.2"/>gimp_rgb_parse_css ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_rgb_parse_css</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_rgb_parse_css (<link linkend="GimpRGB">GimpRGB</link> *rgb,
const <link linkend="gchar">gchar</link> *css,
<link linkend="gint">gint</link> len);</programlisting>
@ -318,14 +321,14 @@ This funcion does not touch the alpha component of <parameter>rgb</parameter>.</
<varlistentry><term><parameter>len</parameter>&nbsp;:</term>
<listitem><simpara> the length of <parameter>hex</parameter>, in bytes. or -1 if <parameter>hex</parameter> is nul-terminated
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <literal>TRUE</literal> if <parameter>css</parameter> was parsed successfully and <parameter>rgb</parameter> has been
set, <literal>FALSE</literal> otherwise
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if <parameter>css</parameter> was parsed successfully and <parameter>rgb</parameter> has been
set, <link linkend="FALSE:CAPS"><literal>FALSE</literal></link> otherwise
</simpara></listitem></varlistentry>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-list-names"/>gimp_rgb_list_names ()</title>
<title><anchor id="gimp-rgb-list-names" role="function" condition="since:GIMP 2.2"/>gimp_rgb_list_names ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_rgb_list_names</primary></indexterm><programlisting><link linkend="gint">gint</link> gimp_rgb_list_names (const <link linkend="gchar">gchar</link> ***names,
<link linkend="GimpRGB">GimpRGB</link> **colors);</programlisting>
<para>
@ -353,7 +356,7 @@ arrays are allocated dynamically. You must call <link linkend="g-free"><function
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-add"/>gimp_rgb_add ()</title>
<title><anchor id="gimp-rgb-add" role="function"/>gimp_rgb_add ()</title>
<indexterm><primary>gimp_rgb_add</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgb_add (<link linkend="GimpRGB">GimpRGB</link> *rgb1,
const <link linkend="GimpRGB">GimpRGB</link> *rgb2);</programlisting>
<para>
@ -369,7 +372,7 @@ arrays are allocated dynamically. You must call <link linkend="g-free"><function
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-subtract"/>gimp_rgb_subtract ()</title>
<title><anchor id="gimp-rgb-subtract" role="function"/>gimp_rgb_subtract ()</title>
<indexterm><primary>gimp_rgb_subtract</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgb_subtract (<link linkend="GimpRGB">GimpRGB</link> *rgb1,
const <link linkend="GimpRGB">GimpRGB</link> *rgb2);</programlisting>
<para>
@ -385,7 +388,7 @@ arrays are allocated dynamically. You must call <link linkend="g-free"><function
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-multiply"/>gimp_rgb_multiply ()</title>
<title><anchor id="gimp-rgb-multiply" role="function"/>gimp_rgb_multiply ()</title>
<indexterm><primary>gimp_rgb_multiply</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgb_multiply (<link linkend="GimpRGB">GimpRGB</link> *rgb1,
<link linkend="gdouble">gdouble</link> factor);</programlisting>
<para>
@ -401,7 +404,7 @@ arrays are allocated dynamically. You must call <link linkend="g-free"><function
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-distance"/>gimp_rgb_distance ()</title>
<title><anchor id="gimp-rgb-distance" role="function"/>gimp_rgb_distance ()</title>
<indexterm><primary>gimp_rgb_distance</primary></indexterm><programlisting><link linkend="gdouble">gdouble</link> gimp_rgb_distance (const <link linkend="GimpRGB">GimpRGB</link> *rgb1,
const <link linkend="GimpRGB">GimpRGB</link> *rgb2);</programlisting>
<para>
@ -419,7 +422,7 @@ arrays are allocated dynamically. You must call <link linkend="g-free"><function
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-max"/>gimp_rgb_max ()</title>
<title><anchor id="gimp-rgb-max" role="function"/>gimp_rgb_max ()</title>
<indexterm><primary>gimp_rgb_max</primary></indexterm><programlisting><link linkend="gdouble">gdouble</link> gimp_rgb_max (const <link linkend="GimpRGB">GimpRGB</link> *rgb);</programlisting>
<para>
@ -433,7 +436,7 @@ arrays are allocated dynamically. You must call <link linkend="g-free"><function
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-min"/>gimp_rgb_min ()</title>
<title><anchor id="gimp-rgb-min" role="function"/>gimp_rgb_min ()</title>
<indexterm><primary>gimp_rgb_min</primary></indexterm><programlisting><link linkend="gdouble">gdouble</link> gimp_rgb_min (const <link linkend="GimpRGB">GimpRGB</link> *rgb);</programlisting>
<para>
@ -447,7 +450,7 @@ arrays are allocated dynamically. You must call <link linkend="g-free"><function
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-clamp"/>gimp_rgb_clamp ()</title>
<title><anchor id="gimp-rgb-clamp" role="function"/>gimp_rgb_clamp ()</title>
<indexterm><primary>gimp_rgb_clamp</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgb_clamp (<link linkend="GimpRGB">GimpRGB</link> *rgb);</programlisting>
<para>
@ -459,7 +462,7 @@ arrays are allocated dynamically. You must call <link linkend="g-free"><function
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-gamma"/>gimp_rgb_gamma ()</title>
<title><anchor id="gimp-rgb-gamma" role="function"/>gimp_rgb_gamma ()</title>
<indexterm><primary>gimp_rgb_gamma</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgb_gamma (<link linkend="GimpRGB">GimpRGB</link> *rgb,
<link linkend="gdouble">gdouble</link> gamma);</programlisting>
<para>
@ -475,7 +478,7 @@ arrays are allocated dynamically. You must call <link linkend="g-free"><function
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-intensity"/>gimp_rgb_intensity ()</title>
<title><anchor id="gimp-rgb-intensity" role="function"/>gimp_rgb_intensity ()</title>
<indexterm><primary>gimp_rgb_intensity</primary></indexterm><programlisting><link linkend="gdouble">gdouble</link> gimp_rgb_intensity (const <link linkend="GimpRGB">GimpRGB</link> *rgb);</programlisting>
<para>
@ -489,7 +492,7 @@ arrays are allocated dynamically. You must call <link linkend="g-free"><function
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-intensity-uchar"/>gimp_rgb_intensity_uchar ()</title>
<title><anchor id="gimp-rgb-intensity-uchar" role="function"/>gimp_rgb_intensity_uchar ()</title>
<indexterm><primary>gimp_rgb_intensity_uchar</primary></indexterm><programlisting><link linkend="guchar">guchar</link> gimp_rgb_intensity_uchar (const <link linkend="GimpRGB">GimpRGB</link> *rgb);</programlisting>
<para>
@ -503,7 +506,7 @@ arrays are allocated dynamically. You must call <link linkend="g-free"><function
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgb-composite"/>gimp_rgb_composite ()</title>
<title><anchor id="gimp-rgb-composite" role="function"/>gimp_rgb_composite ()</title>
<indexterm><primary>gimp_rgb_composite</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgb_composite (<link linkend="GimpRGB">GimpRGB</link> *color1,
const <link linkend="GimpRGB">GimpRGB</link> *color2,
<link linkend="GimpRGBCompositeMode">GimpRGBCompositeMode</link> mode);</programlisting>
@ -523,7 +526,7 @@ arrays are allocated dynamically. You must call <link linkend="g-free"><function
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgba-set"/>gimp_rgba_set ()</title>
<title><anchor id="gimp-rgba-set" role="function"/>gimp_rgba_set ()</title>
<indexterm><primary>gimp_rgba_set</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgba_set (<link linkend="GimpRGB">GimpRGB</link> *rgba,
<link linkend="gdouble">gdouble</link> red,
<link linkend="gdouble">gdouble</link> green,
@ -553,7 +556,7 @@ and the values are set exactly as they are passed in.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgba-set-uchar"/>gimp_rgba_set_uchar ()</title>
<title><anchor id="gimp-rgba-set-uchar" role="function"/>gimp_rgba_set_uchar ()</title>
<indexterm><primary>gimp_rgba_set_uchar</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgba_set_uchar (<link linkend="GimpRGB">GimpRGB</link> *rgba,
<link linkend="guchar">guchar</link> red,
<link linkend="guchar">guchar</link> green,
@ -582,7 +585,7 @@ values (0 to 255).</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgba-get-uchar"/>gimp_rgba_get_uchar ()</title>
<title><anchor id="gimp-rgba-get-uchar" role="function"/>gimp_rgba_get_uchar ()</title>
<indexterm><primary>gimp_rgba_get_uchar</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgba_get_uchar (const <link linkend="GimpRGB">GimpRGB</link> *rgba,
<link linkend="guchar">guchar</link> *red,
<link linkend="guchar">guchar</link> *green,
@ -610,7 +613,7 @@ values (0 to 255).</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgba-parse-css"/>gimp_rgba_parse_css ()</title>
<title><anchor id="gimp-rgba-parse-css" role="function" condition="since:GIMP 2.2"/>gimp_rgba_parse_css ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_rgba_parse_css</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_rgba_parse_css (<link linkend="GimpRGB">GimpRGB</link> *rgba,
const <link linkend="gchar">gchar</link> *css,
<link linkend="gint">gint</link> len);</programlisting>
@ -634,14 +637,14 @@ they leave the alpha channel unspecified.</para>
<varlistentry><term><parameter>len</parameter>&nbsp;:</term>
<listitem><simpara> the length of <parameter>hex</parameter>, in bytes. or -1 if <parameter>hex</parameter> is nul-terminated
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <literal>TRUE</literal> if <parameter>css</parameter> was parsed successfully and <parameter>rgb</parameter> has been
set, <literal>FALSE</literal> otherwise
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if <parameter>css</parameter> was parsed successfully and <parameter>rgb</parameter> has been
set, <link linkend="FALSE:CAPS"><literal>FALSE</literal></link> otherwise
</simpara></listitem></varlistentry>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-rgba-add"/>gimp_rgba_add ()</title>
<title><anchor id="gimp-rgba-add" role="function"/>gimp_rgba_add ()</title>
<indexterm><primary>gimp_rgba_add</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgba_add (<link linkend="GimpRGB">GimpRGB</link> *rgba1,
const <link linkend="GimpRGB">GimpRGB</link> *rgba2);</programlisting>
<para>
@ -657,7 +660,7 @@ they leave the alpha channel unspecified.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgba-subtract"/>gimp_rgba_subtract ()</title>
<title><anchor id="gimp-rgba-subtract" role="function"/>gimp_rgba_subtract ()</title>
<indexterm><primary>gimp_rgba_subtract</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgba_subtract (<link linkend="GimpRGB">GimpRGB</link> *rgba1,
const <link linkend="GimpRGB">GimpRGB</link> *rgba2);</programlisting>
<para>
@ -673,7 +676,7 @@ they leave the alpha channel unspecified.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgba-multiply"/>gimp_rgba_multiply ()</title>
<title><anchor id="gimp-rgba-multiply" role="function"/>gimp_rgba_multiply ()</title>
<indexterm><primary>gimp_rgba_multiply</primary></indexterm><programlisting><link linkend="void">void</link> gimp_rgba_multiply (<link linkend="GimpRGB">GimpRGB</link> *rgba,
<link linkend="gdouble">gdouble</link> factor);</programlisting>
<para>
@ -689,7 +692,7 @@ they leave the alpha channel unspecified.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-rgba-distance"/>gimp_rgba_distance ()</title>
<title><anchor id="gimp-rgba-distance" role="function"/>gimp_rgba_distance ()</title>
<indexterm><primary>gimp_rgba_distance</primary></indexterm><programlisting><link linkend="gdouble">gdouble</link> gimp_rgba_distance (const <link linkend="GimpRGB">GimpRGB</link> *rgba1,
const <link linkend="GimpRGB">GimpRGB</link> *rgba2);</programlisting>
<para>
@ -707,7 +710,7 @@ they leave the alpha channel unspecified.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GIMP-RGB-INTENSITY:CAPS"/>GIMP_RGB_INTENSITY()</title>
<title><anchor id="GIMP-RGB-INTENSITY:CAPS" role="macro"/>GIMP_RGB_INTENSITY()</title>
<indexterm><primary>GIMP_RGB_INTENSITY</primary></indexterm><programlisting>#define GIMP_RGB_INTENSITY(r,g,b)</programlisting>
<para>
This macro calculates the intensity of an RGB value based on
@ -726,35 +729,35 @@ coefficients taken from the NTSC analog television standard.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GIMP-RGB-INTENSITY-RED:CAPS"/>GIMP_RGB_INTENSITY_RED</title>
<title><anchor id="GIMP-RGB-INTENSITY-RED:CAPS" role="macro"/>GIMP_RGB_INTENSITY_RED</title>
<indexterm><primary>GIMP_RGB_INTENSITY_RED</primary></indexterm><programlisting>#define GIMP_RGB_INTENSITY_RED 0.30
</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="GIMP-RGB-INTENSITY-GREEN:CAPS"/>GIMP_RGB_INTENSITY_GREEN</title>
<title><anchor id="GIMP-RGB-INTENSITY-GREEN:CAPS" role="macro"/>GIMP_RGB_INTENSITY_GREEN</title>
<indexterm><primary>GIMP_RGB_INTENSITY_GREEN</primary></indexterm><programlisting>#define GIMP_RGB_INTENSITY_GREEN 0.59
</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="GIMP-RGB-INTENSITY-BLUE:CAPS"/>GIMP_RGB_INTENSITY_BLUE</title>
<title><anchor id="GIMP-RGB-INTENSITY-BLUE:CAPS" role="macro"/>GIMP_RGB_INTENSITY_BLUE</title>
<indexterm><primary>GIMP_RGB_INTENSITY_BLUE</primary></indexterm><programlisting>#define GIMP_RGB_INTENSITY_BLUE 0.11
</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="GIMP-TYPE-RGB:CAPS"/>GIMP_TYPE_RGB</title>
<title><anchor id="GIMP-TYPE-RGB:CAPS" role="macro"/>GIMP_TYPE_RGB</title>
<indexterm><primary>GIMP_TYPE_RGB</primary></indexterm><programlisting>#define GIMP_TYPE_RGB (gimp_rgb_get_type ())
</programlisting>
<para>
<link linkend="GIMP-TYPE-RGB:CAPS"><type>GIMP_TYPE_RGB</type></link> is a <link linkend="GType"><type>GType</type></link> derived from <link linkend="G-TYPE-BOXED:CAPS"><type>G_TYPE_BOXED</type></link>.
</para></refsect2>
<refsect2>
<title><anchor id="GIMP-VALUE-HOLDS-RGB:CAPS"/>GIMP_VALUE_HOLDS_RGB()</title>
<title><anchor id="GIMP-VALUE-HOLDS-RGB:CAPS" role="macro"/>GIMP_VALUE_HOLDS_RGB()</title>
<indexterm><primary>GIMP_VALUE_HOLDS_RGB</primary></indexterm><programlisting>#define GIMP_VALUE_HOLDS_RGB(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_RGB))
</programlisting>
<para>