Imported Upstream version 2.3.10
This commit is contained in:
@ -107,9 +107,9 @@ Functions operating on a single brush.
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="details"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2629986"></a><h3>
|
||||
<a name="id2644784"></a><h3>
|
||||
<a name="gimp-brush-new"></a>gimp_brush_new ()</h3>
|
||||
<a class="indexterm" name="id2629999"></a><pre class="programlisting">gchar* gimp_brush_new (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2644798"></a><pre class="programlisting">gchar* gimp_brush_new (const gchar *name);</pre>
|
||||
<p>
|
||||
Creates a new brush
|
||||
</p>
|
||||
@ -141,9 +141,9 @@ This procedure creates a new, uninitialized brush</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2630066"></a><h3>
|
||||
<a name="id2644867"></a><h3>
|
||||
<a name="gimp-brush-duplicate"></a>gimp_brush_duplicate ()</h3>
|
||||
<a class="indexterm" name="id2630080"></a><pre class="programlisting">gchar* gimp_brush_duplicate (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2644881"></a><pre class="programlisting">gchar* gimp_brush_duplicate (const gchar *name);</pre>
|
||||
<p>
|
||||
Duplicates a brush
|
||||
</p>
|
||||
@ -175,9 +175,9 @@ This procedure creates an identical brush by a different name</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2639061"></a><h3>
|
||||
<a name="id2644950"></a><h3>
|
||||
<a name="gimp-brush-rename"></a>gimp_brush_rename ()</h3>
|
||||
<a class="indexterm" name="id2639074"></a><pre class="programlisting">gchar* gimp_brush_rename (const gchar *name,
|
||||
<a class="indexterm" name="id2644964"></a><pre class="programlisting">gchar* gimp_brush_rename (const gchar *name,
|
||||
const gchar *new_name);</pre>
|
||||
<p>
|
||||
Rename a brush
|
||||
@ -216,9 +216,9 @@ This procedure renames a brush</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2639161"></a><h3>
|
||||
<a name="id2645054"></a><h3>
|
||||
<a name="gimp-brush-delete"></a>gimp_brush_delete ()</h3>
|
||||
<a class="indexterm" name="id2639174"></a><pre class="programlisting">gboolean gimp_brush_delete (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2645068"></a><pre class="programlisting">gboolean gimp_brush_delete (const gchar *name);</pre>
|
||||
<p>
|
||||
Deletes a brush
|
||||
</p>
|
||||
@ -250,9 +250,9 @@ This procedure deletes a brush</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2639240"></a><h3>
|
||||
<a name="id2645136"></a><h3>
|
||||
<a name="gimp-brush-get-info"></a>gimp_brush_get_info ()</h3>
|
||||
<a class="indexterm" name="id2639253"></a><pre class="programlisting">gboolean gimp_brush_get_info (const gchar *name,
|
||||
<a class="indexterm" name="id2645151"></a><pre class="programlisting">gboolean gimp_brush_get_info (const gchar *name,
|
||||
gint *width,
|
||||
gint *height,
|
||||
gint *mask_bpp,
|
||||
@ -313,9 +313,9 @@ includes the brush name, and the brush extents (width and height).</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2642741"></a><h3>
|
||||
<a name="id2648446"></a><h3>
|
||||
<a name="gimp-brush-get-pixels"></a>gimp_brush_get_pixels ()</h3>
|
||||
<a class="indexterm" name="id2642753"></a><pre class="programlisting">gboolean gimp_brush_get_pixels (const gchar *name,
|
||||
<a class="indexterm" name="id2648459"></a><pre class="programlisting">gboolean gimp_brush_get_pixels (const gchar *name,
|
||||
gint *width,
|
||||
gint *height,
|
||||
gint *mask_bpp,
|
||||
@ -404,9 +404,9 @@ includes the brush extents (width and height) and its pixels data.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2642968"></a><h3>
|
||||
<a name="id2648674"></a><h3>
|
||||
<a name="gimp-brush-get-spacing"></a>gimp_brush_get_spacing ()</h3>
|
||||
<a class="indexterm" name="id2642980"></a><pre class="programlisting">gboolean gimp_brush_get_spacing (const gchar *name,
|
||||
<a class="indexterm" name="id2648686"></a><pre class="programlisting">gboolean gimp_brush_get_spacing (const gchar *name,
|
||||
gint *spacing);</pre>
|
||||
<p>
|
||||
Get the brush spacing.
|
||||
@ -447,9 +447,9 @@ percentage of the maximum of the width and height of the mask.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2643063"></a><h3>
|
||||
<a name="id2648769"></a><h3>
|
||||
<a name="gimp-brush-set-spacing"></a>gimp_brush_set_spacing ()</h3>
|
||||
<a class="indexterm" name="id2643075"></a><pre class="programlisting">gboolean gimp_brush_set_spacing (const gchar *name,
|
||||
<a class="indexterm" name="id2648781"></a><pre class="programlisting">gboolean gimp_brush_set_spacing (const gchar *name,
|
||||
gint spacing);</pre>
|
||||
<p>
|
||||
Set the brush spacing.
|
||||
@ -489,9 +489,9 @@ The value should be a integer between 0 and 1000.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2643156"></a><h3>
|
||||
<a name="id2648862"></a><h3>
|
||||
<a name="gimp-brush-get-shape"></a>gimp_brush_get_shape ()</h3>
|
||||
<a class="indexterm" name="id2643168"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> gimp_brush_get_shape
|
||||
<a class="indexterm" name="id2648874"></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.
|
||||
@ -529,9 +529,9 @@ in the future.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2643235"></a><h3>
|
||||
<a name="id2648941"></a><h3>
|
||||
<a name="gimp-brush-set-shape"></a>gimp_brush_set_shape ()</h3>
|
||||
<a class="indexterm" name="id2643248"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> gimp_brush_set_shape
|
||||
<a class="indexterm" name="id2648953"></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>
|
||||
@ -576,9 +576,9 @@ in the future.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2643333"></a><h3>
|
||||
<a name="id2649039"></a><h3>
|
||||
<a name="gimp-brush-get-spikes"></a>gimp_brush_get_spikes ()</h3>
|
||||
<a class="indexterm" name="id2643346"></a><pre class="programlisting">gint gimp_brush_get_spikes (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2649051"></a><pre class="programlisting">gint gimp_brush_get_spikes (const gchar *name);</pre>
|
||||
<p>
|
||||
Get the number of spikes for a generated brush.
|
||||
</p>
|
||||
@ -611,9 +611,9 @@ called for any other type of brush, it does not succeed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2643410"></a><h3>
|
||||
<a name="id2649115"></a><h3>
|
||||
<a name="gimp-brush-set-spikes"></a>gimp_brush_set_spikes ()</h3>
|
||||
<a class="indexterm" name="id2643422"></a><pre class="programlisting">gint gimp_brush_set_spikes (const gchar *name,
|
||||
<a class="indexterm" name="id2649128"></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.
|
||||
@ -653,9 +653,9 @@ called for any other type of brush, it does not succeed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2643505"></a><h3>
|
||||
<a name="id2649211"></a><h3>
|
||||
<a name="gimp-brush-get-angle"></a>gimp_brush_get_angle ()</h3>
|
||||
<a class="indexterm" name="id2643517"></a><pre class="programlisting">gdouble gimp_brush_get_angle (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2649223"></a><pre class="programlisting">gdouble gimp_brush_get_angle (const gchar *name);</pre>
|
||||
<p>
|
||||
Get the rotation angle of a generated brush.
|
||||
</p>
|
||||
@ -688,9 +688,9 @@ called for any other type of brush, it does not succeed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2643581"></a><h3>
|
||||
<a name="id2649287"></a><h3>
|
||||
<a name="gimp-brush-set-angle"></a>gimp_brush_set_angle ()</h3>
|
||||
<a class="indexterm" name="id2643594"></a><pre class="programlisting">gdouble gimp_brush_set_angle (const gchar *name,
|
||||
<a class="indexterm" name="id2649300"></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.
|
||||
@ -730,9 +730,9 @@ called for any other type of brush, it does not succeed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2643677"></a><h3>
|
||||
<a name="id2649383"></a><h3>
|
||||
<a name="gimp-brush-get-radius"></a>gimp_brush_get_radius ()</h3>
|
||||
<a class="indexterm" name="id2643690"></a><pre class="programlisting">gdouble gimp_brush_get_radius (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2649396"></a><pre class="programlisting">gdouble gimp_brush_get_radius (const gchar *name);</pre>
|
||||
<p>
|
||||
Get the radius of a generated brush.
|
||||
</p>
|
||||
@ -765,9 +765,9 @@ called for any other type of brush, it does not succeed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2643753"></a><h3>
|
||||
<a name="id2649460"></a><h3>
|
||||
<a name="gimp-brush-set-radius"></a>gimp_brush_set_radius ()</h3>
|
||||
<a class="indexterm" name="id2643765"></a><pre class="programlisting">gdouble gimp_brush_set_radius (const gchar *name,
|
||||
<a class="indexterm" name="id2649473"></a><pre class="programlisting">gdouble gimp_brush_set_radius (const gchar *name,
|
||||
gdouble radius_in);</pre>
|
||||
<p>
|
||||
Set the radius of a generated brush.
|
||||
@ -807,9 +807,9 @@ any other type of brush, it does not succeed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2643848"></a><h3>
|
||||
<a name="id2649556"></a><h3>
|
||||
<a name="gimp-brush-get-aspect-ratio"></a>gimp_brush_get_aspect_ratio ()</h3>
|
||||
<a class="indexterm" name="id2643861"></a><pre class="programlisting">gdouble gimp_brush_get_aspect_ratio (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2649568"></a><pre class="programlisting">gdouble gimp_brush_get_aspect_ratio (const gchar *name);</pre>
|
||||
<p>
|
||||
Get the aspect ratio of a generated brush.
|
||||
</p>
|
||||
@ -842,9 +842,9 @@ for any other type of brush, it does not succeed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2643925"></a><h3>
|
||||
<a name="id2649632"></a><h3>
|
||||
<a name="gimp-brush-set-aspect-ratio"></a>gimp_brush_set_aspect_ratio ()</h3>
|
||||
<a class="indexterm" name="id2643937"></a><pre class="programlisting">gdouble gimp_brush_set_aspect_ratio (const gchar *name,
|
||||
<a class="indexterm" name="id2649645"></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.
|
||||
@ -884,9 +884,9 @@ called for any other type of brush, it does not succeed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2644021"></a><h3>
|
||||
<a name="id2649728"></a><h3>
|
||||
<a name="gimp-brush-get-hardness"></a>gimp_brush_get_hardness ()</h3>
|
||||
<a class="indexterm" name="id2644033"></a><pre class="programlisting">gdouble gimp_brush_get_hardness (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2649741"></a><pre class="programlisting">gdouble gimp_brush_get_hardness (const gchar *name);</pre>
|
||||
<p>
|
||||
Get the hardness of a generated brush.
|
||||
</p>
|
||||
@ -920,9 +920,9 @@ called for any other type of brush, the function does not succeed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2644098"></a><h3>
|
||||
<a name="id2649806"></a><h3>
|
||||
<a name="gimp-brush-set-hardness"></a>gimp_brush_set_hardness ()</h3>
|
||||
<a class="indexterm" name="id2644111"></a><pre class="programlisting">gdouble gimp_brush_set_hardness (const gchar *name,
|
||||
<a class="indexterm" name="id2649818"></a><pre class="programlisting">gdouble gimp_brush_set_hardness (const gchar *name,
|
||||
gdouble hardness_in);</pre>
|
||||
<p>
|
||||
Set the hardness of a generated brush.
|
||||
@ -962,9 +962,9 @@ for any other type of brush, it does not succeed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2644194"></a><h3>
|
||||
<a name="id2649902"></a><h3>
|
||||
<a name="gimp-brush-is-generated"></a>gimp_brush_is_generated ()</h3>
|
||||
<a class="indexterm" name="id2644207"></a><pre class="programlisting">gboolean gimp_brush_is_generated (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2649914"></a><pre class="programlisting">gboolean gimp_brush_is_generated (const gchar *name);</pre>
|
||||
<p>
|
||||
Tests if brush is generated
|
||||
</p>
|
||||
@ -996,9 +996,9 @@ Returns TRUE if this brush is parametric, FALSE for other types</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2644269"></a><h3>
|
||||
<a name="id2649976"></a><h3>
|
||||
<a name="gimp-brush-is-editable"></a>gimp_brush_is_editable ()</h3>
|
||||
<a class="indexterm" name="id2644281"></a><pre class="programlisting">gboolean gimp_brush_is_editable (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2649988"></a><pre class="programlisting">gboolean gimp_brush_is_editable (const gchar *name);</pre>
|
||||
<p>
|
||||
Tests if brush can be edited
|
||||
</p>
|
||||
|
Reference in New Issue
Block a user