Imported Upstream version 2.2.15

This commit is contained in:
Ari Pollak
2010-08-11 01:17:28 -04:00
parent a2f097051e
commit fa4c4bf0e0
341 changed files with 71841 additions and 17468 deletions

View File

@ -8,7 +8,7 @@
<link rel="up" href="libgimp-image.html" title="Manupulating Images and all their Properties">
<link rel="prev" href="libgimp-gimplayer.html" title="gimplayer">
<link rel="next" href="libgimp-gimppixelfetcher.html" title="gimppixelfetcher">
<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="gimpdefinitions.html" title="Part&#160;I.&#160;GIMP Constants">
<link rel="part" href="libgimp.html" title="Part&#160;II.&#160;GIMP Library">
@ -28,16 +28,16 @@
<th width="100%" align="center">GIMP Library Reference Manual</th>
<td><a accesskey="n" href="libgimp-gimppixelfetcher.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="#id2561165" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2509723" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2636254" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2634332" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimp-gimppaths"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2561165"></a><span class="refentrytitle">gimppaths</span>
<a name="id2509723"></a><span class="refentrytitle">gimppaths</span>
</h2>
<p>gimppaths &#8212; Operations related to paths.</p>
</td>
@ -49,66 +49,66 @@
gchar** <a href="libgimp-gimppaths.html#gimp-path-list">gimp_path_list</a> (gint32 image_ID,
gint *num_paths);
gint <a href="libgimp-gimppaths.html#gimp-path-get-points">gimp_path_get_points</a> (gint32 image_ID,
const gchar *name,
gint *path_closed,
gint *num_path_point_details,
gdouble **points_pairs);
gchar* <a href="libgimp-gimppaths.html#gimp-path-get-current">gimp_path_get_current</a> (gint32 image_ID);
gboolean <a href="libgimp-gimppaths.html#gimp-path-set-current">gimp_path_set_current</a> (gint32 image_ID,
const gchar *name);
gboolean <a href="libgimp-gimppaths.html#gimp-path-set-points">gimp_path_set_points</a> (gint32 image_ID,
const gchar *name,
gint ptype,
gint num_path_points,
const gdouble *points_pairs);
gboolean <a href="libgimp-gimppaths.html#gimp-path-stroke-current">gimp_path_stroke_current</a> (gint32 image_ID);
gint <a href="libgimp-gimppaths.html#gimp-path-get-point-at-dist">gimp_path_get_point_at_dist</a> (gint32 image_ID,
gdouble distance,
gint *y_point,
gdouble *slope);
gint <a href="libgimp-gimppaths.html#gimp-path-get-tattoo">gimp_path_get_tattoo</a> (gint32 image_ID,
const gchar *name);
gchar* <a href="libgimp-gimppaths.html#gimp-get-path-by-tattoo">gimp_get_path_by_tattoo</a> (gint32 image_ID,
gint tattoo);
gboolean <a href="libgimp-gimppaths.html#gimp-path-delete">gimp_path_delete</a> (gint32 image_ID,
const gchar *name);
gint <a href="libgimp-gimppaths.html#gimp-path-get-locked">gimp_path_get_locked</a> (gint32 image_ID,
const gchar *name);
gboolean <a href="libgimp-gimppaths.html#gimp-path-set-locked">gimp_path_set_locked</a> (gint32 image_ID,
const gchar *name,
gint lockstatus);
gboolean <a href="libgimp-gimppaths.html#gimp-path-set-tattoo">gimp_path_set_tattoo</a> (gint32 image_ID,
const gchar *name,
gint tattovalue);
gboolean <a href="libgimp-gimppaths.html#gimp-path-to-selection">gimp_path_to_selection</a> (gint32 image_ID,
const gchar *name,
<a href="libgimp-gimpenums.html#GimpChannelOps">GimpChannelOps</a> op,
gboolean antialias,
gboolean feather,
gdouble feather_radius_x,
gdouble feather_radius_y);
gboolean <a href="libgimp-gimppaths.html#gimp-path-import">gimp_path_import</a> (gint32 image_ID,
const gchar *filename,
gboolean merge,
gboolean scale);
gchar** <a href="libgimp-gimppaths.html#gimp-path-list">gimp_path_list</a> (gint32 image_ID,
gint *num_paths);
gint <a href="libgimp-gimppaths.html#gimp-path-get-points">gimp_path_get_points</a> (gint32 image_ID,
const gchar *name,
gint *path_closed,
gint *num_path_point_details,
gdouble **points_pairs);
gchar* <a href="libgimp-gimppaths.html#gimp-path-get-current">gimp_path_get_current</a> (gint32 image_ID);
gboolean <a href="libgimp-gimppaths.html#gimp-path-set-current">gimp_path_set_current</a> (gint32 image_ID,
const gchar *name);
gboolean <a href="libgimp-gimppaths.html#gimp-path-set-points">gimp_path_set_points</a> (gint32 image_ID,
const gchar *name,
gint ptype,
gint num_path_points,
const gdouble *points_pairs);
gboolean <a href="libgimp-gimppaths.html#gimp-path-stroke-current">gimp_path_stroke_current</a> (gint32 image_ID);
gint <a href="libgimp-gimppaths.html#gimp-path-get-point-at-dist">gimp_path_get_point_at_dist</a> (gint32 image_ID,
gdouble distance,
gint *y_point,
gdouble *slope);
gint <a href="libgimp-gimppaths.html#gimp-path-get-tattoo">gimp_path_get_tattoo</a> (gint32 image_ID,
const gchar *name);
gchar* <a href="libgimp-gimppaths.html#gimp-get-path-by-tattoo">gimp_get_path_by_tattoo</a> (gint32 image_ID,
gint tattoo);
gboolean <a href="libgimp-gimppaths.html#gimp-path-delete">gimp_path_delete</a> (gint32 image_ID,
const gchar *name);
gint <a href="libgimp-gimppaths.html#gimp-path-get-locked">gimp_path_get_locked</a> (gint32 image_ID,
const gchar *name);
gboolean <a href="libgimp-gimppaths.html#gimp-path-set-locked">gimp_path_set_locked</a> (gint32 image_ID,
const gchar *name,
gint lockstatus);
gboolean <a href="libgimp-gimppaths.html#gimp-path-set-tattoo">gimp_path_set_tattoo</a> (gint32 image_ID,
const gchar *name,
gint tattovalue);
gboolean <a href="libgimp-gimppaths.html#gimp-path-to-selection">gimp_path_to_selection</a> (gint32 image_ID,
const gchar *name,
<a href="libgimp-gimpenums.html#GimpChannelOps">GimpChannelOps</a> op,
gboolean antialias,
gboolean feather,
gdouble feather_radius_x,
gdouble feather_radius_y);
gboolean <a href="libgimp-gimppaths.html#gimp-path-import">gimp_path_import</a> (gint32 image_ID,
const gchar *filename,
gboolean merge,
gboolean scale);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2636254"></a><h2>Description</h2>
<a name="id2634332"></a><h2>Description</h2>
<p>
Operations related to paths.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2636269"></a><h2>Details</h2>
<a name="id2634348"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2636280"></a><h3>
<a name="id2634359"></a><h3>
<a name="gimp-path-list"></a>gimp_path_list ()</h3>
<a class="indexterm" name="id2636293"></a><pre class="programlisting">gchar** gimp_path_list (gint32 image_ID,
gint *num_paths);</pre>
<a class="indexterm" name="id2634371"></a><pre class="programlisting">gchar** gimp_path_list (gint32 image_ID,
gint *num_paths);</pre>
<p>
List the paths associated with the passed image.
</p>
@ -140,13 +140,13 @@ List the paths associated with the passed image.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2636379"></a><h3>
<a name="id2634459"></a><h3>
<a name="gimp-path-get-points"></a>gimp_path_get_points ()</h3>
<a class="indexterm" name="id2636391"></a><pre class="programlisting">gint gimp_path_get_points (gint32 image_ID,
const gchar *name,
gint *path_closed,
gint *num_path_point_details,
gdouble **points_pairs);</pre>
<a class="indexterm" name="id2634470"></a><pre class="programlisting">gint gimp_path_get_points (gint32 image_ID,
const gchar *name,
gint *path_closed,
gint *num_path_point_details,
gdouble **points_pairs);</pre>
<p>
List the points associated with the named path.
</p>
@ -193,9 +193,9 @@ List the points associated with the named path.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2636550"></a><h3>
<a name="id2634631"></a><h3>
<a name="gimp-path-get-current"></a>gimp_path_get_current ()</h3>
<a class="indexterm" name="id2636561"></a><pre class="programlisting">gchar* gimp_path_get_current (gint32 image_ID);</pre>
<a class="indexterm" name="id2634642"></a><pre class="programlisting">gchar* gimp_path_get_current (gint32 image_ID);</pre>
<p>
The name of the current path. Error if no paths.
</p>
@ -222,10 +222,10 @@ The name of the current path. Error if no paths.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2636625"></a><h3>
<a name="id2637543"></a><h3>
<a name="gimp-path-set-current"></a>gimp_path_set_current ()</h3>
<a class="indexterm" name="id2641640"></a><pre class="programlisting">gboolean gimp_path_set_current (gint32 image_ID,
const gchar *name);</pre>
<a class="indexterm" name="id2637554"></a><pre class="programlisting">gboolean gimp_path_set_current (gint32 image_ID,
const gchar *name);</pre>
<p>
Sets the current path associated with the passed image.
</p>
@ -257,13 +257,13 @@ Sets a named path as the current path.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2641724"></a><h3>
<a name="id2637640"></a><h3>
<a name="gimp-path-set-points"></a>gimp_path_set_points ()</h3>
<a class="indexterm" name="id2641736"></a><pre class="programlisting">gboolean gimp_path_set_points (gint32 image_ID,
const gchar *name,
gint ptype,
gint num_path_points,
const gdouble *points_pairs);</pre>
<a class="indexterm" name="id2637651"></a><pre class="programlisting">gboolean gimp_path_set_points (gint32 image_ID,
const gchar *name,
gint ptype,
gint num_path_points,
const gdouble *points_pairs);</pre>
<p>
Set the points associated with the named path.
</p>
@ -310,9 +310,9 @@ Set the points associated with the named path.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2641892"></a><h3>
<a name="id2637801"></a><h3>
<a name="gimp-path-stroke-current"></a>gimp_path_stroke_current ()</h3>
<a class="indexterm" name="id2641903"></a><pre class="programlisting">gboolean gimp_path_stroke_current (gint32 image_ID);</pre>
<a class="indexterm" name="id2637812"></a><pre class="programlisting">gboolean gimp_path_stroke_current (gint32 image_ID);</pre>
<p>
Stroke the current path in the passed image.
</p>
@ -339,12 +339,12 @@ Stroke the current path in the passed image.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2641969"></a><h3>
<a name="id2637878"></a><h3>
<a name="gimp-path-get-point-at-dist"></a>gimp_path_get_point_at_dist ()</h3>
<a class="indexterm" name="id2641980"></a><pre class="programlisting">gint gimp_path_get_point_at_dist (gint32 image_ID,
gdouble distance,
gint *y_point,
gdouble *slope);</pre>
<a class="indexterm" name="id2637890"></a><pre class="programlisting">gint gimp_path_get_point_at_dist (gint32 image_ID,
gdouble distance,
gint *y_point,
gdouble *slope);</pre>
<p>
Get point on a path at a specified distance along the path.
</p>
@ -391,10 +391,10 @@ path is used.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2642113"></a><h3>
<a name="id2638022"></a><h3>
<a name="gimp-path-get-tattoo"></a>gimp_path_get_tattoo ()</h3>
<a class="indexterm" name="id2642124"></a><pre class="programlisting">gint gimp_path_get_tattoo (gint32 image_ID,
const gchar *name);</pre>
<a class="indexterm" name="id2638034"></a><pre class="programlisting">gint gimp_path_get_tattoo (gint32 image_ID,
const gchar *name);</pre>
<p>
Returns the tattoo associated with the name path.
</p>
@ -429,10 +429,10 @@ even between sessions.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2642213"></a><h3>
<a name="id2638124"></a><h3>
<a name="gimp-get-path-by-tattoo"></a>gimp_get_path_by_tattoo ()</h3>
<a class="indexterm" name="id2642224"></a><pre class="programlisting">gchar* gimp_get_path_by_tattoo (gint32 image_ID,
gint tattoo);</pre>
<a class="indexterm" name="id2638136"></a><pre class="programlisting">gchar* gimp_get_path_by_tattoo (gint32 image_ID,
gint tattoo);</pre>
<p>
Return the name of the path with the given tattoo.
</p>
@ -468,10 +468,10 @@ be found.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2642315"></a><h3>
<a name="id2638227"></a><h3>
<a name="gimp-path-delete"></a>gimp_path_delete ()</h3>
<a class="indexterm" name="id2642327"></a><pre class="programlisting">gboolean gimp_path_delete (gint32 image_ID,
const gchar *name);</pre>
<a class="indexterm" name="id2638239"></a><pre class="programlisting">gboolean gimp_path_delete (gint32 image_ID,
const gchar *name);</pre>
<p>
Delete the named path associated with the passed image.
</p>
@ -503,10 +503,10 @@ Delete the named path.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2637085"></a><h3>
<a name="id2638326"></a><h3>
<a name="gimp-path-get-locked"></a>gimp_path_get_locked ()</h3>
<a class="indexterm" name="id2637096"></a><pre class="programlisting">gint gimp_path_get_locked (gint32 image_ID,
const gchar *name);</pre>
<a class="indexterm" name="id2638337"></a><pre class="programlisting">gint gimp_path_get_locked (gint32 image_ID,
const gchar *name);</pre>
<p>
Returns the locked status associated with the named path.
</p>
@ -540,11 +540,11 @@ tool operations will also apply to the path.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2637188"></a><h3>
<a name="id2635457"></a><h3>
<a name="gimp-path-set-locked"></a>gimp_path_set_locked ()</h3>
<a class="indexterm" name="id2637199"></a><pre class="programlisting">gboolean gimp_path_set_locked (gint32 image_ID,
const gchar *name,
gint lockstatus);</pre>
<a class="indexterm" name="id2635468"></a><pre class="programlisting">gboolean gimp_path_set_locked (gint32 image_ID,
const gchar *name,
gint lockstatus);</pre>
<p>
Set the locked status associated with the named path.
</p>
@ -583,11 +583,11 @@ tool operations will also apply to the path.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2637311"></a><h3>
<a name="id2635581"></a><h3>
<a name="gimp-path-set-tattoo"></a>gimp_path_set_tattoo ()</h3>
<a class="indexterm" name="id2637322"></a><pre class="programlisting">gboolean gimp_path_set_tattoo (gint32 image_ID,
const gchar *name,
gint tattovalue);</pre>
<a class="indexterm" name="id2635592"></a><pre class="programlisting">gboolean gimp_path_set_tattoo (gint32 image_ID,
const gchar *name,
gint tattovalue);</pre>
<p>
Sets the tattoo associated with the named path.
</p>
@ -628,15 +628,15 @@ obtained from a previous call to path_get_tattoo.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2637437"></a><h3>
<a name="id2635707"></a><h3>
<a name="gimp-path-to-selection"></a>gimp_path_to_selection ()</h3>
<a class="indexterm" name="id2637448"></a><pre class="programlisting">gboolean gimp_path_to_selection (gint32 image_ID,
const gchar *name,
<a href="libgimp-gimpenums.html#GimpChannelOps">GimpChannelOps</a> op,
gboolean antialias,
gboolean feather,
gdouble feather_radius_x,
gdouble feather_radius_y);</pre>
<a class="indexterm" name="id2635718"></a><pre class="programlisting">gboolean gimp_path_to_selection (gint32 image_ID,
const gchar *name,
<a href="libgimp-gimpenums.html#GimpChannelOps">GimpChannelOps</a> op,
gboolean antialias,
gboolean feather,
gdouble feather_radius_x,
gdouble feather_radius_y);</pre>
<p>
Transforms the active path into a selection
</p>
@ -693,12 +693,12 @@ This procedure renders the desired path into the current selection.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2637642"></a><h3>
<a name="id2635914"></a><h3>
<a name="gimp-path-import"></a>gimp_path_import ()</h3>
<a class="indexterm" name="id2637655"></a><pre class="programlisting">gboolean gimp_path_import (gint32 image_ID,
const gchar *filename,
gboolean merge,
gboolean scale);</pre>
<a class="indexterm" name="id2635926"></a><pre class="programlisting">gboolean gimp_path_import (gint32 image_ID,
const gchar *filename,
gboolean merge,
gboolean scale);</pre>
<p>
Import paths from an SVG file.
</p>