Imported Upstream version 2.3.14

This commit is contained in:
Ari Pollak
2010-08-11 01:20:46 -04:00
parent bbd6d9844c
commit aca02f7697
2412 changed files with 114847 additions and 56535 deletions

View File

@ -10,13 +10,12 @@
<link rel="next" href="libgimp-gimpbrushes.html" title="gimpbrushes">
<meta name="generator" content="GTK-Doc V1.7 (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">
<link rel="part" href="libgimp.html" title="Part&#160;I.&#160;GIMP Library">
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and all their Properties">
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and their Properties">
<link rel="chapter" href="libgimp-data.html" title="Data Objects">
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
<link rel="part" href="libgimpui.html" title="Part&#160;III.&#160;GIMP User Interface Library">
<link rel="part" href="libgimpui.html" title="Part&#160;II.&#160;GIMP User Interface Library">
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
<link rel="index" href="libgimp-index.html" title="Index">
<link rel="index" href="libgimp-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
@ -32,16 +31,16 @@
<th width="100%" align="center">GIMP Library Reference Manual</th>
<td><a accesskey="n" href="libgimp-gimpbrushes.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="#id2572258" class="shortcut">Top</a>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2564034" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2661961" class="shortcut">Description</a></nobr></td></tr>
<a href="#id2675208" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimp-gimpbrush"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2572258"></a><span class="refentrytitle">gimpbrush</span>
<a name="id2564034"></a><span class="refentrytitle">gimpbrush</span>
</h2>
<p>gimpbrush &#8212; Functions operating on a single brush.</p>
</td>
@ -101,17 +100,17 @@ gboolean <a href="libgimp-gimpbrush.html#gimp-brush-is-editable">gimp_brush_i
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2661961"></a><h2>Description</h2>
<a name="id2675208"></a><h2>Description</h2>
<p>
Functions operating on a single brush.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2661977"></a><h2>Details</h2>
<a name="id2675223"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2661987"></a><h3>
<a name="id2675234"></a><h3>
<a name="gimp-brush-new"></a>gimp_brush_new ()</h3>
<a class="indexterm" name="id2662000"></a><pre class="programlisting">gchar* gimp_brush_new (const gchar *name);</pre>
<a class="indexterm" name="id2675247"></a><pre class="programlisting">gchar* gimp_brush_new (const gchar *name);</pre>
<p>
Creates a new brush
</p>
@ -141,9 +140,9 @@ This procedure creates a new, uninitialized brush</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2663237"></a><h3>
<a name="id2675314"></a><h3>
<a name="gimp-brush-duplicate"></a>gimp_brush_duplicate ()</h3>
<a class="indexterm" name="id2663249"></a><pre class="programlisting">gchar* gimp_brush_duplicate (const gchar *name);</pre>
<a class="indexterm" name="id2675328"></a><pre class="programlisting">gchar* gimp_brush_duplicate (const gchar *name);</pre>
<p>
Duplicates a brush
</p>
@ -173,9 +172,9 @@ This procedure creates an identical brush by a different name</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2663317"></a><h3>
<a name="id2675395"></a><h3>
<a name="gimp-brush-rename"></a>gimp_brush_rename ()</h3>
<a class="indexterm" name="id2663330"></a><pre class="programlisting">gchar* gimp_brush_rename (const gchar *name,
<a class="indexterm" name="id2675409"></a><pre class="programlisting">gchar* gimp_brush_rename (const gchar *name,
const gchar *new_name);</pre>
<p>
Rename a brush
@ -211,9 +210,9 @@ This procedure renames a brush</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2663417"></a><h3>
<a name="id2675496"></a><h3>
<a name="gimp-brush-delete"></a>gimp_brush_delete ()</h3>
<a class="indexterm" name="id2663430"></a><pre class="programlisting">gboolean gimp_brush_delete (const gchar *name);</pre>
<a class="indexterm" name="id2675509"></a><pre class="programlisting">gboolean gimp_brush_delete (const gchar *name);</pre>
<p>
Deletes a brush
</p>
@ -243,9 +242,9 @@ This procedure deletes a brush</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2663496"></a><h3>
<a name="id2675575"></a><h3>
<a name="gimp-brush-get-info"></a>gimp_brush_get_info ()</h3>
<a class="indexterm" name="id2666073"></a><pre class="programlisting">gboolean gimp_brush_get_info (const gchar *name,
<a class="indexterm" name="id2666248"></a><pre class="programlisting">gboolean gimp_brush_get_info (const gchar *name,
gint *width,
gint *height,
gint *mask_bpp,
@ -300,9 +299,9 @@ includes the brush name, and the brush extents (width and height).</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2666225"></a><h3>
<a name="id2666400"></a><h3>
<a name="gimp-brush-get-pixels"></a>gimp_brush_get_pixels ()</h3>
<a class="indexterm" name="id2666238"></a><pre class="programlisting">gboolean gimp_brush_get_pixels (const gchar *name,
<a class="indexterm" name="id2666413"></a><pre class="programlisting">gboolean gimp_brush_get_pixels (const gchar *name,
gint *width,
gint *height,
gint *mask_bpp,
@ -381,9 +380,9 @@ includes the brush extents (width and height) and its pixels data.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2666474"></a><h3>
<a name="id2666648"></a><h3>
<a name="gimp-brush-get-spacing"></a>gimp_brush_get_spacing ()</h3>
<a class="indexterm" name="id2666487"></a><pre class="programlisting">gboolean gimp_brush_get_spacing (const gchar *name,
<a class="indexterm" name="id2666661"></a><pre class="programlisting">gboolean gimp_brush_get_spacing (const gchar *name,
gint *spacing);</pre>
<p>
Get the brush spacing.
@ -421,9 +420,9 @@ percentage of the maximum of the width and height of the mask.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2666577"></a><h3>
<a name="id2666751"></a><h3>
<a name="gimp-brush-set-spacing"></a>gimp_brush_set_spacing ()</h3>
<a class="indexterm" name="id2666590"></a><pre class="programlisting">gboolean gimp_brush_set_spacing (const gchar *name,
<a class="indexterm" name="id2666764"></a><pre class="programlisting">gboolean gimp_brush_set_spacing (const gchar *name,
gint spacing);</pre>
<p>
Set the brush spacing.
@ -460,9 +459,9 @@ The value should be a integer between 0 and 1000.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2666679"></a><h3>
<a name="id2666853"></a><h3>
<a name="gimp-brush-get-shape"></a>gimp_brush_get_shape ()</h3>
<a class="indexterm" name="id2666692"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> gimp_brush_get_shape
<a class="indexterm" name="id2666866"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> gimp_brush_get_shape
(const gchar *name);</pre>
<p>
Get the shape of a generated brush.
@ -498,9 +497,9 @@ in the future.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2666764"></a><h3>
<a name="id2666938"></a><h3>
<a name="gimp-brush-set-shape"></a>gimp_brush_set_shape ()</h3>
<a class="indexterm" name="id2666777"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> gimp_brush_set_shape
<a class="indexterm" name="id2666951"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> gimp_brush_set_shape
(const gchar *name,
<a href="libgimp-gimpenums.html#GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> shape_in);</pre>
<p>
@ -542,9 +541,9 @@ in the future.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2666870"></a><h3>
<a name="id2667044"></a><h3>
<a name="gimp-brush-get-spikes"></a>gimp_brush_get_spikes ()</h3>
<a class="indexterm" name="id2666884"></a><pre class="programlisting">gint gimp_brush_get_spikes (const gchar *name);</pre>
<a class="indexterm" name="id2667057"></a><pre class="programlisting">gint gimp_brush_get_spikes (const gchar *name);</pre>
<p>
Get the number of spikes for a generated brush.
</p>
@ -575,9 +574,9 @@ called for any other type of brush, it does not succeed.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2666956"></a><h3>
<a name="id2667127"></a><h3>
<a name="gimp-brush-set-spikes"></a>gimp_brush_set_spikes ()</h3>
<a class="indexterm" name="id2666970"></a><pre class="programlisting">gint gimp_brush_set_spikes (const gchar *name,
<a class="indexterm" name="id2667141"></a><pre class="programlisting">gint gimp_brush_set_spikes (const gchar *name,
gint spikes_in);</pre>
<p>
Set the number of spikes for a generated brush.
@ -614,9 +613,9 @@ called for any other type of brush, it does not succeed.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2667062"></a><h3>
<a name="id2667233"></a><h3>
<a name="gimp-brush-get-angle"></a>gimp_brush_get_angle ()</h3>
<a class="indexterm" name="id2667076"></a><pre class="programlisting">gdouble gimp_brush_get_angle (const gchar *name);</pre>
<a class="indexterm" name="id2667246"></a><pre class="programlisting">gdouble gimp_brush_get_angle (const gchar *name);</pre>
<p>
Get the rotation angle of a generated brush.
</p>
@ -647,9 +646,9 @@ called for any other type of brush, it does not succeed.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2667147"></a><h3>
<a name="id2667317"></a><h3>
<a name="gimp-brush-set-angle"></a>gimp_brush_set_angle ()</h3>
<a class="indexterm" name="id2667161"></a><pre class="programlisting">gdouble gimp_brush_set_angle (const gchar *name,
<a class="indexterm" name="id2667331"></a><pre class="programlisting">gdouble gimp_brush_set_angle (const gchar *name,
gdouble angle_in);</pre>
<p>
Set the rotation angle of a generated brush.
@ -686,9 +685,9 @@ called for any other type of brush, it does not succeed.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2667253"></a><h3>
<a name="id2667424"></a><h3>
<a name="gimp-brush-get-radius"></a>gimp_brush_get_radius ()</h3>
<a class="indexterm" name="id2667267"></a><pre class="programlisting">gdouble gimp_brush_get_radius (const gchar *name);</pre>
<a class="indexterm" name="id2667437"></a><pre class="programlisting">gdouble gimp_brush_get_radius (const gchar *name);</pre>
<p>
Get the radius of a generated brush.
</p>
@ -719,9 +718,9 @@ called for any other type of brush, it does not succeed.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2667338"></a><h3>
<a name="id2667508"></a><h3>
<a name="gimp-brush-set-radius"></a>gimp_brush_set_radius ()</h3>
<a class="indexterm" name="id2667352"></a><pre class="programlisting">gdouble gimp_brush_set_radius (const gchar *name,
<a class="indexterm" name="id2667522"></a><pre class="programlisting">gdouble gimp_brush_set_radius (const gchar *name,
gdouble radius_in);</pre>
<p>
Set the radius of a generated brush.
@ -758,9 +757,9 @@ any other type of brush, it does not succeed.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2667444"></a><h3>
<a name="id2667614"></a><h3>
<a name="gimp-brush-get-aspect-ratio"></a>gimp_brush_get_aspect_ratio ()</h3>
<a class="indexterm" name="id2667458"></a><pre class="programlisting">gdouble gimp_brush_get_aspect_ratio (const gchar *name);</pre>
<a class="indexterm" name="id2667628"></a><pre class="programlisting">gdouble gimp_brush_get_aspect_ratio (const gchar *name);</pre>
<p>
Get the aspect ratio of a generated brush.
</p>
@ -791,9 +790,9 @@ for any other type of brush, it does not succeed.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2667529"></a><h3>
<a name="id2667699"></a><h3>
<a name="gimp-brush-set-aspect-ratio"></a>gimp_brush_set_aspect_ratio ()</h3>
<a class="indexterm" name="id2667543"></a><pre class="programlisting">gdouble gimp_brush_set_aspect_ratio (const gchar *name,
<a class="indexterm" name="id2667712"></a><pre class="programlisting">gdouble gimp_brush_set_aspect_ratio (const gchar *name,
gdouble aspect_ratio_in);</pre>
<p>
Set the aspect ratio of a generated brush.
@ -830,9 +829,9 @@ called for any other type of brush, it does not succeed.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2667636"></a><h3>
<a name="id2667805"></a><h3>
<a name="gimp-brush-get-hardness"></a>gimp_brush_get_hardness ()</h3>
<a class="indexterm" name="id2667649"></a><pre class="programlisting">gdouble gimp_brush_get_hardness (const gchar *name);</pre>
<a class="indexterm" name="id2667819"></a><pre class="programlisting">gdouble gimp_brush_get_hardness (const gchar *name);</pre>
<p>
Get the hardness of a generated brush.
</p>
@ -864,9 +863,9 @@ called for any other type of brush, the function does not succeed.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2667721"></a><h3>
<a name="id2667891"></a><h3>
<a name="gimp-brush-set-hardness"></a>gimp_brush_set_hardness ()</h3>
<a class="indexterm" name="id2667735"></a><pre class="programlisting">gdouble gimp_brush_set_hardness (const gchar *name,
<a class="indexterm" name="id2667905"></a><pre class="programlisting">gdouble gimp_brush_set_hardness (const gchar *name,
gdouble hardness_in);</pre>
<p>
Set the hardness of a generated brush.
@ -903,9 +902,9 @@ for any other type of brush, it does not succeed.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2667828"></a><h3>
<a name="id2667997"></a><h3>
<a name="gimp-brush-is-generated"></a>gimp_brush_is_generated ()</h3>
<a class="indexterm" name="id2667841"></a><pre class="programlisting">gboolean gimp_brush_is_generated (const gchar *name);</pre>
<a class="indexterm" name="id2668011"></a><pre class="programlisting">gboolean gimp_brush_is_generated (const gchar *name);</pre>
<p>
Tests if brush is generated
</p>
@ -935,9 +934,9 @@ Returns TRUE if this brush is parametric, FALSE for other types</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2667910"></a><h3>
<a name="id2668080"></a><h3>
<a name="gimp-brush-is-editable"></a>gimp_brush_is_editable ()</h3>
<a class="indexterm" name="id2667924"></a><pre class="programlisting">gboolean gimp_brush_is_editable (const gchar *name);</pre>
<a class="indexterm" name="id2668093"></a><pre class="programlisting">gboolean gimp_brush_is_editable (const gchar *name);</pre>
<p>
Tests if brush can be edited
</p>