Imported Upstream version 2.2.7
This commit is contained in:
@ -2,32 +2,98 @@
|
||||
|
||||
|
||||
|
||||
gchar* <a href="libgimp-gimpbrush.html#gimp-brush-new">gimp_brush_new</a> (const gchar *name);
|
||||
gchar* <a href="libgimp-gimpbrush.html#gimp-brush-duplicate">gimp_brush_duplicate</a> (const gchar *name);
|
||||
gchar* <a href="libgimp-gimpbrush.html#gimp-brush-rename">gimp_brush_rename</a> (const gchar *name,
|
||||
const gchar *new_name);
|
||||
gboolean <a href="libgimp-gimpbrush.html#gimp-brush-delete">gimp_brush_delete</a> (const gchar *name);
|
||||
gboolean <a href="libgimp-gimpbrush.html#gimp-brush-get-info">gimp_brush_get_info</a> (const gchar *name,
|
||||
gint *width,
|
||||
gint *height,
|
||||
gint *mask_bpp,
|
||||
gint *color_bpp);
|
||||
gboolean <a href="libgimp-gimpbrush.html#gimp-brush-get-pixels">gimp_brush_get_pixels</a> (const gchar *name,
|
||||
gint *width,
|
||||
gint *height,
|
||||
gint *mask_bpp,
|
||||
gint *num_mask_bytes,
|
||||
guint8 **mask_bytes,
|
||||
gint *color_bpp,
|
||||
gint *num_color_bytes,
|
||||
guint8 **color_bytes);
|
||||
gboolean <a href="libgimp-gimpbrush.html#gimp-brush-get-spacing">gimp_brush_get_spacing</a> (const gchar *name,
|
||||
gint *spacing);
|
||||
gboolean <a href="libgimp-gimpbrush.html#gimp-brush-set-spacing">gimp_brush_set_spacing</a> (const gchar *name,
|
||||
gint spacing);
|
||||
</pre></div><div class="refsect1" lang="en"><a name="id2645014"></a><h2>Description</h2><p>
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* <a href="libgimp-gimpbrush.html#gimp-brush-new">gimp_brush_new</a> (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* <a href="libgimp-gimpbrush.html#gimp-brush-duplicate">gimp_brush_duplicate</a> (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* <a href="libgimp-gimpbrush.html#gimp-brush-rename">gimp_brush_rename</a> (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *new_name);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a href="libgimp-gimpbrush.html#gimp-brush-delete">gimp_brush_delete</a> (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a href="libgimp-gimpbrush.html#gimp-brush-get-info">gimp_brush_get_info</a> (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *width,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *height,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *mask_bpp,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *color_bpp);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a href="libgimp-gimpbrush.html#gimp-brush-get-pixels">gimp_brush_get_pixels</a> (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *width,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *height,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *mask_bpp,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *num_mask_bytes,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#guint8"
|
||||
>guint8</a> **mask_bytes,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *color_bpp,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *num_color_bytes,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#guint8"
|
||||
>guint8</a> **color_bytes);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a href="libgimp-gimpbrush.html#gimp-brush-get-spacing">gimp_brush_get_spacing</a> (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *spacing);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a href="libgimp-gimpbrush.html#gimp-brush-set-spacing">gimp_brush_set_spacing</a> (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> spacing);
|
||||
</pre></div><div class="refsect1" lang="en"><a name="id2638252"></a><h2>Description</h2><p>
|
||||
Functions operating on a single brush.
|
||||
</p></div><div class="refsect1" lang="en"><a name="id2645024"></a><h2>Details</h2><div class="refsect2" lang="en"><a name="id2645029"></a><h3><a name="gimp-brush-new"></a>gimp_brush_new ()</h3><a class="indexterm" name="id2645037"></a><pre class="programlisting">gchar* gimp_brush_new (const gchar *name);</pre><p>
|
||||
</p></div><div class="refsect1" lang="en"><a name="id2638261"></a><h2>Details</h2><div class="refsect2" lang="en"><a name="id2638267"></a><h3><a name="gimp-brush-new"></a>gimp_brush_new ()</h3><a class="indexterm" name="id2638275"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* gimp_brush_new (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);</pre><p>
|
||||
Creates a new brush
|
||||
</p><p>
|
||||
This procedure creates a new, uninitialized brush</p><p>
|
||||
@ -36,7 +102,11 @@ This procedure creates a new, uninitialized brush</p><p>
|
||||
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> The actual new brush name.
|
||||
|
||||
</td></tr></tbody></table></div><p>Since GIMP 2.2
|
||||
</p></div><hr><div class="refsect2" lang="en"><a name="id2644694"></a><h3><a name="gimp-brush-duplicate"></a>gimp_brush_duplicate ()</h3><a class="indexterm" name="id2644702"></a><pre class="programlisting">gchar* gimp_brush_duplicate (const gchar *name);</pre><p>
|
||||
</p></div><hr><div class="refsect2" lang="en"><a name="id2637166"></a><h3><a name="gimp-brush-duplicate"></a>gimp_brush_duplicate ()</h3><a class="indexterm" name="id2637175"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* gimp_brush_duplicate (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);</pre><p>
|
||||
Duplicates a brush
|
||||
</p><p>
|
||||
This procedure creates an identical brush by a different name</p><p>
|
||||
@ -45,8 +115,14 @@ This procedure creates an identical brush by a different name</p><p>
|
||||
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> The name of the brush's copy.
|
||||
|
||||
</td></tr></tbody></table></div><p>Since GIMP 2.2
|
||||
</p></div><hr><div class="refsect2" lang="en"><a name="id2644758"></a><h3><a name="gimp-brush-rename"></a>gimp_brush_rename ()</h3><a class="indexterm" name="id2644767"></a><pre class="programlisting">gchar* gimp_brush_rename (const gchar *name,
|
||||
const gchar *new_name);</pre><p>
|
||||
</p></div><hr><div class="refsect2" lang="en"><a name="id2637231"></a><h3><a name="gimp-brush-rename"></a>gimp_brush_rename ()</h3><a class="indexterm" name="id2637239"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* gimp_brush_rename (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *new_name);</pre><p>
|
||||
Rename a brush
|
||||
</p><p>
|
||||
This procedure renames a brush</p><p>
|
||||
@ -56,7 +132,11 @@ This procedure renames a brush</p><p>
|
||||
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> The actual new name of the brush.
|
||||
|
||||
</td></tr></tbody></table></div><p>Since GIMP 2.2
|
||||
</p></div><hr><div class="refsect2" lang="en"><a name="id2644838"></a><h3><a name="gimp-brush-delete"></a>gimp_brush_delete ()</h3><a class="indexterm" name="id2644847"></a><pre class="programlisting">gboolean gimp_brush_delete (const gchar *name);</pre><p>
|
||||
</p></div><hr><div class="refsect2" lang="en"><a name="id2637311"></a><h3><a name="gimp-brush-delete"></a>gimp_brush_delete ()</h3><a class="indexterm" name="id2637319"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_brush_delete (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);</pre><p>
|
||||
Deletes a brush
|
||||
</p><p>
|
||||
This procedure deletes a brush</p><p>
|
||||
@ -65,11 +145,23 @@ This procedure deletes a brush</p><p>
|
||||
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> TRUE on success.
|
||||
|
||||
</td></tr></tbody></table></div><p>Since GIMP 2.2
|
||||
</p></div><hr><div class="refsect2" lang="en"><a name="id2644901"></a><h3><a name="gimp-brush-get-info"></a>gimp_brush_get_info ()</h3><a class="indexterm" name="id2644909"></a><pre class="programlisting">gboolean gimp_brush_get_info (const gchar *name,
|
||||
gint *width,
|
||||
gint *height,
|
||||
gint *mask_bpp,
|
||||
gint *color_bpp);</pre><p>
|
||||
</p></div><hr><div class="refsect2" lang="en"><a name="id2637374"></a><h3><a name="gimp-brush-get-info"></a>gimp_brush_get_info ()</h3><a class="indexterm" name="id2637382"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_brush_get_info (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *width,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *height,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *mask_bpp,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *color_bpp);</pre><p>
|
||||
Retrieve information about the specified brush.
|
||||
</p><p>
|
||||
This procedure retrieves information about the specified brush. This
|
||||
@ -83,15 +175,35 @@ includes the brush name, and the brush extents (width and height).</p><p>
|
||||
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> TRUE on success.
|
||||
|
||||
</td></tr></tbody></table></div><p>Since GIMP 2.2
|
||||
</p></div><hr><div class="refsect2" lang="en"><a name="id2634293"></a><h3><a name="gimp-brush-get-pixels"></a>gimp_brush_get_pixels ()</h3><a class="indexterm" name="id2634301"></a><pre class="programlisting">gboolean gimp_brush_get_pixels (const gchar *name,
|
||||
gint *width,
|
||||
gint *height,
|
||||
gint *mask_bpp,
|
||||
gint *num_mask_bytes,
|
||||
guint8 **mask_bytes,
|
||||
gint *color_bpp,
|
||||
gint *num_color_bytes,
|
||||
guint8 **color_bytes);</pre><p>
|
||||
</p></div><hr><div class="refsect2" lang="en"><a name="id2629067"></a><h3><a name="gimp-brush-get-pixels"></a>gimp_brush_get_pixels ()</h3><a class="indexterm" name="id2629075"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_brush_get_pixels (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *width,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *height,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *mask_bpp,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *num_mask_bytes,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#guint8"
|
||||
>guint8</a> **mask_bytes,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *color_bpp,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *num_color_bytes,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#guint8"
|
||||
>guint8</a> **color_bytes);</pre><p>
|
||||
Retrieve information about the specified brush.
|
||||
</p><p>
|
||||
This procedure retrieves information about the specified brush. This
|
||||
@ -109,8 +221,14 @@ includes the brush extents (width and height) and its pixels data.</p><p>
|
||||
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> TRUE on success.
|
||||
|
||||
</td></tr></tbody></table></div><p>Since GIMP 2.2
|
||||
</p></div><hr><div class="refsect2" lang="en"><a name="id2646760"></a><h3><a name="gimp-brush-get-spacing"></a>gimp_brush_get_spacing ()</h3><a class="indexterm" name="id2646768"></a><pre class="programlisting">gboolean gimp_brush_get_spacing (const gchar *name,
|
||||
gint *spacing);</pre><p>
|
||||
</p></div><hr><div class="refsect2" lang="en"><a name="id2639836"></a><h3><a name="gimp-brush-get-spacing"></a>gimp_brush_get_spacing ()</h3><a class="indexterm" name="id2639844"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_brush_get_spacing (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *spacing);</pre><p>
|
||||
Get the brush spacing.
|
||||
</p><p>
|
||||
This procedure returns the spacing setting for the specified brush.
|
||||
@ -122,8 +240,14 @@ percentage of the maximum of the width and height of the mask.</p><p>
|
||||
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span><EFBFBD>:</span></td><td> TRUE on success.
|
||||
|
||||
</td></tr></tbody></table></div><p>Since GIMP 2.2
|
||||
</p></div><hr><div class="refsect2" lang="en"><a name="id2646843"></a><h3><a name="gimp-brush-set-spacing"></a>gimp_brush_set_spacing ()</h3><a class="indexterm" name="id2646852"></a><pre class="programlisting">gboolean gimp_brush_set_spacing (const gchar *name,
|
||||
gint spacing);</pre><p>
|
||||
</p></div><hr><div class="refsect2" lang="en"><a name="id2639919"></a><h3><a name="gimp-brush-set-spacing"></a>gimp_brush_set_spacing ()</h3><a class="indexterm" name="id2639928"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_brush_set_spacing (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> spacing);</pre><p>
|
||||
Set the brush spacing.
|
||||
</p><p>
|
||||
This procedure modifies the spacing setting for the specified brush.
|
||||
|
Reference in New Issue
Block a user