Imported Upstream version 2.2.14
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>gimppalette</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 Library Reference Manual">
|
||||
<link rel="up" href="libgimp-data.html" title="Data Objects">
|
||||
<link rel="prev" href="libgimp-gimpgradients.html" title="gimpgradients">
|
||||
@ -28,16 +28,16 @@
|
||||
<th width="100%" align="center">GIMP Library Reference Manual</th>
|
||||
<td><a accesskey="n" href="libgimp-gimppalettes.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
||||
</tr>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2536762" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2564183" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2639247" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2672072" class="shortcut">Description</a></nobr></td></tr>
|
||||
</table>
|
||||
<div class="refentry" lang="en">
|
||||
<a name="libgimp-gimppalette"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2>
|
||||
<a name="id2536762"></a><span class="refentrytitle">gimppalette</span>
|
||||
<a name="id2564183"></a><span class="refentrytitle">gimppalette</span>
|
||||
</h2>
|
||||
<p>gimppalette — Functions operating on a single palette.</p>
|
||||
</td>
|
||||
@ -97,17 +97,17 @@ gboolean <a href="libgimp-gimppalette.html#gimp-palette-swap-colors">gimp_pal
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2639247"></a><h2>Description</h2>
|
||||
<a name="id2672072"></a><h2>Description</h2>
|
||||
<p>
|
||||
Functions operating on a single palette.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2639262"></a><h2>Details</h2>
|
||||
<a name="id2672087"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2639273"></a><h3>
|
||||
<a name="id2672098"></a><h3>
|
||||
<a name="gimp-palette-new"></a>gimp_palette_new ()</h3>
|
||||
<a class="indexterm" name="id2630407"></a><pre class="programlisting">gchar* gimp_palette_new (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2672113"></a><pre class="programlisting">gchar* gimp_palette_new (const gchar *name);</pre>
|
||||
<p>
|
||||
Creates a new palette
|
||||
</p>
|
||||
@ -120,14 +120,12 @@ This procedure creates a new, uninitialized palette</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td> The requested name of the new palette.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The actual new palette name.
|
||||
|
||||
</td>
|
||||
@ -139,9 +137,9 @@ This procedure creates a new, uninitialized palette</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2630476"></a><h3>
|
||||
<a name="id2672182"></a><h3>
|
||||
<a name="gimp-palette-duplicate"></a>gimp_palette_duplicate ()</h3>
|
||||
<a class="indexterm" name="id2630489"></a><pre class="programlisting">gchar* gimp_palette_duplicate (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2672195"></a><pre class="programlisting">gchar* gimp_palette_duplicate (const gchar *name);</pre>
|
||||
<p>
|
||||
Duplicates a palette
|
||||
</p>
|
||||
@ -154,14 +152,12 @@ This procedure creates an identical palette by a different name</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td> The palette name.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The name of the palette's copy.
|
||||
|
||||
</td>
|
||||
@ -173,9 +169,9 @@ This procedure creates an identical palette by a different name</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2630558"></a><h3>
|
||||
<a name="id2672264"></a><h3>
|
||||
<a name="gimp-palette-rename"></a>gimp_palette_rename ()</h3>
|
||||
<a class="indexterm" name="id2630573"></a><pre class="programlisting">gchar* gimp_palette_rename (const gchar *name,
|
||||
<a class="indexterm" name="id2662466"></a><pre class="programlisting">gchar* gimp_palette_rename (const gchar *name,
|
||||
const gchar *new_name);</pre>
|
||||
<p>
|
||||
Rename a palette
|
||||
@ -189,20 +185,17 @@ This procedure renames a palette</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td> The palette name.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>new_name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>new_name</code></em> :</span></td>
|
||||
<td> The new name of the palette.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The actual new name of the palette.
|
||||
|
||||
</td>
|
||||
@ -214,9 +207,9 @@ This procedure renames a palette</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2630662"></a><h3>
|
||||
<a name="id2662555"></a><h3>
|
||||
<a name="gimp-palette-delete"></a>gimp_palette_delete ()</h3>
|
||||
<a class="indexterm" name="id2630677"></a><pre class="programlisting">gboolean gimp_palette_delete (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2662570"></a><pre class="programlisting">gboolean gimp_palette_delete (const gchar *name);</pre>
|
||||
<p>
|
||||
Deletes a palette
|
||||
</p>
|
||||
@ -229,14 +222,12 @@ This procedure deletes a palette</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td> The palette name.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
@ -248,9 +239,9 @@ This procedure deletes a palette</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2630745"></a><h3>
|
||||
<a name="id2662638"></a><h3>
|
||||
<a name="gimp-palette-get-info"></a>gimp_palette_get_info ()</h3>
|
||||
<a class="indexterm" name="id2630758"></a><pre class="programlisting">gboolean gimp_palette_get_info (const gchar *name,
|
||||
<a class="indexterm" name="id2662651"></a><pre class="programlisting">gboolean gimp_palette_get_info (const gchar *name,
|
||||
gint *num_colors);</pre>
|
||||
<p>
|
||||
Retrieve information about the specified palette.
|
||||
@ -265,20 +256,17 @@ This includes the name, and the number of colors.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td> The palette name.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>num_colors</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>num_colors</code></em> :</span></td>
|
||||
<td> The number of colors in the palette.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
@ -290,9 +278,9 @@ This includes the name, and the number of colors.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2641409"></a><h3>
|
||||
<a name="id2674376"></a><h3>
|
||||
<a name="gimp-palette-add-entry"></a>gimp_palette_add_entry ()</h3>
|
||||
<a class="indexterm" name="id2641423"></a><pre class="programlisting">gboolean gimp_palette_add_entry (const gchar *name,
|
||||
<a class="indexterm" name="id2674389"></a><pre class="programlisting">gboolean gimp_palette_add_entry (const gchar *name,
|
||||
const gchar *entry_name,
|
||||
const <a
|
||||
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
@ -311,32 +299,27 @@ error if the entry palette does not exist.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td> The palette name.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>entry_name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>entry_name</code></em> :</span></td>
|
||||
<td> The name of the entry.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>color</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>color</code></em> :</span></td>
|
||||
<td> The new entry's color color.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>entry_num</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>entry_num</code></em> :</span></td>
|
||||
<td> The index of the added entry.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
@ -348,9 +331,9 @@ error if the entry palette does not exist.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2641556"></a><h3>
|
||||
<a name="id2674523"></a><h3>
|
||||
<a name="gimp-palette-delete-entry"></a>gimp_palette_delete_entry ()</h3>
|
||||
<a class="indexterm" name="id2641570"></a><pre class="programlisting">gboolean gimp_palette_delete_entry (const gchar *name,
|
||||
<a class="indexterm" name="id2674537"></a><pre class="programlisting">gboolean gimp_palette_delete_entry (const gchar *name,
|
||||
gint entry_num);</pre>
|
||||
<p>
|
||||
Deletes a palette entry from the specified palette.
|
||||
@ -365,20 +348,17 @@ returns an error if the entry palette does not exist.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td> The palette name.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>entry_num</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>entry_num</code></em> :</span></td>
|
||||
<td> The index of the added entry.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
@ -390,9 +370,9 @@ returns an error if the entry palette does not exist.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2641662"></a><h3>
|
||||
<a name="id2674629"></a><h3>
|
||||
<a name="gimp-palette-entry-get-color"></a>gimp_palette_entry_get_color ()</h3>
|
||||
<a class="indexterm" name="id2641676"></a><pre class="programlisting">gboolean gimp_palette_entry_get_color (const gchar *name,
|
||||
<a class="indexterm" name="id2674643"></a><pre class="programlisting">gboolean gimp_palette_entry_get_color (const gchar *name,
|
||||
gint entry_num,
|
||||
<a
|
||||
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
@ -411,26 +391,22 @@ exist.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td> The palette name.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>entry_num</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>entry_num</code></em> :</span></td>
|
||||
<td> The entry to retrieve.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>color</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>color</code></em> :</span></td>
|
||||
<td> The color requested.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
@ -442,9 +418,9 @@ exist.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2641789"></a><h3>
|
||||
<a name="id2674756"></a><h3>
|
||||
<a name="gimp-palette-entry-set-color"></a>gimp_palette_entry_set_color ()</h3>
|
||||
<a class="indexterm" name="id2641803"></a><pre class="programlisting">gboolean gimp_palette_entry_set_color (const gchar *name,
|
||||
<a class="indexterm" name="id2674770"></a><pre class="programlisting">gboolean gimp_palette_entry_set_color (const gchar *name,
|
||||
gint entry_num,
|
||||
const <a
|
||||
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
@ -463,26 +439,22 @@ exist.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td> The palette name.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>entry_num</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>entry_num</code></em> :</span></td>
|
||||
<td> The entry to retrieve.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>color</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>color</code></em> :</span></td>
|
||||
<td> The new color.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
@ -494,9 +466,9 @@ exist.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2641917"></a><h3>
|
||||
<a name="id2674884"></a><h3>
|
||||
<a name="gimp-palette-entry-get-name"></a>gimp_palette_entry_get_name ()</h3>
|
||||
<a class="indexterm" name="id2641930"></a><pre class="programlisting">gboolean gimp_palette_entry_get_name (const gchar *name,
|
||||
<a class="indexterm" name="id2674897"></a><pre class="programlisting">gboolean gimp_palette_entry_get_name (const gchar *name,
|
||||
gint entry_num,
|
||||
gchar **entry_name);</pre>
|
||||
<p>
|
||||
@ -513,26 +485,22 @@ exist.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td> The palette name.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>entry_num</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>entry_num</code></em> :</span></td>
|
||||
<td> The entry to retrieve.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>entry_name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>entry_name</code></em> :</span></td>
|
||||
<td> The name requested.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
@ -544,9 +512,9 @@ exist.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2642044"></a><h3>
|
||||
<a name="id2675011"></a><h3>
|
||||
<a name="gimp-palette-entry-set-name"></a>gimp_palette_entry_set_name ()</h3>
|
||||
<a class="indexterm" name="id2642058"></a><pre class="programlisting">gboolean gimp_palette_entry_set_name (const gchar *name,
|
||||
<a class="indexterm" name="id2675024"></a><pre class="programlisting">gboolean gimp_palette_entry_set_name (const gchar *name,
|
||||
gint entry_num,
|
||||
const gchar *entry_name);</pre>
|
||||
<p>
|
||||
@ -563,26 +531,22 @@ exist.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td> The palette name.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>entry_num</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>entry_num</code></em> :</span></td>
|
||||
<td> The entry to retrieve.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>entry_name</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>entry_name</code></em> :</span></td>
|
||||
<td> The new name.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
|
||||
</td>
|
||||
@ -594,9 +558,9 @@ exist.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2646189"></a><h3>
|
||||
<a name="id2679168"></a><h3>
|
||||
<a name="gimp-palette-get-foreground"></a>gimp_palette_get_foreground ()</h3>
|
||||
<a class="indexterm" name="id2646201"></a><pre class="programlisting">gboolean gimp_palette_get_foreground (<a
|
||||
<a class="indexterm" name="id2679181"></a><pre class="programlisting">gboolean gimp_palette_get_foreground (<a
|
||||
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
>GimpRGB</a> *foreground);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
@ -617,14 +581,12 @@ blending, and bucket fill.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>foreground</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>foreground</code></em> :</span></td>
|
||||
<td> The foreground color.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -633,9 +595,9 @@ blending, and bucket fill.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2646273"></a><h3>
|
||||
<a name="id2679252"></a><h3>
|
||||
<a name="gimp-palette-get-background"></a>gimp_palette_get_background ()</h3>
|
||||
<a class="indexterm" name="id2646286"></a><pre class="programlisting">gboolean gimp_palette_get_background (<a
|
||||
<a class="indexterm" name="id2679265"></a><pre class="programlisting">gboolean gimp_palette_get_background (<a
|
||||
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
>GimpRGB</a> *background);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
@ -656,14 +618,12 @@ erasing (with non-alpha images), and image filling.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>background</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>background</code></em> :</span></td>
|
||||
<td> The background color.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -672,9 +632,9 @@ erasing (with non-alpha images), and image filling.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2646358"></a><h3>
|
||||
<a name="id2679341"></a><h3>
|
||||
<a name="gimp-palette-set-foreground"></a>gimp_palette_set_foreground ()</h3>
|
||||
<a class="indexterm" name="id2646371"></a><pre class="programlisting">gboolean gimp_palette_set_foreground (const <a
|
||||
<a class="indexterm" name="id2679355"></a><pre class="programlisting">gboolean gimp_palette_set_foreground (const <a
|
||||
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
>GimpRGB</a> *foreground);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
@ -695,14 +655,12 @@ and bucket fill will use the new value.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>foreground</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>foreground</code></em> :</span></td>
|
||||
<td> The foreground color.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -711,9 +669,9 @@ and bucket fill will use the new value.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2646450"></a><h3>
|
||||
<a name="id2679435"></a><h3>
|
||||
<a name="gimp-palette-set-background"></a>gimp_palette_set_background ()</h3>
|
||||
<a class="indexterm" name="id2646464"></a><pre class="programlisting">gboolean gimp_palette_set_background (const <a
|
||||
<a class="indexterm" name="id2679449"></a><pre class="programlisting">gboolean gimp_palette_set_background (const <a
|
||||
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
|
||||
>GimpRGB</a> *background);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
@ -735,14 +693,12 @@ value.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>background</code></em> :</span></td>
|
||||
<td><span class="term"><em class="parameter"><code>background</code></em> :</span></td>
|
||||
<td> The background color.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -751,9 +707,9 @@ value.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2646522"></a><h3>
|
||||
<a name="id2679529"></a><h3>
|
||||
<a name="gimp-palette-set-default-colors"></a>gimp_palette_set_default_colors ()</h3>
|
||||
<a class="indexterm" name="id2646534"></a><pre class="programlisting">gboolean gimp_palette_set_default_colors (void);</pre>
|
||||
<a class="indexterm" name="id2679544"></a><pre class="programlisting">gboolean gimp_palette_set_default_colors (void);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_palette_set_default_colors</code> is deprecated and should not be used in newly-written code.</p>
|
||||
@ -771,8 +727,7 @@ colors to their initial default values, black and white.</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr></tbody>
|
||||
@ -780,9 +735,9 @@ colors to their initial default values, black and white.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2646589"></a><h3>
|
||||
<a name="id2556968"></a><h3>
|
||||
<a name="gimp-palette-swap-colors"></a>gimp_palette_swap_colors ()</h3>
|
||||
<a class="indexterm" name="id2646601"></a><pre class="programlisting">gboolean gimp_palette_swap_colors (void);</pre>
|
||||
<a class="indexterm" name="id2581603"></a><pre class="programlisting">gboolean gimp_palette_swap_colors (void);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_palette_swap_colors</code> is deprecated and should not be used in newly-written code.</p>
|
||||
@ -800,8 +755,7 @@ color and vice versa.</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr></tbody>
|
||||
|
Reference in New Issue
Block a user