Imported Upstream version 2.8.6
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>gimpbrush</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
||||
<link rel="home" href="index.html" title="GIMP Library Reference Manual">
|
||||
<link rel="up" href="libgimp-data.html" title="Data Objects">
|
||||
<link rel="prev" href="libgimp-data.html" title="Data Objects">
|
||||
@ -99,8 +99,11 @@ Creates a new brush
|
||||
<p>
|
||||
This procedure creates a new, uninitialized brush
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
@ -124,8 +127,11 @@ Duplicates a brush
|
||||
<p>
|
||||
This procedure creates an identical brush by a different name
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
@ -150,8 +156,11 @@ Rename a brush
|
||||
<p>
|
||||
This procedure renames a brush
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
@ -179,8 +188,11 @@ Deletes a brush
|
||||
<p>
|
||||
This procedure deletes a brush
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
@ -209,8 +221,11 @@ Retrieve information about the specified brush.
|
||||
This procedure retrieves information about the specified brush. This
|
||||
includes the brush name, and the brush extents (width and height).
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
@ -259,8 +274,11 @@ Retrieve information about the specified brush.
|
||||
This procedure retrieves information about the specified brush. This
|
||||
includes the brush extents (width and height) and its pixels data.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
@ -319,8 +337,11 @@ This procedure returns the spacing setting for the specified brush.
|
||||
The return value is an integer between 0 and 1000 which represents
|
||||
percentage of the maximum of the width and height of the mask.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
@ -350,8 +371,11 @@ Set the brush spacing.
|
||||
This procedure modifies the spacing setting for the specified brush.
|
||||
The value should be a integer between 0 and 1000.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
@ -384,8 +408,11 @@ possibilities are Circle (GIMP_BRUSH_GENERATED_CIRCLE), Square
|
||||
(GIMP_BRUSH_GENERATED_DIAMOND). Other shapes are likely to be added
|
||||
in the future.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
@ -415,8 +442,11 @@ possibilities are Circle (GIMP_BRUSH_GENERATED_CIRCLE), Square
|
||||
(GIMP_BRUSH_GENERATED_DIAMOND). Other shapes are likely to be added
|
||||
in the future.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
@ -445,8 +475,11 @@ Get the number of spikes for a generated brush.
|
||||
This procedure gets the number of spikes for a generated brush. If
|
||||
called for any other type of brush, it does not succeed.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
@ -472,8 +505,11 @@ Set the number of spikes for a generated brush.
|
||||
This procedure sets the number of spikes for a generated brush. If
|
||||
called for any other type of brush, it does not succeed.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
@ -502,8 +538,11 @@ Get the rotation angle of a generated brush.
|
||||
This procedure gets the angle of rotation for a generated brush. If
|
||||
called for any other type of brush, it does not succeed.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
@ -529,8 +568,11 @@ Set the rotation angle of a generated brush.
|
||||
This procedure sets the rotation angle for a generated brush. If
|
||||
called for any other type of brush, it does not succeed.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
@ -559,8 +601,11 @@ Get the radius of a generated brush.
|
||||
This procedure gets the radius value for a generated brush. If
|
||||
called for any other type of brush, it does not succeed.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
@ -586,8 +631,11 @@ Set the radius of a generated brush.
|
||||
This procedure sets the radius for a generated brush. If called for
|
||||
any other type of brush, it does not succeed.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
@ -616,8 +664,11 @@ Get the aspect ratio of a generated brush.
|
||||
This procedure gets the aspect ratio of a generated brush. If called
|
||||
for any other type of brush, it does not succeed.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
@ -643,8 +694,11 @@ Set the aspect ratio of a generated brush.
|
||||
This procedure sets the aspect ratio for a generated brush. If
|
||||
called for any other type of brush, it does not succeed.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
@ -674,8 +728,11 @@ This procedure gets the hardness of a generated brush. The hardness
|
||||
of a brush is the amount its intensity fades at the outside edge. If
|
||||
called for any other type of brush, the function does not succeed.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
@ -701,8 +758,11 @@ Set the hardness of a generated brush.
|
||||
This procedure sets the hardness for a generated brush. If called
|
||||
for any other type of brush, it does not succeed.
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
@ -730,8 +790,11 @@ Tests if brush is generated
|
||||
<p>
|
||||
Returns TRUE if this brush is parametric, FALSE for other types
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
@ -755,8 +818,11 @@ Tests if brush can be edited
|
||||
<p>
|
||||
Returns TRUE if you have permission to change the brush
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<div class="variablelist"><table border="0" class="variablelist">
|
||||
<colgroup>
|
||||
<col align="left" valign="top">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
||||
|
Reference in New Issue
Block a user