Imported Upstream version 2.4.0~rc1
This commit is contained in:
@ -31,16 +31,16 @@
|
||||
<th width="100%" align="center">GIMP Library Reference Manual</th>
|
||||
<td><a accesskey="n" href="libgimp-gimpfonts.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="#id2640014" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2509809" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2674190" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2670339" class="shortcut">Description</a></nobr></td></tr>
|
||||
</table>
|
||||
<div class="refentry" lang="en">
|
||||
<a name="libgimp-gimpbrushes"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2>
|
||||
<a name="id2640014"></a><span class="refentrytitle">gimpbrushes</span>
|
||||
<a name="id2509809"></a><span class="refentrytitle">gimpbrushes</span>
|
||||
</h2>
|
||||
<p>gimpbrushes — Functions for manipulating brushes.</p>
|
||||
</td>
|
||||
@ -52,41 +52,93 @@
|
||||
|
||||
|
||||
|
||||
gboolean <a href="libgimp-gimpbrushes.html#gimp-brushes-refresh">gimp_brushes_refresh</a> (void);
|
||||
gchar** <a href="libgimp-gimpbrushes.html#gimp-brushes-get-list">gimp_brushes_get_list</a> (const gchar *filter,
|
||||
gint *num_brushes);
|
||||
gchar* <a href="libgimp-gimpbrushes.html#gimp-brushes-get-brush">gimp_brushes_get_brush</a> (gint *width,
|
||||
gint *height,
|
||||
gint *spacing);
|
||||
gboolean <a href="libgimp-gimpbrushes.html#gimp-brushes-set-brush">gimp_brushes_set_brush</a> (const gchar *name);
|
||||
gdouble <a href="libgimp-gimpbrushes.html#gimp-brushes-get-opacity">gimp_brushes_get_opacity</a> (void);
|
||||
gboolean <a href="libgimp-gimpbrushes.html#gimp-brushes-set-opacity">gimp_brushes_set_opacity</a> (gdouble opacity);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a href="libgimp-gimpbrushes.html#gimp-brushes-refresh">gimp_brushes_refresh</a> (void);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>** <a href="libgimp-gimpbrushes.html#gimp-brushes-get-list">gimp_brushes_get_list</a> (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *filter,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *num_brushes);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* <a href="libgimp-gimpbrushes.html#gimp-brushes-get-brush">gimp_brushes_get_brush</a> (<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> *spacing);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a href="libgimp-gimpbrushes.html#gimp-brushes-set-brush">gimp_brushes_set_brush</a> (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gdouble"
|
||||
>gdouble</a> <a href="libgimp-gimpbrushes.html#gimp-brushes-get-opacity">gimp_brushes_get_opacity</a> (void);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a href="libgimp-gimpbrushes.html#gimp-brushes-set-opacity">gimp_brushes_set_opacity</a> (<a
|
||||
href="../glib/glib-Basic-Types.html#gdouble"
|
||||
>gdouble</a> opacity);
|
||||
<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> <a href="libgimp-gimpbrushes.html#gimp-brushes-get-paint-mode">gimp_brushes_get_paint_mode</a> (void);
|
||||
gboolean <a href="libgimp-gimpbrushes.html#gimp-brushes-set-paint-mode">gimp_brushes_set_paint_mode</a> (<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);
|
||||
gint <a href="libgimp-gimpbrushes.html#gimp-brushes-get-spacing">gimp_brushes_get_spacing</a> (void);
|
||||
gboolean <a href="libgimp-gimpbrushes.html#gimp-brushes-set-spacing">gimp_brushes_set_spacing</a> (gint spacing);
|
||||
gchar* <a href="libgimp-gimpbrushes.html#gimp-brushes-get-brush-data">gimp_brushes_get_brush_data</a> (const gchar *name,
|
||||
gdouble *opacity,
|
||||
gint *spacing,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a href="libgimp-gimpbrushes.html#gimp-brushes-set-paint-mode">gimp_brushes_set_paint_mode</a> (<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> <a href="libgimp-gimpbrushes.html#gimp-brushes-get-spacing">gimp_brushes_get_spacing</a> (void);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> <a href="libgimp-gimpbrushes.html#gimp-brushes-set-spacing">gimp_brushes_set_spacing</a> (<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> spacing);
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* <a href="libgimp-gimpbrushes.html#gimp-brushes-get-brush-data">gimp_brushes_get_brush_data</a> (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gdouble"
|
||||
>gdouble</a> *opacity,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *spacing,
|
||||
<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> *paint_mode,
|
||||
gint *width,
|
||||
gint *height,
|
||||
gint *length,
|
||||
guint8 **mask_data);
|
||||
<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> *length,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#guint8"
|
||||
>guint8</a> **mask_data);
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2674190"></a><h2>Description</h2>
|
||||
<a name="id2670339"></a><h2>Description</h2>
|
||||
<p>
|
||||
Functions related to getting and setting brushes.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2674207"></a><h2>Details</h2>
|
||||
<a name="id2670355"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2674217"></a><h3>
|
||||
<a name="id2670366"></a><h3>
|
||||
<a name="gimp-brushes-refresh"></a>gimp_brushes_refresh ()</h3>
|
||||
<a class="indexterm" name="id2674228"></a><pre class="programlisting">gboolean gimp_brushes_refresh (void);</pre>
|
||||
<a class="indexterm" name="id2670377"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_brushes_refresh (void);</pre>
|
||||
<p>
|
||||
Refresh current brushes. This function always succeeds.
|
||||
</p>
|
||||
@ -107,10 +159,16 @@ path and updates the brush dialogs accordingly.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2674274"></a><h3>
|
||||
<a name="id2670422"></a><h3>
|
||||
<a name="gimp-brushes-get-list"></a>gimp_brushes_get_list ()</h3>
|
||||
<a class="indexterm" name="id2674285"></a><pre class="programlisting">gchar** gimp_brushes_get_list (const gchar *filter,
|
||||
gint *num_brushes);</pre>
|
||||
<a class="indexterm" name="id2670433"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>** gimp_brushes_get_list (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *filter,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *num_brushes);</pre>
|
||||
<p>
|
||||
Retrieve a complete listing of the available brushes.
|
||||
</p>
|
||||
@ -144,11 +202,19 @@ Each name returned can be used as input to the
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2671790"></a><h3>
|
||||
<a name="id2670530"></a><h3>
|
||||
<a name="gimp-brushes-get-brush"></a>gimp_brushes_get_brush ()</h3>
|
||||
<a class="indexterm" name="id2671804"></a><pre class="programlisting">gchar* gimp_brushes_get_brush (gint *width,
|
||||
gint *height,
|
||||
gint *spacing);</pre>
|
||||
<a class="indexterm" name="id2670543"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* gimp_brushes_get_brush (<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> *spacing);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_brushes_get_brush</code> is deprecated and should not be used in newly-written code.</p>
|
||||
@ -186,9 +252,13 @@ This procedure is deprecated! Use <a href="libgimp-gimpcontext.html#gimp-context
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2671926"></a><h3>
|
||||
<a name="id2674498"></a><h3>
|
||||
<a name="gimp-brushes-set-brush"></a>gimp_brushes_set_brush ()</h3>
|
||||
<a class="indexterm" name="id2671939"></a><pre class="programlisting">gboolean gimp_brushes_set_brush (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2674512"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_brushes_set_brush (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_brushes_set_brush</code> is deprecated and should not be used in newly-written code.</p>
|
||||
@ -216,9 +286,11 @@ This procedure is deprecated! Use <a href="libgimp-gimpcontext.html#gimp-context
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2674720"></a><h3>
|
||||
<a name="id2674592"></a><h3>
|
||||
<a name="gimp-brushes-get-opacity"></a>gimp_brushes_get_opacity ()</h3>
|
||||
<a class="indexterm" name="id2674733"></a><pre class="programlisting">gdouble gimp_brushes_get_opacity (void);</pre>
|
||||
<a class="indexterm" name="id2674605"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gdouble"
|
||||
>gdouble</a> gimp_brushes_get_opacity (void);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_brushes_get_opacity</code> is deprecated and should not be used in newly-written code.</p>
|
||||
@ -239,9 +311,13 @@ This procedure is deprecated! Use <a href="libgimp-gimpcontext.html#gimp-context
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2674793"></a><h3>
|
||||
<a name="id2675208"></a><h3>
|
||||
<a name="gimp-brushes-set-opacity"></a>gimp_brushes_set_opacity ()</h3>
|
||||
<a class="indexterm" name="id2674807"></a><pre class="programlisting">gboolean gimp_brushes_set_opacity (gdouble opacity);</pre>
|
||||
<a class="indexterm" name="id2675222"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_brushes_set_opacity (<a
|
||||
href="../glib/glib-Basic-Types.html#gdouble"
|
||||
>gdouble</a> opacity);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_brushes_set_opacity</code> is deprecated and should not be used in newly-written code.</p>
|
||||
@ -269,9 +345,9 @@ This procedure is deprecated! Use <a href="libgimp-gimpcontext.html#gimp-context
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2674887"></a><h3>
|
||||
<a name="id2675302"></a><h3>
|
||||
<a name="gimp-brushes-get-paint-mode"></a>gimp_brushes_get_paint_mode ()</h3>
|
||||
<a class="indexterm" name="id2674900"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> gimp_brushes_get_paint_mode (void);</pre>
|
||||
<a class="indexterm" name="id2675315"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> gimp_brushes_get_paint_mode (void);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_brushes_get_paint_mode</code> is deprecated and should not be used in newly-written code.</p>
|
||||
@ -292,9 +368,11 @@ This procedure is deprecated! Use <a href="libgimp-gimpcontext.html#gimp-context
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2674959"></a><h3>
|
||||
<a name="id2675374"></a><h3>
|
||||
<a name="gimp-brushes-set-paint-mode"></a>gimp_brushes_set_paint_mode ()</h3>
|
||||
<a class="indexterm" name="id2669492"></a><pre class="programlisting">gboolean gimp_brushes_set_paint_mode (<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);</pre>
|
||||
<a class="indexterm" name="id2675387"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_brushes_set_paint_mode (<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_brushes_set_paint_mode</code> is deprecated and should not be used in newly-written code.</p>
|
||||
@ -322,9 +400,11 @@ This procedure is deprecated! Use <a href="libgimp-gimpcontext.html#gimp-context
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2669571"></a><h3>
|
||||
<a name="id2675466"></a><h3>
|
||||
<a name="gimp-brushes-get-spacing"></a>gimp_brushes_get_spacing ()</h3>
|
||||
<a class="indexterm" name="id2669584"></a><pre class="programlisting">gint gimp_brushes_get_spacing (void);</pre>
|
||||
<a class="indexterm" name="id2675480"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> gimp_brushes_get_spacing (void);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_brushes_get_spacing</code> is deprecated and should not be used in newly-written code.</p>
|
||||
@ -345,9 +425,13 @@ This procedure is deprecated! Use <a href="libgimp-gimpbrush.html#gimp-brush-get
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2669644"></a><h3>
|
||||
<a name="id2671896"></a><h3>
|
||||
<a name="gimp-brushes-set-spacing"></a>gimp_brushes_set_spacing ()</h3>
|
||||
<a class="indexterm" name="id2669658"></a><pre class="programlisting">gboolean gimp_brushes_set_spacing (gint spacing);</pre>
|
||||
<a class="indexterm" name="id2671909"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gboolean"
|
||||
>gboolean</a> gimp_brushes_set_spacing (<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> spacing);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_brushes_set_spacing</code> is deprecated and should not be used in newly-written code.</p>
|
||||
@ -375,16 +459,32 @@ This procedure is deprecated! Use <a href="libgimp-gimpbrush.html#gimp-brush-set
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2669738"></a><h3>
|
||||
<a name="id2671989"></a><h3>
|
||||
<a name="gimp-brushes-get-brush-data"></a>gimp_brushes_get_brush_data ()</h3>
|
||||
<a class="indexterm" name="id2669751"></a><pre class="programlisting">gchar* gimp_brushes_get_brush_data (const gchar *name,
|
||||
gdouble *opacity,
|
||||
gint *spacing,
|
||||
<a class="indexterm" name="id2672003"></a><pre class="programlisting"><a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a>* gimp_brushes_get_brush_data (const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *name,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gdouble"
|
||||
>gdouble</a> *opacity,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> *spacing,
|
||||
<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> *paint_mode,
|
||||
gint *width,
|
||||
gint *height,
|
||||
gint *length,
|
||||
guint8 **mask_data);</pre>
|
||||
<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> *length,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#guint8"
|
||||
>guint8</a> **mask_data);</pre>
|
||||
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
||||
<h3 class="title">Warning</h3>
|
||||
<p><code class="literal">gimp_brushes_get_brush_data</code> is deprecated and should not be used in newly-written code.</p>
|
||||
|
Reference in New Issue
Block a user