Imported Upstream version 2.3.6
This commit is contained in:
@ -1,14 +1,13 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>gimpbrushes</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
|
||||
<link rel="up" href="libgimp-data.html" title="Data Objects">
|
||||
<link rel="prev" href="libgimp-gimpbrush.html" title="gimpbrush">
|
||||
<link rel="next" href="libgimp-gimpfonts.html" title="gimpfonts">
|
||||
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.4 (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">
|
||||
@ -18,27 +17,24 @@
|
||||
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
|
||||
<link rel="part" href="libgimpui.html" title="Part III. GIMP User Interface Library">
|
||||
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
|
||||
<link rel="index" href="ix01.html" title="Index">
|
||||
<link rel="index" href="ix02.html" title="Index of new symbols in GIMP 2.2">
|
||||
<link rel="index" href="ix03.html" title="Index of new symbols in GIMP 2.4">
|
||||
<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" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
||||
<tr valign="middle">
|
||||
<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
|
||||
<td><a accesskey="p" href="libgimp-gimpbrush.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-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="#id2597838" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2663462" class="shortcut">Description</a></nobr></td></tr>
|
||||
</table>
|
||||
</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="id2597838"></a><span class="refentrytitle">gimpbrushes</span>
|
||||
</h2>
|
||||
<h2><span class="refentrytitle">gimpbrushes</span></h2>
|
||||
<p>gimpbrushes — Functions for manipulating brushes.</p>
|
||||
</td>
|
||||
<td valign="top" align="right"></td>
|
||||
@ -49,41 +45,42 @@
|
||||
|
||||
|
||||
|
||||
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="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="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> *paint_mode,
|
||||
gint *width,
|
||||
gint *height,
|
||||
gint *length,
|
||||
guint8 **mask_data);
|
||||
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="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="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> *paint_mode,
|
||||
gint *width,
|
||||
gint *height,
|
||||
gint *length,
|
||||
guint8 **mask_data);
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2663462"></a><h2>Description</h2>
|
||||
<a name="id2626613"></a><h2>Description</h2>
|
||||
<p>
|
||||
Functions related to getting and setting brushes.
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2663478"></a><h2>Details</h2>
|
||||
<a name="id2626625"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2663489"></a><h3>
|
||||
<a name="id2626631"></a><h3>
|
||||
<a name="gimp-brushes-refresh"></a>gimp_brushes_refresh ()</h3>
|
||||
<a class="indexterm" name="id2663500"></a><pre class="programlisting">gboolean gimp_brushes_refresh (void);</pre>
|
||||
<a class="indexterm" name="id2626640"></a><pre class="programlisting">gboolean gimp_brushes_refresh (void);</pre>
|
||||
<p>
|
||||
Refresh current brushes. This function always succeeds.
|
||||
</p>
|
||||
@ -96,7 +93,8 @@ path and updates the brush dialogs accordingly.</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr></tbody>
|
||||
@ -104,17 +102,17 @@ path and updates the brush dialogs accordingly.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2663546"></a><h3>
|
||||
<a name="id2626684"></a><h3>
|
||||
<a name="gimp-brushes-get-list"></a>gimp_brushes_get_list ()</h3>
|
||||
<a class="indexterm" name="id2663557"></a><pre class="programlisting">gchar** gimp_brushes_get_list (const gchar *filter,
|
||||
gint *num_brushes);</pre>
|
||||
<a class="indexterm" name="id2626693"></a><pre class="programlisting">gchar** gimp_brushes_get_list (const gchar *filter,
|
||||
gint *num_brushes);</pre>
|
||||
<p>
|
||||
Retrieve a complete listing of the available brushes.
|
||||
</p>
|
||||
<p>
|
||||
This procedure returns a complete listing of available GIMP brushes.
|
||||
Each name returned can be used as input to the
|
||||
'gimp_context_set_brush' procedure.</p>
|
||||
'gimp-context-set-brush' procedure.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -122,17 +120,20 @@ Each name returned can be used as input to the
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>filter</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>filter</code></em> :</span></td>
|
||||
<td> An optional regular expression used to filter the list.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>num_brushes</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>num_brushes</code></em> :</span></td>
|
||||
<td> The number of brushes in the brush list.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The list of brush names.
|
||||
</td>
|
||||
</tr>
|
||||
@ -141,11 +142,11 @@ Each name returned can be used as input to the
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2664466"></a><h3>
|
||||
<a name="id2626781"></a><h3>
|
||||
<a name="gimp-brushes-get-brush"></a>gimp_brushes_get_brush ()</h3>
|
||||
<a class="indexterm" name="id2664480"></a><pre class="programlisting">gchar* gimp_brushes_get_brush (gint *width,
|
||||
gint *height,
|
||||
gint *spacing);</pre>
|
||||
<a class="indexterm" name="id2626790"></a><pre class="programlisting">gchar* gimp_brushes_get_brush (gint *width,
|
||||
gint *height,
|
||||
gint *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>
|
||||
@ -159,22 +160,26 @@ This procedure is deprecated! Use <a href="libgimp-gimpcontext.html#gimp-context
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>width</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>width</code></em> :</span></td>
|
||||
<td> The brush width.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>height</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>height</code></em> :</span></td>
|
||||
<td> The brush height.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>spacing</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>spacing</code></em> :</span></td>
|
||||
<td> The brush spacing.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The brush name.
|
||||
</td>
|
||||
</tr>
|
||||
@ -183,9 +188,9 @@ This procedure is deprecated! Use <a href="libgimp-gimpcontext.html#gimp-context
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2664603"></a><h3>
|
||||
<a name="id2623252"></a><h3>
|
||||
<a name="gimp-brushes-set-brush"></a>gimp_brushes_set_brush ()</h3>
|
||||
<a class="indexterm" name="id2664617"></a><pre class="programlisting">gboolean gimp_brushes_set_brush (const gchar *name);</pre>
|
||||
<a class="indexterm" name="id2623261"></a><pre class="programlisting">gboolean gimp_brushes_set_brush (const gchar *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>
|
||||
@ -199,12 +204,14 @@ This procedure is deprecated! Use <a href="libgimp-gimpcontext.html#gimp-context
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td> The brush name.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -213,9 +220,9 @@ This procedure is deprecated! Use <a href="libgimp-gimpcontext.html#gimp-context
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2660841"></a><h3>
|
||||
<a name="id2623340"></a><h3>
|
||||
<a name="gimp-brushes-get-opacity"></a>gimp_brushes_get_opacity ()</h3>
|
||||
<a class="indexterm" name="id2660854"></a><pre class="programlisting">gdouble gimp_brushes_get_opacity (void);</pre>
|
||||
<a class="indexterm" name="id2623349"></a><pre class="programlisting">gdouble 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>
|
||||
@ -228,7 +235,8 @@ This procedure is deprecated! Use <a href="libgimp-gimpcontext.html#gimp-context
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The brush opacity.
|
||||
</td>
|
||||
</tr></tbody>
|
||||
@ -236,9 +244,9 @@ This procedure is deprecated! Use <a href="libgimp-gimpcontext.html#gimp-context
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2660915"></a><h3>
|
||||
<a name="id2623409"></a><h3>
|
||||
<a name="gimp-brushes-set-opacity"></a>gimp_brushes_set_opacity ()</h3>
|
||||
<a class="indexterm" name="id2660928"></a><pre class="programlisting">gboolean gimp_brushes_set_opacity (gdouble opacity);</pre>
|
||||
<a class="indexterm" name="id2623418"></a><pre class="programlisting">gboolean gimp_brushes_set_opacity (gdouble 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>
|
||||
@ -252,12 +260,14 @@ This procedure is deprecated! Use <a href="libgimp-gimpcontext.html#gimp-context
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>opacity</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>opacity</code></em> :</span></td>
|
||||
<td> The brush opacity.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -266,9 +276,10 @@ This procedure is deprecated! Use <a href="libgimp-gimpcontext.html#gimp-context
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2661009"></a><h3>
|
||||
<a name="id2623497"></a><h3>
|
||||
<a name="gimp-brushes-get-paint-mode"></a>gimp_brushes_get_paint_mode ()</h3>
|
||||
<a class="indexterm" name="id2661023"></a><pre class="programlisting"><a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> gimp_brushes_get_paint_mode (void);</pre>
|
||||
<a class="indexterm" name="id2623506"></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>
|
||||
@ -281,7 +292,8 @@ This procedure isdeprecated! Use <a href="libgimp-gimpcontext.html#gimp-context-
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The paint mode.
|
||||
</td>
|
||||
</tr></tbody>
|
||||
@ -289,9 +301,9 @@ This procedure isdeprecated! Use <a href="libgimp-gimpcontext.html#gimp-context-
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2661082"></a><h3>
|
||||
<a name="id2623566"></a><h3>
|
||||
<a name="gimp-brushes-set-paint-mode"></a>gimp_brushes_set_paint_mode ()</h3>
|
||||
<a class="indexterm" name="id2661096"></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="id2623574"></a><pre class="programlisting">gboolean 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>
|
||||
@ -305,12 +317,14 @@ This procedure is deprecated! Use <a href="libgimp-gimpcontext.html#gimp-context
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>paint_mode</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>paint_mode</code></em> :</span></td>
|
||||
<td> The paint mode.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -319,9 +333,9 @@ This procedure is deprecated! Use <a href="libgimp-gimpcontext.html#gimp-context
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2661176"></a><h3>
|
||||
<a name="id2623653"></a><h3>
|
||||
<a name="gimp-brushes-get-spacing"></a>gimp_brushes_get_spacing ()</h3>
|
||||
<a class="indexterm" name="id2661190"></a><pre class="programlisting">gint gimp_brushes_get_spacing (void);</pre>
|
||||
<a class="indexterm" name="id2623662"></a><pre class="programlisting">gint 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>
|
||||
@ -334,7 +348,8 @@ This procedure is deprecated! Use <a href="libgimp-gimpbrush.html#gimp-brush-get
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The brush spacing.
|
||||
</td>
|
||||
</tr></tbody>
|
||||
@ -342,9 +357,9 @@ This procedure is deprecated! Use <a href="libgimp-gimpbrush.html#gimp-brush-get
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2661250"></a><h3>
|
||||
<a name="id2623722"></a><h3>
|
||||
<a name="gimp-brushes-set-spacing"></a>gimp_brushes_set_spacing ()</h3>
|
||||
<a class="indexterm" name="id2665509"></a><pre class="programlisting">gboolean gimp_brushes_set_spacing (gint spacing);</pre>
|
||||
<a class="indexterm" name="id2623731"></a><pre class="programlisting">gboolean gimp_brushes_set_spacing (gint 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>
|
||||
@ -358,12 +373,14 @@ This procedure is deprecated! Use <a href="libgimp-gimpbrush.html#gimp-brush-set
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>spacing</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>spacing</code></em> :</span></td>
|
||||
<td> The brush spacing.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> TRUE on success.
|
||||
</td>
|
||||
</tr>
|
||||
@ -372,16 +389,16 @@ This procedure is deprecated! Use <a href="libgimp-gimpbrush.html#gimp-brush-set
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2665589"></a><h3>
|
||||
<a name="id2634847"></a><h3>
|
||||
<a name="gimp-brushes-get-brush-data"></a>gimp_brushes_get_brush_data ()</h3>
|
||||
<a class="indexterm" name="id2665603"></a><pre class="programlisting">gchar* gimp_brushes_get_brush_data (const gchar *name,
|
||||
gdouble *opacity,
|
||||
gint *spacing,
|
||||
<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> *paint_mode,
|
||||
gint *width,
|
||||
gint *height,
|
||||
gint *length,
|
||||
guint8 **mask_data);</pre>
|
||||
<a class="indexterm" name="id2634856"></a><pre class="programlisting">gchar* gimp_brushes_get_brush_data (const gchar *name,
|
||||
gdouble *opacity,
|
||||
gint *spacing,
|
||||
<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> *paint_mode,
|
||||
gint *width,
|
||||
gint *height,
|
||||
gint *length,
|
||||
guint8 **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>
|
||||
@ -395,47 +412,56 @@ This procedure is deprecated! Use <a href="libgimp-gimpbrush.html#gimp-brush-get
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>name</code></em> :</span></td>
|
||||
<td> The brush name (\"\" means current active brush).
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>opacity</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>opacity</code></em> :</span></td>
|
||||
<td> The brush opacity.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>spacing</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>spacing</code></em> :</span></td>
|
||||
<td> The brush spacing.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>paint_mode</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>paint_mode</code></em> :</span></td>
|
||||
<td> The paint mode.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>width</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>width</code></em> :</span></td>
|
||||
<td> The brush width.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>height</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>height</code></em> :</span></td>
|
||||
<td> The brush height.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>length</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>length</code></em> :</span></td>
|
||||
<td> Length of brush mask data.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>mask_data</code></em> :</span></td>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>mask_data</code></em> :</span></td>
|
||||
<td> The brush mask data.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> The brush name.
|
||||
</td>
|
||||
</tr>
|
||||
@ -444,5 +470,9 @@ This procedure is deprecated! Use <a href="libgimp-gimpbrush.html#gimp-brush-get
|
||||
</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-gimpbrush.html"><b><< gimpbrush</b></a></td>
|
||||
<td align="right"><a accesskey="n" href="libgimp-gimpfonts.html"><b>gimpfonts >></b></a></td>
|
||||
</tr></table>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user