Imported Upstream version 2.3.16
This commit is contained in:
@ -3,12 +3,12 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>gimpgradients</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
|
||||
<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-gimpgradient.html" title="gimpgradient">
|
||||
<link rel="next" href="libgimp-gimppalette.html" title="gimppalette">
|
||||
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
<link rel="part" href="libgimp.html" title="Part I. GIMP Library">
|
||||
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
|
||||
@ -31,16 +31,16 @@
|
||||
<th width="100%" align="center">GIMP Library Reference Manual</th>
|
||||
<td><a accesskey="n" href="libgimp-gimppalette.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="#id2554711" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2582392" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2662645" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2669418" class="shortcut">Description</a></nobr></td></tr>
|
||||
</table>
|
||||
<div class="refentry" lang="en">
|
||||
<a name="libgimp-gimpgradients"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2>
|
||||
<a name="id2554711"></a><span class="refentrytitle">gimpgradients</span>
|
||||
<a name="id2582392"></a><span class="refentrytitle">gimpgradients</span>
|
||||
</h2>
|
||||
<p>gimpgradients — Operations related to gradients.</p>
|
||||
</td>
|
||||
@ -52,37 +52,36 @@
|
||||
|
||||
|
||||
|
||||
gboolean <a href="libgimp-gimpgradients.html#gimp-gradients-refresh">gimp_gradients_refresh</a> (void);
|
||||
gchar** <a href="libgimp-gimpgradients.html#gimp-gradients-get-list">gimp_gradients_get_list</a> (const gchar *filter,
|
||||
gint *num_gradients);
|
||||
gchar* <a href="libgimp-gimpgradients.html#gimp-gradients-get-gradient">gimp_gradients_get_gradient</a> (void);
|
||||
gboolean <a href="libgimp-gimpgradients.html#gimp-gradients-set-gradient">gimp_gradients_set_gradient</a> (const gchar *name);
|
||||
gdouble* <a href="libgimp-gimpgradients.html#gimp-gradients-sample-uniform">gimp_gradients_sample_uniform</a> (gint num_samples,
|
||||
gboolean reverse);
|
||||
gdouble* <a href="libgimp-gimpgradients.html#gimp-gradients-sample-custom">gimp_gradients_sample_custom</a> (gint num_samples,
|
||||
const gdouble *positions,
|
||||
gboolean reverse);
|
||||
gchar* <a href="libgimp-gimpgradients.html#gimp-gradients-get-gradient-data">gimp_gradients_get_gradient_data</a>
|
||||
(const gchar *name,
|
||||
gint sample_size,
|
||||
gboolean reverse,
|
||||
gint *width,
|
||||
gdouble **grad_data);
|
||||
gboolean <a href="libgimp-gimpgradients.html#gimp-gradients-refresh">gimp_gradients_refresh</a> (void);
|
||||
gchar** <a href="libgimp-gimpgradients.html#gimp-gradients-get-list">gimp_gradients_get_list</a> (const gchar *filter,
|
||||
gint *num_gradients);
|
||||
gchar* <a href="libgimp-gimpgradients.html#gimp-gradients-get-gradient">gimp_gradients_get_gradient</a> (void);
|
||||
gboolean <a href="libgimp-gimpgradients.html#gimp-gradients-set-gradient">gimp_gradients_set_gradient</a> (const gchar *name);
|
||||
gdouble* <a href="libgimp-gimpgradients.html#gimp-gradients-sample-uniform">gimp_gradients_sample_uniform</a> (gint num_samples,
|
||||
gboolean reverse);
|
||||
gdouble* <a href="libgimp-gimpgradients.html#gimp-gradients-sample-custom">gimp_gradients_sample_custom</a> (gint num_samples,
|
||||
const gdouble *positions,
|
||||
gboolean reverse);
|
||||
gchar* <a href="libgimp-gimpgradients.html#gimp-gradients-get-gradient-data">gimp_gradients_get_gradient_data</a> (const gchar *name,
|
||||
gint sample_size,
|
||||
gboolean reverse,
|
||||
gint *width,
|
||||
gdouble **grad_data);
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2662645"></a><h2>Description</h2>
|
||||
<a name="id2669418"></a><h2>Description</h2>
|
||||
<p>
|
||||
Operations related to gradients.
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2662660"></a><h2>Details</h2>
|
||||
<a name="id2669434"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2662670"></a><h3>
|
||||
<a name="id2669444"></a><h3>
|
||||
<a name="gimp-gradients-refresh"></a>gimp_gradients_refresh ()</h3>
|
||||
<a class="indexterm" name="id2662682"></a><pre class="programlisting">gboolean gimp_gradients_refresh (void);</pre>
|
||||
<a class="indexterm" name="id2669456"></a><pre class="programlisting">gboolean gimp_gradients_refresh (void);</pre>
|
||||
<p>
|
||||
Refresh current gradients. This function always succeeds.
|
||||
</p>
|
||||
@ -103,10 +102,10 @@ gradient path and updates the gradient dialogs accordingly.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2664462"></a><h3>
|
||||
<a name="id2674806"></a><h3>
|
||||
<a name="gimp-gradients-get-list"></a>gimp_gradients_get_list ()</h3>
|
||||
<a class="indexterm" name="id2664474"></a><pre class="programlisting">gchar** gimp_gradients_get_list (const gchar *filter,
|
||||
gint *num_gradients);</pre>
|
||||
<a class="indexterm" name="id2674817"></a><pre class="programlisting">gchar** gimp_gradients_get_list (const gchar *filter,
|
||||
gint *num_gradients);</pre>
|
||||
<p>
|
||||
Retrieve the list of loaded gradients.
|
||||
</p>
|
||||
@ -140,9 +139,9 @@ to set the active gradient.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2664568"></a><h3>
|
||||
<a name="id2674911"></a><h3>
|
||||
<a name="gimp-gradients-get-gradient"></a>gimp_gradients_get_gradient ()</h3>
|
||||
<a class="indexterm" name="id2664581"></a><pre class="programlisting">gchar* gimp_gradients_get_gradient (void);</pre>
|
||||
<a class="indexterm" name="id2674924"></a><pre class="programlisting">gchar* gimp_gradients_get_gradient (void);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_gradients_get_gradient</code> is deprecated and should not be used in newly-written code.</p>
|
||||
@ -163,9 +162,9 @@ This procedure is deprecated! Use <a href="libgimp-gimpcontext.html#gimp-context
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2664641"></a><h3>
|
||||
<a name="id2691072"></a><h3>
|
||||
<a name="gimp-gradients-set-gradient"></a>gimp_gradients_set_gradient ()</h3>
|
||||
<a class="indexterm" name="id2664654"></a><pre class="programlisting">gboolean gimp_gradients_set_gradient (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2691085"></a><pre class="programlisting">gboolean gimp_gradients_set_gradient (const gchar *name);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_gradients_set_gradient</code> is deprecated and should not be used in newly-written code.</p>
|
||||
@ -193,10 +192,10 @@ This procedure is deprecated! Use <a href="libgimp-gimpcontext.html#gimp-context
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2681401"></a><h3>
|
||||
<a name="id2691165"></a><h3>
|
||||
<a name="gimp-gradients-sample-uniform"></a>gimp_gradients_sample_uniform ()</h3>
|
||||
<a class="indexterm" name="id2681415"></a><pre class="programlisting">gdouble* gimp_gradients_sample_uniform (gint num_samples,
|
||||
gboolean reverse);</pre>
|
||||
<a class="indexterm" name="id2691179"></a><pre class="programlisting">gdouble* gimp_gradients_sample_uniform (gint num_samples,
|
||||
gboolean reverse);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_gradients_sample_uniform</code> is deprecated and should not be used in newly-written code.</p>
|
||||
@ -230,11 +229,11 @@ This procedure is deprecated! Use
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2681516"></a><h3>
|
||||
<a name="id2670687"></a><h3>
|
||||
<a name="gimp-gradients-sample-custom"></a>gimp_gradients_sample_custom ()</h3>
|
||||
<a class="indexterm" name="id2681530"></a><pre class="programlisting">gdouble* gimp_gradients_sample_custom (gint num_samples,
|
||||
const gdouble *positions,
|
||||
gboolean reverse);</pre>
|
||||
<a class="indexterm" name="id2670702"></a><pre class="programlisting">gdouble* gimp_gradients_sample_custom (gint num_samples,
|
||||
const gdouble *positions,
|
||||
gboolean reverse);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_gradients_sample_custom</code> is deprecated and should not be used in newly-written code.</p>
|
||||
@ -273,14 +272,13 @@ instead.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2681657"></a><h3>
|
||||
<a name="id2670831"></a><h3>
|
||||
<a name="gimp-gradients-get-gradient-data"></a>gimp_gradients_get_gradient_data ()</h3>
|
||||
<a class="indexterm" name="id2681672"></a><pre class="programlisting">gchar* gimp_gradients_get_gradient_data
|
||||
(const gchar *name,
|
||||
gint sample_size,
|
||||
gboolean reverse,
|
||||
gint *width,
|
||||
gdouble **grad_data);</pre>
|
||||
<a class="indexterm" name="id2670846"></a><pre class="programlisting">gchar* gimp_gradients_get_gradient_data (const gchar *name,
|
||||
gint sample_size,
|
||||
gboolean reverse,
|
||||
gint *width,
|
||||
gdouble **grad_data);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_gradients_get_gradient_data</code> is deprecated and should not be used in newly-written code.</p>
|
||||
|
||||
Reference in New Issue
Block a user