Imported Upstream version 2.3.9
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
@ -7,7 +8,7 @@
|
||||
<link rel="up" href="libgimp-data.html" title="Data Objects">
|
||||
<link rel="prev" href="libgimp-data.html" title="Data Objects">
|
||||
<link rel="next" href="libgimp-gimpbrushes.html" title="gimpbrushes">
|
||||
<meta name="generator" content="GTK-Doc V1.4 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
<link rel="part" href="gimpdefinitions.html" title="Part I. GIMP Constants">
|
||||
<link rel="part" href="libgimp.html" title="Part II. GIMP Library">
|
||||
@ -23,24 +24,29 @@
|
||||
<link rel="index" href="ix04.html" title="Index of deprecated symbols">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
||||
<tr valign="middle">
|
||||
<td><a accesskey="p" href="libgimp-data.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="u" href="libgimp-data.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
||||
<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></table>
|
||||
</tr>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#desc" 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><span class="refentrytitle">gimpbrush</span></h2>
|
||||
<h2><span class="refentrytitle"><a name="top_of_page"></a>gimpbrush</span></h2>
|
||||
<p>gimpbrush — Functions operating on a single brush.</p>
|
||||
</td>
|
||||
<td valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsynopsisdiv">
|
||||
<h2>Synopsis</h2>
|
||||
<a name="synopsis"></a><h2>Synopsis</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
|
||||
@ -93,17 +99,17 @@ gboolean <a href="libgimp-gimpbrush.html#gimp-brush-is-editable">gimp_brush_i
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2625911"></a><h2>Description</h2>
|
||||
<a name="desc"></a><h2>Description</h2>
|
||||
<p>
|
||||
Functions operating on a single brush.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2625922"></a><h2>Details</h2>
|
||||
<a name="details"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2625928"></a><h3>
|
||||
<a name="id2629986"></a><h3>
|
||||
<a name="gimp-brush-new"></a>gimp_brush_new ()</h3>
|
||||
<a class="indexterm" name="id2625937"></a><pre class="programlisting">gchar* gimp_brush_new (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2629999"></a><pre class="programlisting">gchar* gimp_brush_new (const gchar *name);</pre>
|
||||
<p>
|
||||
Creates a new brush
|
||||
</p>
|
||||
@ -135,9 +141,9 @@ This procedure creates a new, uninitialized brush</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2626005"></a><h3>
|
||||
<a name="id2630066"></a><h3>
|
||||
<a name="gimp-brush-duplicate"></a>gimp_brush_duplicate ()</h3>
|
||||
<a class="indexterm" name="id2626014"></a><pre class="programlisting">gchar* gimp_brush_duplicate (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2630080"></a><pre class="programlisting">gchar* gimp_brush_duplicate (const gchar *name);</pre>
|
||||
<p>
|
||||
Duplicates a brush
|
||||
</p>
|
||||
@ -169,9 +175,9 @@ This procedure creates an identical brush by a different name</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2626082"></a><h3>
|
||||
<a name="id2639061"></a><h3>
|
||||
<a name="gimp-brush-rename"></a>gimp_brush_rename ()</h3>
|
||||
<a class="indexterm" name="id2634983"></a><pre class="programlisting">gchar* gimp_brush_rename (const gchar *name,
|
||||
<a class="indexterm" name="id2639074"></a><pre class="programlisting">gchar* gimp_brush_rename (const gchar *name,
|
||||
const gchar *new_name);</pre>
|
||||
<p>
|
||||
Rename a brush
|
||||
@ -210,9 +216,9 @@ This procedure renames a brush</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2635070"></a><h3>
|
||||
<a name="id2639161"></a><h3>
|
||||
<a name="gimp-brush-delete"></a>gimp_brush_delete ()</h3>
|
||||
<a class="indexterm" name="id2635079"></a><pre class="programlisting">gboolean gimp_brush_delete (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2639174"></a><pre class="programlisting">gboolean gimp_brush_delete (const gchar *name);</pre>
|
||||
<p>
|
||||
Deletes a brush
|
||||
</p>
|
||||
@ -244,9 +250,9 @@ This procedure deletes a brush</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2635145"></a><h3>
|
||||
<a name="id2639240"></a><h3>
|
||||
<a name="gimp-brush-get-info"></a>gimp_brush_get_info ()</h3>
|
||||
<a class="indexterm" name="id2635154"></a><pre class="programlisting">gboolean gimp_brush_get_info (const gchar *name,
|
||||
<a class="indexterm" name="id2639253"></a><pre class="programlisting">gboolean gimp_brush_get_info (const gchar *name,
|
||||
gint *width,
|
||||
gint *height,
|
||||
gint *mask_bpp,
|
||||
@ -307,9 +313,9 @@ includes the brush name, and the brush extents (width and height).</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2638408"></a><h3>
|
||||
<a name="id2642741"></a><h3>
|
||||
<a name="gimp-brush-get-pixels"></a>gimp_brush_get_pixels ()</h3>
|
||||
<a class="indexterm" name="id2638417"></a><pre class="programlisting">gboolean gimp_brush_get_pixels (const gchar *name,
|
||||
<a class="indexterm" name="id2642753"></a><pre class="programlisting">gboolean gimp_brush_get_pixels (const gchar *name,
|
||||
gint *width,
|
||||
gint *height,
|
||||
gint *mask_bpp,
|
||||
@ -398,9 +404,9 @@ includes the brush extents (width and height) and its pixels data.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2638632"></a><h3>
|
||||
<a name="id2642968"></a><h3>
|
||||
<a name="gimp-brush-get-spacing"></a>gimp_brush_get_spacing ()</h3>
|
||||
<a class="indexterm" name="id2638640"></a><pre class="programlisting">gboolean gimp_brush_get_spacing (const gchar *name,
|
||||
<a class="indexterm" name="id2642980"></a><pre class="programlisting">gboolean gimp_brush_get_spacing (const gchar *name,
|
||||
gint *spacing);</pre>
|
||||
<p>
|
||||
Get the brush spacing.
|
||||
@ -441,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="id2638722"></a><h3>
|
||||
<a name="id2643063"></a><h3>
|
||||
<a name="gimp-brush-set-spacing"></a>gimp_brush_set_spacing ()</h3>
|
||||
<a class="indexterm" name="id2638731"></a><pre class="programlisting">gboolean gimp_brush_set_spacing (const gchar *name,
|
||||
<a class="indexterm" name="id2643075"></a><pre class="programlisting">gboolean gimp_brush_set_spacing (const gchar *name,
|
||||
gint spacing);</pre>
|
||||
<p>
|
||||
Set the brush spacing.
|
||||
@ -483,9 +489,9 @@ The value should be a integer between 0 and 1000.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2638812"></a><h3>
|
||||
<a name="id2643156"></a><h3>
|
||||
<a name="gimp-brush-get-shape"></a>gimp_brush_get_shape ()</h3>
|
||||
<a class="indexterm" name="id2638820"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> gimp_brush_get_shape
|
||||
<a class="indexterm" name="id2643168"></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.
|
||||
@ -523,9 +529,9 @@ in the future.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2638887"></a><h3>
|
||||
<a name="id2643235"></a><h3>
|
||||
<a name="gimp-brush-set-shape"></a>gimp_brush_set_shape ()</h3>
|
||||
<a class="indexterm" name="id2638895"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpBrushGeneratedShape">GimpBrushGeneratedShape</a> gimp_brush_set_shape
|
||||
<a class="indexterm" name="id2643248"></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>
|
||||
@ -570,9 +576,9 @@ in the future.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2638981"></a><h3>
|
||||
<a name="id2643333"></a><h3>
|
||||
<a name="gimp-brush-get-spikes"></a>gimp_brush_get_spikes ()</h3>
|
||||
<a class="indexterm" name="id2638989"></a><pre class="programlisting">gint gimp_brush_get_spikes (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2643346"></a><pre class="programlisting">gint gimp_brush_get_spikes (const gchar *name);</pre>
|
||||
<p>
|
||||
Get the number of spikes for a generated brush.
|
||||
</p>
|
||||
@ -605,9 +611,9 @@ called for any other type of brush, it does not succeed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2639053"></a><h3>
|
||||
<a name="id2643410"></a><h3>
|
||||
<a name="gimp-brush-set-spikes"></a>gimp_brush_set_spikes ()</h3>
|
||||
<a class="indexterm" name="id2639062"></a><pre class="programlisting">gint gimp_brush_set_spikes (const gchar *name,
|
||||
<a class="indexterm" name="id2643422"></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.
|
||||
@ -647,9 +653,9 @@ called for any other type of brush, it does not succeed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2639144"></a><h3>
|
||||
<a name="id2643505"></a><h3>
|
||||
<a name="gimp-brush-get-angle"></a>gimp_brush_get_angle ()</h3>
|
||||
<a class="indexterm" name="id2639153"></a><pre class="programlisting">gdouble gimp_brush_get_angle (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2643517"></a><pre class="programlisting">gdouble gimp_brush_get_angle (const gchar *name);</pre>
|
||||
<p>
|
||||
Get the rotation angle of a generated brush.
|
||||
</p>
|
||||
@ -682,9 +688,9 @@ called for any other type of brush, it does not succeed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2639217"></a><h3>
|
||||
<a name="id2643581"></a><h3>
|
||||
<a name="gimp-brush-set-angle"></a>gimp_brush_set_angle ()</h3>
|
||||
<a class="indexterm" name="id2639225"></a><pre class="programlisting">gdouble gimp_brush_set_angle (const gchar *name,
|
||||
<a class="indexterm" name="id2643594"></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.
|
||||
@ -724,9 +730,9 @@ called for any other type of brush, it does not succeed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2639309"></a><h3>
|
||||
<a name="id2643677"></a><h3>
|
||||
<a name="gimp-brush-get-radius"></a>gimp_brush_get_radius ()</h3>
|
||||
<a class="indexterm" name="id2639317"></a><pre class="programlisting">gdouble gimp_brush_get_radius (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2643690"></a><pre class="programlisting">gdouble gimp_brush_get_radius (const gchar *name);</pre>
|
||||
<p>
|
||||
Get the radius of a generated brush.
|
||||
</p>
|
||||
@ -759,9 +765,9 @@ called for any other type of brush, it does not succeed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2639380"></a><h3>
|
||||
<a name="id2643753"></a><h3>
|
||||
<a name="gimp-brush-set-radius"></a>gimp_brush_set_radius ()</h3>
|
||||
<a class="indexterm" name="id2639389"></a><pre class="programlisting">gdouble gimp_brush_set_radius (const gchar *name,
|
||||
<a class="indexterm" name="id2643765"></a><pre class="programlisting">gdouble gimp_brush_set_radius (const gchar *name,
|
||||
gdouble radius_in);</pre>
|
||||
<p>
|
||||
Set the radius of a generated brush.
|
||||
@ -801,9 +807,9 @@ any other type of brush, it does not succeed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2639471"></a><h3>
|
||||
<a name="id2643848"></a><h3>
|
||||
<a name="gimp-brush-get-aspect-ratio"></a>gimp_brush_get_aspect_ratio ()</h3>
|
||||
<a class="indexterm" name="id2639480"></a><pre class="programlisting">gdouble gimp_brush_get_aspect_ratio (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2643861"></a><pre class="programlisting">gdouble gimp_brush_get_aspect_ratio (const gchar *name);</pre>
|
||||
<p>
|
||||
Get the aspect ratio of a generated brush.
|
||||
</p>
|
||||
@ -836,9 +842,9 @@ for any other type of brush, it does not succeed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2639544"></a><h3>
|
||||
<a name="id2643925"></a><h3>
|
||||
<a name="gimp-brush-set-aspect-ratio"></a>gimp_brush_set_aspect_ratio ()</h3>
|
||||
<a class="indexterm" name="id2639552"></a><pre class="programlisting">gdouble gimp_brush_set_aspect_ratio (const gchar *name,
|
||||
<a class="indexterm" name="id2643937"></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.
|
||||
@ -878,9 +884,9 @@ called for any other type of brush, it does not succeed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2639636"></a><h3>
|
||||
<a name="id2644021"></a><h3>
|
||||
<a name="gimp-brush-get-hardness"></a>gimp_brush_get_hardness ()</h3>
|
||||
<a class="indexterm" name="id2639644"></a><pre class="programlisting">gdouble gimp_brush_get_hardness (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2644033"></a><pre class="programlisting">gdouble gimp_brush_get_hardness (const gchar *name);</pre>
|
||||
<p>
|
||||
Get the hardness of a generated brush.
|
||||
</p>
|
||||
@ -914,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="id2639709"></a><h3>
|
||||
<a name="id2644098"></a><h3>
|
||||
<a name="gimp-brush-set-hardness"></a>gimp_brush_set_hardness ()</h3>
|
||||
<a class="indexterm" name="id2639718"></a><pre class="programlisting">gdouble gimp_brush_set_hardness (const gchar *name,
|
||||
<a class="indexterm" name="id2644111"></a><pre class="programlisting">gdouble gimp_brush_set_hardness (const gchar *name,
|
||||
gdouble hardness_in);</pre>
|
||||
<p>
|
||||
Set the hardness of a generated brush.
|
||||
@ -956,9 +962,9 @@ for any other type of brush, it does not succeed.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2639801"></a><h3>
|
||||
<a name="id2644194"></a><h3>
|
||||
<a name="gimp-brush-is-generated"></a>gimp_brush_is_generated ()</h3>
|
||||
<a class="indexterm" name="id2639810"></a><pre class="programlisting">gboolean gimp_brush_is_generated (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2644207"></a><pre class="programlisting">gboolean gimp_brush_is_generated (const gchar *name);</pre>
|
||||
<p>
|
||||
Tests if brush is generated
|
||||
</p>
|
||||
@ -990,9 +996,9 @@ Returns TRUE if this brush is parametric, FALSE for other types</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2639871"></a><h3>
|
||||
<a name="id2644269"></a><h3>
|
||||
<a name="gimp-brush-is-editable"></a>gimp_brush_is_editable ()</h3>
|
||||
<a class="indexterm" name="id2639880"></a><pre class="programlisting">gboolean gimp_brush_is_editable (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2644281"></a><pre class="programlisting">gboolean gimp_brush_is_editable (const gchar *name);</pre>
|
||||
<p>
|
||||
Tests if brush can be edited
|
||||
</p>
|
||||
@ -1024,9 +1030,5 @@ Returns TRUE if you have permission to change the brush</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle">
|
||||
<td align="left"><a accesskey="p" href="libgimp-data.html"><b><< Data Objects</b></a></td>
|
||||
<td align="right"><a accesskey="n" href="libgimp-gimpbrushes.html"><b>gimpbrushes >></b></a></td>
|
||||
</tr></table>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user