Imported Upstream version 2.3.15

This commit is contained in:
Ari Pollak
2010-08-11 01:21:06 -04:00
parent aca02f7697
commit d694295a3e
819 changed files with 63117 additions and 44484 deletions

View File

@ -31,16 +31,16 @@
<th width="100%" align="center">GIMP Library Reference Manual</th>
<td><a accesskey="n" href="libgimp-gimpundo.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="#id2572765" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2606023" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2668999" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2669002" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimp-gimptools"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2572765"></a><span class="refentrytitle">gimptools</span>
<a name="id2606023"></a><span class="refentrytitle">gimptools</span>
</h2>
<p>gimptools &#8212; Access to common toolbox tools.</p>
</td>
@ -277,18 +277,18 @@ gint32 <a href="libgimp-gimptools.html#gimp-transform-2d">gimp_transform_2d
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2668999"></a><h2>Description</h2>
<a name="id2669002"></a><h2>Description</h2>
<p>
Functions giving access to common toolbox tools.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2669014"></a><h2>Details</h2>
<a name="id2669017"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2669023"></a><h3>
<a name="id2669026"></a><h3>
<a name="gimp-airbrush"></a>gimp_airbrush ()</h3>
<a class="indexterm" name="id2669034"></a><pre class="programlisting">gboolean gimp_airbrush (gint32 drawable_ID,
<a class="indexterm" name="id2669036"></a><pre class="programlisting">gboolean gimp_airbrush (gint32 drawable_ID,
gdouble pressure,
gint num_strokes,
const gdouble *strokes);</pre>
@ -337,9 +337,9 @@ results in a thinner layer.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2669154"></a><h3>
<a name="id2669157"></a><h3>
<a name="gimp-airbrush-default"></a>gimp_airbrush_default ()</h3>
<a class="indexterm" name="id2669165"></a><pre class="programlisting">gboolean gimp_airbrush_default (gint32 drawable_ID,
<a class="indexterm" name="id2669168"></a><pre class="programlisting">gboolean gimp_airbrush_default (gint32 drawable_ID,
gint num_strokes,
const gdouble *strokes);</pre>
<p>
@ -382,9 +382,9 @@ default for the option will be used.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2669275"></a><h3>
<a name="id2669278"></a><h3>
<a name="gimp-by-color-select"></a>gimp_by_color_select ()</h3>
<a class="indexterm" name="id2669285"></a><pre class="programlisting">gboolean gimp_by_color_select (gint32 drawable_ID,
<a class="indexterm" name="id2669288"></a><pre class="programlisting">gboolean gimp_by_color_select (gint32 drawable_ID,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color,
@ -470,9 +470,9 @@ In the case of a merged sampling, the supplied drawable is ignored.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2669491"></a><h3>
<a name="id2669494"></a><h3>
<a name="gimp-by-color-select-full"></a>gimp_by_color_select_full ()</h3>
<a class="indexterm" name="id2669503"></a><pre class="programlisting">gboolean gimp_by_color_select_full (gint32 drawable_ID,
<a class="indexterm" name="id2669506"></a><pre class="programlisting">gboolean gimp_by_color_select_full (gint32 drawable_ID,
const <a
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
>GimpRGB</a> *color,
@ -580,9 +580,9 @@ In the case of a merged sampling, the supplied drawable is ignored.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2669778"></a><h3>
<a name="id2669780"></a><h3>
<a name="gimp-clone"></a>gimp_clone ()</h3>
<a class="indexterm" name="id2669788"></a><pre class="programlisting">gboolean gimp_clone (gint32 drawable_ID,
<a class="indexterm" name="id2669791"></a><pre class="programlisting">gboolean gimp_clone (gint32 drawable_ID,
gint32 src_drawable_ID,
<a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpCloneType"
@ -658,9 +658,9 @@ significantly slower.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2669974"></a><h3>
<a name="id2669977"></a><h3>
<a name="gimp-clone-default"></a>gimp_clone_default ()</h3>
<a class="indexterm" name="id2669984"></a><pre class="programlisting">gboolean gimp_clone_default (gint32 drawable_ID,
<a class="indexterm" name="id2669987"></a><pre class="programlisting">gboolean gimp_clone_default (gint32 drawable_ID,
gint num_strokes,
const gdouble *strokes);</pre>
<p>
@ -704,9 +704,9 @@ will be used.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2670096"></a><h3>
<a name="id2670099"></a><h3>
<a name="gimp-convolve"></a>gimp_convolve ()</h3>
<a class="indexterm" name="id2670107"></a><pre class="programlisting">gboolean gimp_convolve (gint32 drawable_ID,
<a class="indexterm" name="id2670109"></a><pre class="programlisting">gboolean gimp_convolve (gint32 drawable_ID,
gdouble pressure,
<a href="libgimp-gimpenums.html#GimpConvolveType">GimpConvolveType</a> convolve_type,
gint num_strokes,
@ -760,9 +760,9 @@ between the specified stroke coordinates.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2670246"></a><h3>
<a name="id2670249"></a><h3>
<a name="gimp-convolve-default"></a>gimp_convolve_default ()</h3>
<a class="indexterm" name="id2670257"></a><pre class="programlisting">gboolean gimp_convolve_default (gint32 drawable_ID,
<a class="indexterm" name="id2670259"></a><pre class="programlisting">gboolean gimp_convolve_default (gint32 drawable_ID,
gint num_strokes,
const gdouble *strokes);</pre>
<p>
@ -805,9 +805,9 @@ been activated then the dialogs default values will be used.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2670368"></a><h3>
<a name="id2670370"></a><h3>
<a name="gimp-dodgeburn"></a>gimp_dodgeburn ()</h3>
<a class="indexterm" name="id2670378"></a><pre class="programlisting">gboolean gimp_dodgeburn (gint32 drawable_ID,
<a class="indexterm" name="id2670381"></a><pre class="programlisting">gboolean gimp_dodgeburn (gint32 drawable_ID,
gdouble exposure,
<a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpDodgeBurnType"
@ -868,9 +868,9 @@ Dodgeburn. More details here later.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2670533"></a><h3>
<a name="id2670534"></a><h3>
<a name="gimp-dodgeburn-default"></a>gimp_dodgeburn_default ()</h3>
<a class="indexterm" name="id2670543"></a><pre class="programlisting">gboolean gimp_dodgeburn_default (gint32 drawable_ID,
<a class="indexterm" name="id2670545"></a><pre class="programlisting">gboolean gimp_dodgeburn_default (gint32 drawable_ID,
gint num_strokes,
const gdouble *strokes);</pre>
<p>
@ -914,7 +914,7 @@ Dodgeburn. More details here later.</p>
<div class="refsect2" lang="en">
<a name="id2670654"></a><h3>
<a name="gimp-edit-bucket-fill-full"></a>gimp_edit_bucket_fill_full ()</h3>
<a class="indexterm" name="id2670666"></a><pre class="programlisting">gboolean gimp_edit_bucket_fill_full (gint32 drawable_ID,
<a class="indexterm" name="id2670667"></a><pre class="programlisting">gboolean gimp_edit_bucket_fill_full (gint32 drawable_ID,
<a
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpBucketFillMode"
>GimpBucketFillMode</a> fill_mode,
@ -1014,7 +1014,7 @@ relative to the drawable's origin.</p>
<div class="refsect2" lang="en">
<a name="id2670927"></a><h3>
<a name="gimp-ellipse-select"></a>gimp_ellipse_select ()</h3>
<a class="indexterm" name="id2670937"></a><pre class="programlisting">gboolean gimp_ellipse_select (gint32 image_ID,
<a class="indexterm" name="id2670938"></a><pre class="programlisting">gboolean gimp_ellipse_select (gint32 image_ID,
gdouble x,
gdouble y,
gdouble width,
@ -1158,9 +1158,9 @@ tool linearly interpolates between the specified stroke coordinates.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2671309"></a><h3>
<a name="id2671313"></a><h3>
<a name="gimp-eraser-default"></a>gimp_eraser_default ()</h3>
<a class="indexterm" name="id2671321"></a><pre class="programlisting">gboolean gimp_eraser_default (gint32 drawable_ID,
<a class="indexterm" name="id2671327"></a><pre class="programlisting">gboolean gimp_eraser_default (gint32 drawable_ID,
gint num_strokes,
const gdouble *strokes);</pre>
<p>
@ -1203,9 +1203,9 @@ will be used.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2671443"></a><h3>
<a name="id2671449"></a><h3>
<a name="gimp-flip"></a>gimp_flip ()</h3>
<a class="indexterm" name="id2671459"></a><pre class="programlisting">gint32 gimp_flip (gint32 drawable_ID,
<a class="indexterm" name="id2671465"></a><pre class="programlisting">gint32 gimp_flip (gint32 drawable_ID,
<a href="libgimp-gimpenums.html#GimpOrientationType">GimpOrientationType</a> flip_type);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
@ -1240,9 +1240,9 @@ This procedure is deprecated! Use
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2671564"></a><h3>
<a name="id2671570"></a><h3>
<a name="gimp-free-select"></a>gimp_free_select ()</h3>
<a class="indexterm" name="id2671578"></a><pre class="programlisting">gboolean gimp_free_select (gint32 image_ID,
<a class="indexterm" name="id2671584"></a><pre class="programlisting">gboolean gimp_free_select (gint32 image_ID,
gint num_segs,
const gdouble *segs,
<a
@ -1317,9 +1317,9 @@ radius.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2671784"></a><h3>
<a name="id2671790"></a><h3>
<a name="gimp-fuzzy-select"></a>gimp_fuzzy_select ()</h3>
<a class="indexterm" name="id2671798"></a><pre class="programlisting">gboolean gimp_fuzzy_select (gint32 drawable_ID,
<a class="indexterm" name="id2671804"></a><pre class="programlisting">gboolean gimp_fuzzy_select (gint32 drawable_ID,
gdouble x,
gdouble y,
gint threshold,
@ -1414,9 +1414,9 @@ drawable's origin.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2672055"></a><h3>
<a name="id2672062"></a><h3>
<a name="gimp-fuzzy-select-full"></a>gimp_fuzzy_select_full ()</h3>
<a class="indexterm" name="id2672071"></a><pre class="programlisting">gboolean gimp_fuzzy_select_full (gint32 drawable_ID,
<a class="indexterm" name="id2672077"></a><pre class="programlisting">gboolean gimp_fuzzy_select_full (gint32 drawable_ID,
gdouble x,
gdouble y,
gint threshold,
@ -1532,9 +1532,9 @@ drawable's origin.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2672402"></a><h3>
<a name="id2672409"></a><h3>
<a name="gimp-heal"></a>gimp_heal ()</h3>
<a class="indexterm" name="id2672418"></a><pre class="programlisting">gboolean gimp_heal (gint32 drawable_ID,
<a class="indexterm" name="id2672424"></a><pre class="programlisting">gboolean gimp_heal (gint32 drawable_ID,
gint32 src_drawable_ID,
gdouble src_x,
gdouble src_y,
@ -1599,9 +1599,9 @@ except RGB-&gt;Indexed.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2672603"></a><h3>
<a name="id2672609"></a><h3>
<a name="gimp-heal-default"></a>gimp_heal_default ()</h3>
<a class="indexterm" name="id2672619"></a><pre class="programlisting">gboolean gimp_heal_default (gint32 drawable_ID,
<a class="indexterm" name="id2672625"></a><pre class="programlisting">gboolean gimp_heal_default (gint32 drawable_ID,
gint num_strokes,
const gdouble *strokes);</pre>
<p>
@ -1648,9 +1648,9 @@ be used.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2672748"></a><h3>
<a name="id2672754"></a><h3>
<a name="gimp-paintbrush"></a>gimp_paintbrush ()</h3>
<a class="indexterm" name="id2672761"></a><pre class="programlisting">gboolean gimp_paintbrush (gint32 drawable_ID,
<a class="indexterm" name="id2672768"></a><pre class="programlisting">gboolean gimp_paintbrush (gint32 drawable_ID,
gdouble fade_out,
gint num_strokes,
const gdouble *strokes,
@ -1718,9 +1718,9 @@ pixels. If the gradient-length is 0, no gradient is used.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2672946"></a><h3>
<a name="id2672953"></a><h3>
<a name="gimp-paintbrush-default"></a>gimp_paintbrush_default ()</h3>
<a class="indexterm" name="id2672960"></a><pre class="programlisting">gboolean gimp_paintbrush_default (gint32 drawable_ID,
<a class="indexterm" name="id2672966"></a><pre class="programlisting">gboolean gimp_paintbrush_default (gint32 drawable_ID,
gint num_strokes,
const gdouble *strokes);</pre>
<p>
@ -1772,9 +1772,9 @@ is 0, no gradient is used.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2673084"></a><h3>
<a name="id2673090"></a><h3>
<a name="gimp-pencil"></a>gimp_pencil ()</h3>
<a class="indexterm" name="id2673097"></a><pre class="programlisting">gboolean gimp_pencil (gint32 drawable_ID,
<a class="indexterm" name="id2673103"></a><pre class="programlisting">gboolean gimp_pencil (gint32 drawable_ID,
gint num_strokes,
const gdouble *strokes);</pre>
<p>
@ -1818,9 +1818,9 @@ white.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2673212"></a><h3>
<a name="id2673218"></a><h3>
<a name="gimp-perspective"></a>gimp_perspective ()</h3>
<a class="indexterm" name="id2673228"></a><pre class="programlisting">gint32 gimp_perspective (gint32 drawable_ID,
<a class="indexterm" name="id2673234"></a><pre class="programlisting">gint32 gimp_perspective (gint32 drawable_ID,
gboolean interpolation,
gdouble x0,
gdouble y0,
@ -1903,9 +1903,9 @@ This procedure is deprecated! Use
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2673510"></a><h3>
<a name="id2673516"></a><h3>
<a name="gimp-rect-select"></a>gimp_rect_select ()</h3>
<a class="indexterm" name="id2673523"></a><pre class="programlisting">gboolean gimp_rect_select (gint32 image_ID,
<a class="indexterm" name="id2673529"></a><pre class="programlisting">gboolean gimp_rect_select (gint32 image_ID,
gdouble x,
gdouble y,
gdouble width,
@ -1981,9 +1981,9 @@ radius.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2673744"></a><h3>
<a name="id2673751"></a><h3>
<a name="gimp-round-rect-select"></a>gimp_round_rect_select ()</h3>
<a class="indexterm" name="id2673761"></a><pre class="programlisting">gboolean gimp_round_rect_select (gint32 image_ID,
<a class="indexterm" name="id2673767"></a><pre class="programlisting">gboolean gimp_round_rect_select (gint32 image_ID,
gdouble x,
gdouble y,
gdouble width,
@ -2087,9 +2087,9 @@ specified feather radius.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2674075"></a><h3>
<a name="id2674081"></a><h3>
<a name="gimp-rotate"></a>gimp_rotate ()</h3>
<a class="indexterm" name="id2674090"></a><pre class="programlisting">gint32 gimp_rotate (gint32 drawable_ID,
<a class="indexterm" name="id2674096"></a><pre class="programlisting">gint32 gimp_rotate (gint32 drawable_ID,
gboolean interpolation,
gdouble angle);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
@ -2130,9 +2130,9 @@ This procedure is deprecated! Use
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2674218"></a><h3>
<a name="id2674224"></a><h3>
<a name="gimp-scale"></a>gimp_scale ()</h3>
<a class="indexterm" name="id2674233"></a><pre class="programlisting">gint32 gimp_scale (gint32 drawable_ID,
<a class="indexterm" name="id2674239"></a><pre class="programlisting">gint32 gimp_scale (gint32 drawable_ID,
gboolean interpolation,
gdouble x0,
gdouble y0,
@ -2191,9 +2191,9 @@ This procedure is deprecated! Use
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2674427"></a><h3>
<a name="id2674433"></a><h3>
<a name="gimp-shear"></a>gimp_shear ()</h3>
<a class="indexterm" name="id2674443"></a><pre class="programlisting">gint32 gimp_shear (gint32 drawable_ID,
<a class="indexterm" name="id2674449"></a><pre class="programlisting">gint32 gimp_shear (gint32 drawable_ID,
gboolean interpolation,
<a href="libgimp-gimpenums.html#GimpOrientationType">GimpOrientationType</a> shear_type,
gdouble magnitude);</pre>
@ -2240,9 +2240,9 @@ This procedure is deprecated! Use
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2674592"></a><h3>
<a name="id2674598"></a><h3>
<a name="gimp-smudge"></a>gimp_smudge ()</h3>
<a class="indexterm" name="id2674605"></a><pre class="programlisting">gboolean gimp_smudge (gint32 drawable_ID,
<a class="indexterm" name="id2674611"></a><pre class="programlisting">gboolean gimp_smudge (gint32 drawable_ID,
gdouble pressure,
gint num_strokes,
const gdouble *strokes);</pre>
@ -2289,9 +2289,9 @@ lesser smudge.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2674738"></a><h3>
<a name="id2674744"></a><h3>
<a name="gimp-smudge-default"></a>gimp_smudge_default ()</h3>
<a class="indexterm" name="id2674752"></a><pre class="programlisting">gboolean gimp_smudge_default (gint32 drawable_ID,
<a class="indexterm" name="id2674758"></a><pre class="programlisting">gboolean gimp_smudge_default (gint32 drawable_ID,
gint num_strokes,
const gdouble *strokes);</pre>
<p>
@ -2333,9 +2333,9 @@ tools option dialog has not been activated.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2674874"></a><h3>
<a name="id2674880"></a><h3>
<a name="gimp-transform-2d"></a>gimp_transform_2d ()</h3>
<a class="indexterm" name="id2674890"></a><pre class="programlisting">gint32 gimp_transform_2d (gint32 drawable_ID,
<a class="indexterm" name="id2674896"></a><pre class="programlisting">gint32 gimp_transform_2d (gint32 drawable_ID,
gboolean interpolation,
gdouble source_x,
gdouble source_y,