Imported Upstream version 2.8.6

This commit is contained in:
Ari Pollak
2013-07-01 20:23:15 -04:00
parent 08fdee2b19
commit a7debe0231
613 changed files with 76756 additions and 58854 deletions

View File

@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>gimpgradient</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="GIMP Library Reference Manual">
<link rel="up" href="libgimp-data.html" title="Data Objects">
<link rel="prev" href="libgimp-gimpfonts.html" title="gimpfonts">
@ -173,8 +173,11 @@ Creates a new gradient
<p>
This procedure creates a new, uninitialized gradient
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -198,8 +201,11 @@ Duplicates a gradient
<p>
This procedure creates an identical gradient by a different name
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -224,8 +230,11 @@ Rename a gradient
<p>
This procedure renames a gradient
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -253,8 +262,11 @@ Deletes a gradient
<p>
This procedure deletes a gradient
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -278,8 +290,11 @@ Tests if gradient can be edited
<p>
Returns TRUE if you have permission to change the gradient
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -313,8 +328,11 @@ correspond to the { 0.0, 1.0 } positions in the gradient. For
example, if the number of samples is 3, the procedure will return
the colors at positions { 0.0, 0.5, 1.0 }.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -364,8 +382,11 @@ corresponds to position 0.0, and the right endpoint corresponds to
1.0. The procedure returns a list of floating-point values which
correspond to the RGBA values for each sample.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -411,8 +432,11 @@ Returns the number of segments of the specified gradient
This procedure returns the number of segments of the specified
gradient.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -441,8 +465,11 @@ Retrieves the left endpoint color of the specified segment
This procedure retrieves the left endpoint color of the specified
segment of the specified gradient.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -483,8 +510,11 @@ Sets the left endpoint color of the specified segment
This procedure sets the left endpoint color of the specified segment
of the specified gradient.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -525,8 +555,11 @@ Retrieves the right endpoint color of the specified segment
This procedure retrieves the right endpoint color of the specified
segment of the specified gradient.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -567,8 +600,11 @@ Sets the right endpoint color of the specified segment
This procedure sets the right endpoint color of the specified
segment of the specified gradient.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -607,8 +643,11 @@ Retrieves the left endpoint position of the specified segment
This procedure retrieves the left endpoint position of the specified
segment of the specified gradient.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -647,8 +686,11 @@ between the position of the middle point to the left to the middle
point of the current segement. This procedure returns the final
position.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -688,8 +730,11 @@ Retrieves the middle point position of the specified segment
This procedure retrieves the middle point position of the specified
segment of the specified gradient.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -728,8 +773,11 @@ segment of the specified gradient. The final position will be
between the two endpoints of the segment. This procedure returns the
final position.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -768,8 +816,11 @@ Retrieves the right endpoint position of the specified segment
This procedure retrieves the right endpoint position of the
specified segment of the specified gradient.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -808,8 +859,11 @@ between the position of the middle point of the current segment and
the middle point of the segment to the right. This procedure returns
the final position.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -849,8 +903,11 @@ Retrieves the gradient segment's blending function
This procedure retrieves the blending function of the segment at the
specified gradient name and segment index.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -886,8 +943,11 @@ Retrieves the gradient segment's coloring type
This procedure retrieves the coloring type of the segment at the
specified gradient name and segment index.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -924,8 +984,11 @@ Change the blending function of a segments range
This function changes the blending function of a segment range to
the specified blending function.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -966,8 +1029,11 @@ Change the coloring type of a segments range
This function changes the coloring type of a segment range to the
specified coloring type.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -1005,8 +1071,11 @@ Flip the segment range
<p>
This function flips a segment range.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -1044,8 +1113,11 @@ This function replicates a segment range a given number of times.
Instead of the original segment range, several smaller scaled copies
of it will appear in equal widths.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -1085,8 +1157,11 @@ Splits each segment in the segment range at midpoint
This function splits each segment in the segment range at its
midpoint.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -1123,8 +1198,11 @@ Splits each segment in the segment range uniformly
This function splits each segment in the segment range uniformly
according to the number of times specified by the parameter.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -1162,8 +1240,11 @@ Delete the segment range
<p>
This function deletes a segment range.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -1199,8 +1280,11 @@ Uniformly redistribute the segment range's handles
This function redistributes the handles of the specified segment
range of the specified gradient, so they'll be evenly spaced.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -1237,8 +1321,11 @@ This function blends the colors (but not the opacity) of the
segments' range of the gradient. Using it, the colors' transition
will be uniform across the range.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -1275,8 +1362,11 @@ This function blends the opacity (but not the colors) of the
segments' range of the gradient. Using it, the opacity's transition
will be uniform across the range.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
@ -1314,8 +1404,11 @@ This funtions moves the position of an entire segment range by a
delta. The actual delta (which is returned) will be limited by the
control points of the neighboring segments.
</p>
<div class="variablelist"><table border="0">
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>