~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to devel-docs/libgimp/html/libgimp-gimpedit.html

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>gimpedit</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
7
7
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
8
 
<link rel="up" href="libgimp-image.html" title="Manupulating Images and all their Properties">
 
8
<link rel="up" href="libgimp-image.html" title="Manupulating Images and their Properties">
9
9
<link rel="prev" href="libgimp-gimpdrawabletransform.html" title="gimpdrawabletransform">
10
10
<link rel="next" href="libgimp-gimpfileops.html" title="gimpfileops">
11
 
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="part" href="gimpdefinitions.html" title="Part&#160;I.&#160;GIMP Constants">
14
 
<link rel="part" href="libgimp.html" title="Part&#160;II.&#160;GIMP Library">
 
13
<link rel="part" href="libgimp.html" title="Part&#160;I.&#160;GIMP Library">
15
14
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
16
 
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and all their Properties">
 
15
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and their Properties">
17
16
<link rel="chapter" href="libgimp-data.html" title="Data Objects">
18
17
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
19
 
<link rel="part" href="libgimpui.html" title="Part&#160;III.&#160;GIMP User Interface Library">
 
18
<link rel="part" href="libgimpui.html" title="Part&#160;II.&#160;GIMP User Interface Library">
20
19
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
 
20
<link rel="index" href="libgimp-index.html" title="Index">
 
21
<link rel="index" href="libgimp-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
 
22
<link rel="index" href="libgimp-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
 
23
<link rel="index" href="libgimp-index-deprecated.html" title="Index of deprecated symbols">
21
24
</head>
22
25
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
23
26
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
28
31
<th width="100%" align="center">GIMP Library Reference Manual</th>
29
32
<td><a accesskey="n" href="libgimp-gimpfileops.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
30
33
</tr>
31
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2549755" class="shortcut">Top</a>
 
34
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2560443" class="shortcut">Top</a>
32
35
                  &#160;|&#160;
33
 
                  <a href="#id2586071" class="shortcut">Description</a></nobr></td></tr>
 
36
                  <a href="#id2631490" class="shortcut">Description</a></nobr></td></tr>
34
37
</table>
35
38
<div class="refentry" lang="en">
36
39
<a name="libgimp-gimpedit"></a><div class="titlepage"></div>
37
40
<div class="refnamediv"><table width="100%"><tr>
38
41
<td valign="top">
39
42
<h2>
40
 
<a name="id2549755"></a><span class="refentrytitle">gimpedit</span>
 
43
<a name="id2560443"></a><span class="refentrytitle">gimpedit</span>
41
44
</h2>
42
45
<p>gimpedit &#8212; Edit menu functions (cut, copy, paste, clear, etc.)</p>
43
46
</td>
49
52
 
50
53
 
51
54
 
52
 
gboolean    <a href="libgimp-gimpedit.html#gimp-edit-cut">gimp_edit_cut</a>                   (gint32 drawable_ID);
53
 
gboolean    <a href="libgimp-gimpedit.html#gimp-edit-copy">gimp_edit_copy</a>                  (gint32 drawable_ID);
54
 
gboolean    <a href="libgimp-gimpedit.html#gimp-edit-copy-visible">gimp_edit_copy_visible</a>          (gint32 image_ID);
55
 
gint32      <a href="libgimp-gimpedit.html#gimp-edit-paste">gimp_edit_paste</a>                 (gint32 drawable_ID,
56
 
                                             gboolean paste_into);
57
 
gboolean    <a href="libgimp-gimpedit.html#gimp-edit-clear">gimp_edit_clear</a>                 (gint32 drawable_ID);
58
 
gboolean    <a href="libgimp-gimpedit.html#gimp-edit-fill">gimp_edit_fill</a>                  (gint32 drawable_ID,
59
 
                                             <a href="libgimp-gimpenums.html#GimpFillType">GimpFillType</a> fill_type);
60
 
gboolean    <a href="libgimp-gimpedit.html#gimp-edit-bucket-fill">gimp_edit_bucket_fill</a>           (gint32 drawable_ID,
61
 
                                             <a href="libgimp-gimpenums.html#GimpBucketFillMode">GimpBucketFillMode</a> fill_mode,
62
 
                                             <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
63
 
                                             gdouble opacity,
64
 
                                             gdouble threshold,
65
 
                                             gboolean sample_merged,
66
 
                                             gdouble x,
67
 
                                             gdouble y);
68
 
gboolean    <a href="libgimp-gimpedit.html#gimp-edit-blend">gimp_edit_blend</a>                 (gint32 drawable_ID,
69
 
                                             <a href="libgimp-gimpenums.html#GimpBlendMode">GimpBlendMode</a> blend_mode,
70
 
                                             <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
71
 
                                             <a href="libgimp-gimpenums.html#GimpGradientType">GimpGradientType</a> gradient_type,
72
 
                                             gdouble opacity,
73
 
                                             gdouble offset,
74
 
                                             <a href="libgimp-gimpenums.html#GimpRepeatMode">GimpRepeatMode</a> repeat,
75
 
                                             gboolean reverse,
76
 
                                             gboolean supersample,
77
 
                                             gint max_depth,
78
 
                                             gdouble threshold,
79
 
                                             gboolean dither,
80
 
                                             gdouble x1,
81
 
                                             gdouble y1,
82
 
                                             gdouble x2,
83
 
                                             gdouble y2);
84
 
gboolean    <a href="libgimp-gimpedit.html#gimp-edit-stroke">gimp_edit_stroke</a>                (gint32 drawable_ID);
 
55
gboolean            <a href="libgimp-gimpedit.html#gimp-edit-cut">gimp_edit_cut</a>                       (gint32 drawable_ID);
 
56
gboolean            <a href="libgimp-gimpedit.html#gimp-edit-copy">gimp_edit_copy</a>                      (gint32 drawable_ID);
 
57
gboolean            <a href="libgimp-gimpedit.html#gimp-edit-copy-visible">gimp_edit_copy_visible</a>              (gint32 image_ID);
 
58
gint32              <a href="libgimp-gimpedit.html#gimp-edit-paste">gimp_edit_paste</a>                     (gint32 drawable_ID,
 
59
                                                         gboolean paste_into);
 
60
gint32              <a href="libgimp-gimpedit.html#gimp-edit-paste-as-new">gimp_edit_paste_as_new</a>              (void);
 
61
gchar*              <a href="libgimp-gimpedit.html#gimp-edit-named-cut">gimp_edit_named_cut</a>                 (gint32 drawable_ID,
 
62
                                                         const gchar *buffer_name);
 
63
gchar*              <a href="libgimp-gimpedit.html#gimp-edit-named-copy">gimp_edit_named_copy</a>                (gint32 drawable_ID,
 
64
                                                         const gchar *buffer_name);
 
65
gchar*              <a href="libgimp-gimpedit.html#gimp-edit-named-copy-visible">gimp_edit_named_copy_visible</a>        (gint32 image_ID,
 
66
                                                         const gchar *buffer_name);
 
67
gint32              <a href="libgimp-gimpedit.html#gimp-edit-named-paste">gimp_edit_named_paste</a>               (gint32 drawable_ID,
 
68
                                                         const gchar *buffer_name,
 
69
                                                         gboolean paste_into);
 
70
gint32              <a href="libgimp-gimpedit.html#gimp-edit-named-paste-as-new">gimp_edit_named_paste_as_new</a>        (const gchar *buffer_name);
 
71
gboolean            <a href="libgimp-gimpedit.html#gimp-edit-clear">gimp_edit_clear</a>                     (gint32 drawable_ID);
 
72
gboolean            <a href="libgimp-gimpedit.html#gimp-edit-fill">gimp_edit_fill</a>                      (gint32 drawable_ID,
 
73
                                                         <a href="libgimp-gimpenums.html#GimpFillType">GimpFillType</a> fill_type);
 
74
gboolean            <a href="libgimp-gimpedit.html#gimp-edit-bucket-fill">gimp_edit_bucket_fill</a>               (gint32 drawable_ID,
 
75
                                                         <a
 
76
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpBucketFillMode"
 
77
>GimpBucketFillMode</a> fill_mode,
 
78
                                                         <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
 
79
                                                         gdouble opacity,
 
80
                                                         gdouble threshold,
 
81
                                                         gboolean sample_merged,
 
82
                                                         gdouble x,
 
83
                                                         gdouble y);
 
84
gboolean            <a href="libgimp-gimpedit.html#gimp-edit-blend">gimp_edit_blend</a>                     (gint32 drawable_ID,
 
85
                                                         <a
 
86
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpBlendMode"
 
87
>GimpBlendMode</a> blend_mode,
 
88
                                                         <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
 
89
                                                         <a
 
90
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpGradientType"
 
91
>GimpGradientType</a> gradient_type,
 
92
                                                         gdouble opacity,
 
93
                                                         gdouble offset,
 
94
                                                         <a
 
95
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpRepeatMode"
 
96
>GimpRepeatMode</a> repeat,
 
97
                                                         gboolean reverse,
 
98
                                                         gboolean supersample,
 
99
                                                         gint max_depth,
 
100
                                                         gdouble threshold,
 
101
                                                         gboolean dither,
 
102
                                                         gdouble x1,
 
103
                                                         gdouble y1,
 
104
                                                         gdouble x2,
 
105
                                                         gdouble y2);
 
106
gboolean            <a href="libgimp-gimpedit.html#gimp-edit-stroke">gimp_edit_stroke</a>                    (gint32 drawable_ID);
 
107
gboolean            <a href="libgimp-gimpedit.html#gimp-edit-stroke-vectors">gimp_edit_stroke_vectors</a>            (gint32 drawable_ID,
 
108
                                                         gint32 vectors_ID);
85
109
</pre>
86
110
</div>
87
111
<div class="refsect1" lang="en">
88
 
<a name="id2586071"></a><h2>Description</h2>
 
112
<a name="id2631490"></a><h2>Description</h2>
89
113
<p>
90
114
Edit menu functions (cut, copy, paste, clear, etc.)
91
115
 
92
116
</p>
93
117
</div>
94
118
<div class="refsect1" lang="en">
95
 
<a name="id2586087"></a><h2>Details</h2>
 
119
<a name="id2631507"></a><h2>Details</h2>
96
120
<div class="refsect2" lang="en">
97
 
<a name="id2586098"></a><h3>
 
121
<a name="id2631518"></a><h3>
98
122
<a name="gimp-edit-cut"></a>gimp_edit_cut ()</h3>
99
 
<a class="indexterm" name="id2586110"></a><pre class="programlisting">gboolean    gimp_edit_cut                   (gint32 drawable_ID);</pre>
 
123
<a class="indexterm" name="id2631530"></a><pre class="programlisting">gboolean            gimp_edit_cut                       (gint32 drawable_ID);</pre>
100
124
<p>
101
125
Cut from the specified drawable.
102
126
</p>
104
128
If there is a selection in the image, then the area specified by the
105
129
selection is cut from the specified drawable and placed in an
106
130
internal GIMP edit buffer. It can subsequently be retrieved using
107
 
the 'gimp-edit-paste' command. If there is no selection, then the
 
131
the <a href="libgimp-gimpedit.html#gimp-edit-paste"><code class="function">gimp_edit_paste()</code></a> command. If there is no selection, then the
108
132
specified drawable will be removed and its contents stored in the
109
133
internal GIMP edit buffer.</p>
110
134
<p>
114
138
<col align="left" valign="top">
115
139
<tbody>
116
140
<tr>
117
 
<td>
118
 
<span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
 
141
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
119
142
<td> The drawable to cut from.
120
143
</td>
121
144
</tr>
122
145
<tr>
123
 
<td>
124
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
146
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
125
147
<td> TRUE if the cut was successful, FALSE if the selection contained only transparent pixels.
126
148
</td>
127
149
</tr>
130
152
</div>
131
153
<hr>
132
154
<div class="refsect2" lang="en">
133
 
<a name="id2586180"></a><h3>
 
155
<a name="id2631610"></a><h3>
134
156
<a name="gimp-edit-copy"></a>gimp_edit_copy ()</h3>
135
 
<a class="indexterm" name="id2586193"></a><pre class="programlisting">gboolean    gimp_edit_copy                  (gint32 drawable_ID);</pre>
 
157
<a class="indexterm" name="id2631622"></a><pre class="programlisting">gboolean            gimp_edit_copy                      (gint32 drawable_ID);</pre>
136
158
<p>
137
159
Copy from the specified drawable.
138
160
</p>
140
162
If there is a selection in the image, then the area specified by the
141
163
selection is copied from the specified drawable and placed in an
142
164
internal GIMP edit buffer. It can subsequently be retrieved using
143
 
the 'gimp-edit-paste' command. If there is no selection, then the
 
165
the <a href="libgimp-gimpedit.html#gimp-edit-paste"><code class="function">gimp_edit_paste()</code></a> command. If there is no selection, then the
144
166
specified drawable's contents will be stored in the internal GIMP
145
167
edit buffer.</p>
146
168
<p>
150
172
<col align="left" valign="top">
151
173
<tbody>
152
174
<tr>
153
 
<td>
154
 
<span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
 
175
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
155
176
<td> The drawable to copy from.
156
177
</td>
157
178
</tr>
158
179
<tr>
159
 
<td>
160
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
180
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
161
181
<td> TRUE if the copy was successful, FALSE if the selection contained only transparent pixels.
162
182
</td>
163
183
</tr>
166
186
</div>
167
187
<hr>
168
188
<div class="refsect2" lang="en">
169
 
<a name="id2581521"></a><h3>
 
189
<a name="id2631702"></a><h3>
170
190
<a name="gimp-edit-copy-visible"></a>gimp_edit_copy_visible ()</h3>
171
 
<a class="indexterm" name="id2581534"></a><pre class="programlisting">gboolean    gimp_edit_copy_visible          (gint32 image_ID);</pre>
 
191
<a class="indexterm" name="id2631716"></a><pre class="programlisting">gboolean            gimp_edit_copy_visible              (gint32 image_ID);</pre>
172
192
<p>
173
193
Copy from the projection.
174
194
</p>
176
196
If there is a selection in the image, then the area specified by the
177
197
selection is copied from the projection and placed in an internal
178
198
GIMP edit buffer. It can subsequently be retrieved using the
179
 
'gimp-edit-paste' command. If there is no selection, then the
 
199
<a href="libgimp-gimpedit.html#gimp-edit-paste"><code class="function">gimp_edit_paste()</code></a> command. If there is no selection, then the
180
200
projection's contents will be stored in the internal GIMP edit
181
201
buffer.</p>
182
202
<p>
186
206
<col align="left" valign="top">
187
207
<tbody>
188
208
<tr>
189
 
<td>
190
 
<span class="term"><em class="parameter"><code>image_ID</code></em>&#160;:</span></td>
 
209
<td><span class="term"><em class="parameter"><code>image_ID</code></em>&#160;:</span></td>
191
210
<td> The image to copy from.
192
211
</td>
193
212
</tr>
194
213
<tr>
195
 
<td>
196
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
214
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
197
215
<td> TRUE if the copy was successful, FALSE if the selection contained only transparent pixels.
198
216
 
199
217
</td>
200
218
</tr>
201
219
</tbody>
202
220
</table></div>
203
 
<p>Since  GIMP 2.2
 
221
<p class="since">Since  GIMP 2.2
204
222
</p>
205
223
</div>
206
224
<hr>
207
225
<div class="refsect2" lang="en">
208
 
<a name="id2581608"></a><h3>
 
226
<a name="id2631802"></a><h3>
209
227
<a name="gimp-edit-paste"></a>gimp_edit_paste ()</h3>
210
 
<a class="indexterm" name="id2581620"></a><pre class="programlisting">gint32      gimp_edit_paste                 (gint32 drawable_ID,
211
 
                                             gboolean paste_into);</pre>
 
228
<a class="indexterm" name="id2631815"></a><pre class="programlisting">gint32              gimp_edit_paste                     (gint32 drawable_ID,
 
229
                                                         gboolean paste_into);</pre>
212
230
<p>
213
231
Paste buffer to the specified drawable.
214
232
</p>
215
233
<p>
216
234
This procedure pastes a copy of the internal GIMP edit buffer to the
217
235
specified drawable. The GIMP edit buffer will be empty unless a call
218
 
was previously made to either 'gimp-edit-cut' or 'gimp-edit-copy'.
 
236
was previously made to either <a href="libgimp-gimpedit.html#gimp-edit-cut"><code class="function">gimp_edit_cut()</code></a> or <a href="libgimp-gimpedit.html#gimp-edit-copy"><code class="function">gimp_edit_copy()</code></a>.
219
237
The \"paste_into\" option specifies whether to clear the current
220
238
image selection, or to paste the buffer \"behind\" the selection.
221
239
This allows the selection to act as a mask for the pasted buffer.
235
253
<col align="left" valign="top">
236
254
<tbody>
237
255
<tr>
238
 
<td>
239
 
<span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
240
 
<td> The drawable to paste to.
241
 
</td>
242
 
</tr>
243
 
<tr>
244
 
<td>
245
 
<span class="term"><em class="parameter"><code>paste_into</code></em>&#160;:</span></td>
246
 
<td> Clear selection, or paste behind it?
247
 
</td>
248
 
</tr>
249
 
<tr>
250
 
<td>
251
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
252
 
<td> The new floating selection.
253
 
</td>
254
 
</tr>
255
 
</tbody>
256
 
</table></div>
257
 
</div>
258
 
<hr>
259
 
<div class="refsect2" lang="en">
260
 
<a name="id2581680"></a><h3>
 
256
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
 
257
<td> The drawable to paste to.
 
258
</td>
 
259
</tr>
 
260
<tr>
 
261
<td><span class="term"><em class="parameter"><code>paste_into</code></em>&#160;:</span></td>
 
262
<td> Clear selection, or paste behind it?
 
263
</td>
 
264
</tr>
 
265
<tr>
 
266
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
267
<td> The new floating selection.
 
268
</td>
 
269
</tr>
 
270
</tbody>
 
271
</table></div>
 
272
</div>
 
273
<hr>
 
274
<div class="refsect2" lang="en">
 
275
<a name="id2620313"></a><h3>
 
276
<a name="gimp-edit-paste-as-new"></a>gimp_edit_paste_as_new ()</h3>
 
277
<a class="indexterm" name="id2620327"></a><pre class="programlisting">gint32              gimp_edit_paste_as_new              (void);</pre>
 
278
<p>
 
279
Paste buffer to a new image.
 
280
</p>
 
281
<p>
 
282
This procedure pastes a copy of the internal GIMP edit buffer to a
 
283
new image. The GIMP edit buffer will be empty unless a call was
 
284
previously made to either <a href="libgimp-gimpedit.html#gimp-edit-cut"><code class="function">gimp_edit_cut()</code></a> or <a href="libgimp-gimpedit.html#gimp-edit-copy"><code class="function">gimp_edit_copy()</code></a>. This
 
285
procedure returns the new image.</p>
 
286
<p>
 
287
 
 
288
</p>
 
289
<div class="variablelist"><table border="0">
 
290
<col align="left" valign="top">
 
291
<tbody><tr>
 
292
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
293
<td> The new image.
 
294
 
 
295
</td>
 
296
</tr></tbody>
 
297
</table></div>
 
298
<p class="since">Since  GIMP 2.4
 
299
</p>
 
300
</div>
 
301
<hr>
 
302
<div class="refsect2" lang="en">
 
303
<a name="id2620399"></a><h3>
 
304
<a name="gimp-edit-named-cut"></a>gimp_edit_named_cut ()</h3>
 
305
<a class="indexterm" name="id2620413"></a><pre class="programlisting">gchar*              gimp_edit_named_cut                 (gint32 drawable_ID,
 
306
                                                         const gchar *buffer_name);</pre>
 
307
<p>
 
308
Cut into a named buffer.
 
309
</p>
 
310
<p>
 
311
This procedure works like <a href="libgimp-gimpedit.html#gimp-edit-cut"><code class="function">gimp_edit_cut()</code></a>, but additionally stores
 
312
the cut buffer into a named buffer that will stay available for
 
313
later pasting, regardless of any intermediate copy or cut
 
314
operations.</p>
 
315
<p>
 
316
 
 
317
</p>
 
318
<div class="variablelist"><table border="0">
 
319
<col align="left" valign="top">
 
320
<tbody>
 
321
<tr>
 
322
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
 
323
<td> The drawable to cut from.
 
324
</td>
 
325
</tr>
 
326
<tr>
 
327
<td><span class="term"><em class="parameter"><code>buffer_name</code></em>&#160;:</span></td>
 
328
<td> The name of the buffer to create.
 
329
</td>
 
330
</tr>
 
331
<tr>
 
332
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
333
<td> The real name given to the buffer, or NULL if the selection contained only transparent pixels.
 
334
 
 
335
</td>
 
336
</tr>
 
337
</tbody>
 
338
</table></div>
 
339
<p class="since">Since  GIMP 2.4
 
340
</p>
 
341
</div>
 
342
<hr>
 
343
<div class="refsect2" lang="en">
 
344
<a name="id2620519"></a><h3>
 
345
<a name="gimp-edit-named-copy"></a>gimp_edit_named_copy ()</h3>
 
346
<a class="indexterm" name="id2620532"></a><pre class="programlisting">gchar*              gimp_edit_named_copy                (gint32 drawable_ID,
 
347
                                                         const gchar *buffer_name);</pre>
 
348
<p>
 
349
Copy into a named buffer.
 
350
</p>
 
351
<p>
 
352
This procedure works like <a href="libgimp-gimpedit.html#gimp-edit-copy"><code class="function">gimp_edit_copy()</code></a>, but additionally stores
 
353
the copied buffer into a named buffer that will stay available for
 
354
later pasting, regardless of any intermediate copy or cut
 
355
operations.</p>
 
356
<p>
 
357
 
 
358
</p>
 
359
<div class="variablelist"><table border="0">
 
360
<col align="left" valign="top">
 
361
<tbody>
 
362
<tr>
 
363
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
 
364
<td> The drawable to copy from.
 
365
</td>
 
366
</tr>
 
367
<tr>
 
368
<td><span class="term"><em class="parameter"><code>buffer_name</code></em>&#160;:</span></td>
 
369
<td> The name of the buffer to create.
 
370
</td>
 
371
</tr>
 
372
<tr>
 
373
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
374
<td> The real name given to the buffer, or NULL if the selection contained only transparent pixels.
 
375
 
 
376
</td>
 
377
</tr>
 
378
</tbody>
 
379
</table></div>
 
380
<p class="since">Since  GIMP 2.4
 
381
</p>
 
382
</div>
 
383
<hr>
 
384
<div class="refsect2" lang="en">
 
385
<a name="id2620638"></a><h3>
 
386
<a name="gimp-edit-named-copy-visible"></a>gimp_edit_named_copy_visible ()</h3>
 
387
<a class="indexterm" name="id2620651"></a><pre class="programlisting">gchar*              gimp_edit_named_copy_visible        (gint32 image_ID,
 
388
                                                         const gchar *buffer_name);</pre>
 
389
<p>
 
390
Copy from the projection into a named buffer.
 
391
</p>
 
392
<p>
 
393
This procedure works like <a href="libgimp-gimpedit.html#gimp-edit-copy-visible"><code class="function">gimp_edit_copy_visible()</code></a>, but additionally
 
394
stores the copied buffer into a named buffer that will stay
 
395
available for later pasting, regardless of any intermediate copy or
 
396
cut operations.</p>
 
397
<p>
 
398
 
 
399
</p>
 
400
<div class="variablelist"><table border="0">
 
401
<col align="left" valign="top">
 
402
<tbody>
 
403
<tr>
 
404
<td><span class="term"><em class="parameter"><code>image_ID</code></em>&#160;:</span></td>
 
405
<td> The image to copy from.
 
406
</td>
 
407
</tr>
 
408
<tr>
 
409
<td><span class="term"><em class="parameter"><code>buffer_name</code></em>&#160;:</span></td>
 
410
<td> The name of the buffer to create.
 
411
</td>
 
412
</tr>
 
413
<tr>
 
414
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
415
<td> The real name given to the buffer.
 
416
 
 
417
</td>
 
418
</tr>
 
419
</tbody>
 
420
</table></div>
 
421
<p class="since">Since  GIMP 2.4
 
422
</p>
 
423
</div>
 
424
<hr>
 
425
<div class="refsect2" lang="en">
 
426
<a name="id2620754"></a><h3>
 
427
<a name="gimp-edit-named-paste"></a>gimp_edit_named_paste ()</h3>
 
428
<a class="indexterm" name="id2620768"></a><pre class="programlisting">gint32              gimp_edit_named_paste               (gint32 drawable_ID,
 
429
                                                         const gchar *buffer_name,
 
430
                                                         gboolean paste_into);</pre>
 
431
<p>
 
432
Paste named buffer to the specified drawable.
 
433
</p>
 
434
<p>
 
435
This procedure works like <a href="libgimp-gimpedit.html#gimp-edit-paste"><code class="function">gimp_edit_paste()</code></a> but pastes a named
 
436
buffer instead of the global buffer.</p>
 
437
<p>
 
438
 
 
439
</p>
 
440
<div class="variablelist"><table border="0">
 
441
<col align="left" valign="top">
 
442
<tbody>
 
443
<tr>
 
444
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
 
445
<td> The drawable to paste to.
 
446
</td>
 
447
</tr>
 
448
<tr>
 
449
<td><span class="term"><em class="parameter"><code>buffer_name</code></em>&#160;:</span></td>
 
450
<td> The name of the buffer to paste.
 
451
</td>
 
452
</tr>
 
453
<tr>
 
454
<td><span class="term"><em class="parameter"><code>paste_into</code></em>&#160;:</span></td>
 
455
<td> Clear selection, or paste behind it?
 
456
</td>
 
457
</tr>
 
458
<tr>
 
459
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
460
<td> The new floating selection.
 
461
 
 
462
</td>
 
463
</tr>
 
464
</tbody>
 
465
</table></div>
 
466
<p class="since">Since  GIMP 2.4
 
467
</p>
 
468
</div>
 
469
<hr>
 
470
<div class="refsect2" lang="en">
 
471
<a name="id2620892"></a><h3>
 
472
<a name="gimp-edit-named-paste-as-new"></a>gimp_edit_named_paste_as_new ()</h3>
 
473
<a class="indexterm" name="id2620906"></a><pre class="programlisting">gint32              gimp_edit_named_paste_as_new        (const gchar *buffer_name);</pre>
 
474
<p>
 
475
Paste named buffer to a new image.
 
476
</p>
 
477
<p>
 
478
This procedure works like <a href="libgimp-gimpedit.html#gimp-edit-paste-as-new"><code class="function">gimp_edit_paste_as_new()</code></a> but pastes a
 
479
named buffer instead of the global buffer.</p>
 
480
<p>
 
481
 
 
482
</p>
 
483
<div class="variablelist"><table border="0">
 
484
<col align="left" valign="top">
 
485
<tbody>
 
486
<tr>
 
487
<td><span class="term"><em class="parameter"><code>buffer_name</code></em>&#160;:</span></td>
 
488
<td> The name of the buffer to paste.
 
489
</td>
 
490
</tr>
 
491
<tr>
 
492
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
493
<td> The new image.
 
494
 
 
495
</td>
 
496
</tr>
 
497
</tbody>
 
498
</table></div>
 
499
<p class="since">Since  GIMP 2.4
 
500
</p>
 
501
</div>
 
502
<hr>
 
503
<div class="refsect2" lang="en">
 
504
<a name="id2620988"></a><h3>
261
505
<a name="gimp-edit-clear"></a>gimp_edit_clear ()</h3>
262
 
<a class="indexterm" name="id2581692"></a><pre class="programlisting">gboolean    gimp_edit_clear                 (gint32 drawable_ID);</pre>
 
506
<a class="indexterm" name="id2621000"></a><pre class="programlisting">gboolean            gimp_edit_clear                     (gint32 drawable_ID);</pre>
263
507
<p>
264
508
Clear selected area of drawable.
265
509
</p>
276
520
<col align="left" valign="top">
277
521
<tbody>
278
522
<tr>
279
 
<td>
280
 
<span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
 
523
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
281
524
<td> The drawable to clear from.
282
525
</td>
283
526
</tr>
284
527
<tr>
285
 
<td>
286
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
528
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
287
529
<td> TRUE on success.
288
530
</td>
289
531
</tr>
292
534
</div>
293
535
<hr>
294
536
<div class="refsect2" lang="en">
295
 
<a name="id2581760"></a><h3>
 
537
<a name="id2621070"></a><h3>
296
538
<a name="gimp-edit-fill"></a>gimp_edit_fill ()</h3>
297
 
<a class="indexterm" name="id2581773"></a><pre class="programlisting">gboolean    gimp_edit_fill                  (gint32 drawable_ID,
298
 
                                             <a href="libgimp-gimpenums.html#GimpFillType">GimpFillType</a> fill_type);</pre>
 
539
<a class="indexterm" name="id2621083"></a><pre class="programlisting">gboolean            gimp_edit_fill                      (gint32 drawable_ID,
 
540
                                                         <a href="libgimp-gimpenums.html#GimpFillType">GimpFillType</a> fill_type);</pre>
299
541
<p>
300
542
Fill selected area of drawable.
301
543
</p>
314
556
<col align="left" valign="top">
315
557
<tbody>
316
558
<tr>
317
 
<td>
318
 
<span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
 
559
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
319
560
<td> The drawable to fill to.
320
561
</td>
321
562
</tr>
322
563
<tr>
323
 
<td>
324
 
<span class="term"><em class="parameter"><code>fill_type</code></em>&#160;:</span></td>
 
564
<td><span class="term"><em class="parameter"><code>fill_type</code></em>&#160;:</span></td>
325
565
<td> The type of fill.
326
566
</td>
327
567
</tr>
328
568
<tr>
329
 
<td>
330
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
569
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
331
570
<td> TRUE on success.
332
571
</td>
333
572
</tr>
336
575
</div>
337
576
<hr>
338
577
<div class="refsect2" lang="en">
339
 
<a name="id2595074"></a><h3>
 
578
<a name="id2621185"></a><h3>
340
579
<a name="gimp-edit-bucket-fill"></a>gimp_edit_bucket_fill ()</h3>
341
 
<a class="indexterm" name="id2595086"></a><pre class="programlisting">gboolean    gimp_edit_bucket_fill           (gint32 drawable_ID,
342
 
                                             <a href="libgimp-gimpenums.html#GimpBucketFillMode">GimpBucketFillMode</a> fill_mode,
343
 
                                             <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
344
 
                                             gdouble opacity,
345
 
                                             gdouble threshold,
346
 
                                             gboolean sample_merged,
347
 
                                             gdouble x,
348
 
                                             gdouble y);</pre>
 
580
<a class="indexterm" name="id2621196"></a><pre class="programlisting">gboolean            gimp_edit_bucket_fill               (gint32 drawable_ID,
 
581
                                                         <a
 
582
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpBucketFillMode"
 
583
>GimpBucketFillMode</a> fill_mode,
 
584
                                                         <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
 
585
                                                         gdouble opacity,
 
586
                                                         gdouble threshold,
 
587
                                                         gboolean sample_merged,
 
588
                                                         gdouble x,
 
589
                                                         gdouble y);</pre>
349
590
<p>
350
591
Fill the area specified either by the current selection if there is
351
592
one, or by a seed fill starting at the specified coordinates.
357
598
is executed at the specified coordinates and extends outward in
358
599
keeping with the threshold parameter. If there is a selection in the
359
600
target image, the threshold, sample merged, x, and y arguments are
360
 
unused. If the sample_merged parameter is non-zero, the data of the
 
601
unused. If the sample_merged parameter is TRUE, the data of the
361
602
composite image will be used instead of that for the specified
362
603
drawable. This is equivalent to sampling for colors after merging
363
604
all visible layers. In the case of merged sampling, the x and y
370
611
<col align="left" valign="top">
371
612
<tbody>
372
613
<tr>
373
 
<td>
374
 
<span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
 
614
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
375
615
<td> The affected drawable.
376
616
</td>
377
617
</tr>
378
618
<tr>
379
 
<td>
380
 
<span class="term"><em class="parameter"><code>fill_mode</code></em>&#160;:</span></td>
 
619
<td><span class="term"><em class="parameter"><code>fill_mode</code></em>&#160;:</span></td>
381
620
<td> The type of fill.
382
621
</td>
383
622
</tr>
384
623
<tr>
385
 
<td>
386
 
<span class="term"><em class="parameter"><code>paint_mode</code></em>&#160;:</span></td>
 
624
<td><span class="term"><em class="parameter"><code>paint_mode</code></em>&#160;:</span></td>
387
625
<td> The paint application mode.
388
626
</td>
389
627
</tr>
390
628
<tr>
391
 
<td>
392
 
<span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
 
629
<td><span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
393
630
<td> The opacity of the final bucket fill.
394
631
</td>
395
632
</tr>
396
633
<tr>
397
 
<td>
398
 
<span class="term"><em class="parameter"><code>threshold</code></em>&#160;:</span></td>
399
 
<td> The threshold determines how extensive the seed fill will be. It's value is specified in terms of intensity levels . This parameter is only valid when there is no selection in the specified image.
 
634
<td><span class="term"><em class="parameter"><code>threshold</code></em>&#160;:</span></td>
 
635
<td> The threshold determines how extensive the seed fill will be. It's value is specified in terms of intensity levels. This parameter is only valid when there is no selection in the specified image.
400
636
</td>
401
637
</tr>
402
638
<tr>
403
 
<td>
404
 
<span class="term"><em class="parameter"><code>sample_merged</code></em>&#160;:</span></td>
 
639
<td><span class="term"><em class="parameter"><code>sample_merged</code></em>&#160;:</span></td>
405
640
<td> Use the composite image, not the drawable.
406
641
</td>
407
642
</tr>
408
643
<tr>
409
 
<td>
410
 
<span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
 
644
<td><span class="term"><em class="parameter"><code>x</code></em>&#160;:</span></td>
411
645
<td> The x coordinate of this bucket fill's application. This parameter is only valid when there is no selection in the specified image.
412
646
</td>
413
647
</tr>
414
648
<tr>
415
 
<td>
416
 
<span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
 
649
<td><span class="term"><em class="parameter"><code>y</code></em>&#160;:</span></td>
417
650
<td> The y coordinate of this bucket fill's application. This parameter is only valid when there is no selection in the specified image.
418
651
</td>
419
652
</tr>
420
653
<tr>
421
 
<td>
422
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
654
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
423
655
<td> TRUE on success.
424
656
</td>
425
657
</tr>
428
660
</div>
429
661
<hr>
430
662
<div class="refsect2" lang="en">
431
 
<a name="id2595320"></a><h3>
 
663
<a name="id2621432"></a><h3>
432
664
<a name="gimp-edit-blend"></a>gimp_edit_blend ()</h3>
433
 
<a class="indexterm" name="id2595332"></a><pre class="programlisting">gboolean    gimp_edit_blend                 (gint32 drawable_ID,
434
 
                                             <a href="libgimp-gimpenums.html#GimpBlendMode">GimpBlendMode</a> blend_mode,
435
 
                                             <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
436
 
                                             <a href="libgimp-gimpenums.html#GimpGradientType">GimpGradientType</a> gradient_type,
437
 
                                             gdouble opacity,
438
 
                                             gdouble offset,
439
 
                                             <a href="libgimp-gimpenums.html#GimpRepeatMode">GimpRepeatMode</a> repeat,
440
 
                                             gboolean reverse,
441
 
                                             gboolean supersample,
442
 
                                             gint max_depth,
443
 
                                             gdouble threshold,
444
 
                                             gboolean dither,
445
 
                                             gdouble x1,
446
 
                                             gdouble y1,
447
 
                                             gdouble x2,
448
 
                                             gdouble y2);</pre>
 
665
<a class="indexterm" name="id2621444"></a><pre class="programlisting">gboolean            gimp_edit_blend                     (gint32 drawable_ID,
 
666
                                                         <a
 
667
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpBlendMode"
 
668
>GimpBlendMode</a> blend_mode,
 
669
                                                         <a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
 
670
                                                         <a
 
671
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpGradientType"
 
672
>GimpGradientType</a> gradient_type,
 
673
                                                         gdouble opacity,
 
674
                                                         gdouble offset,
 
675
                                                         <a
 
676
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpRepeatMode"
 
677
>GimpRepeatMode</a> repeat,
 
678
                                                         gboolean reverse,
 
679
                                                         gboolean supersample,
 
680
                                                         gint max_depth,
 
681
                                                         gdouble threshold,
 
682
                                                         gboolean dither,
 
683
                                                         gdouble x1,
 
684
                                                         gdouble y1,
 
685
                                                         gdouble x2,
 
686
                                                         gdouble y2);</pre>
449
687
<p>
450
688
Blend between the starting and ending coordinates with the specified
451
689
blend mode and gradient type.
462
700
<col align="left" valign="top">
463
701
<tbody>
464
702
<tr>
465
 
<td>
466
 
<span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
 
703
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
467
704
<td> The affected drawable.
468
705
</td>
469
706
</tr>
470
707
<tr>
471
 
<td>
472
 
<span class="term"><em class="parameter"><code>blend_mode</code></em>&#160;:</span></td>
 
708
<td><span class="term"><em class="parameter"><code>blend_mode</code></em>&#160;:</span></td>
473
709
<td> The type of blend.
474
710
</td>
475
711
</tr>
476
712
<tr>
477
 
<td>
478
 
<span class="term"><em class="parameter"><code>paint_mode</code></em>&#160;:</span></td>
 
713
<td><span class="term"><em class="parameter"><code>paint_mode</code></em>&#160;:</span></td>
479
714
<td> The paint application mode.
480
715
</td>
481
716
</tr>
482
717
<tr>
483
 
<td>
484
 
<span class="term"><em class="parameter"><code>gradient_type</code></em>&#160;:</span></td>
 
718
<td><span class="term"><em class="parameter"><code>gradient_type</code></em>&#160;:</span></td>
485
719
<td> The type of gradient.
486
720
</td>
487
721
</tr>
488
722
<tr>
489
 
<td>
490
 
<span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
 
723
<td><span class="term"><em class="parameter"><code>opacity</code></em>&#160;:</span></td>
491
724
<td> The opacity of the final blend.
492
725
</td>
493
726
</tr>
494
727
<tr>
495
 
<td>
496
 
<span class="term"><em class="parameter"><code>offset</code></em>&#160;:</span></td>
 
728
<td><span class="term"><em class="parameter"><code>offset</code></em>&#160;:</span></td>
497
729
<td> Offset relates to the starting and ending coordinates specified for the blend. This parameter is mode dependent.
498
730
</td>
499
731
</tr>
500
732
<tr>
501
 
<td>
502
 
<span class="term"><em class="parameter"><code>repeat</code></em>&#160;:</span></td>
 
733
<td><span class="term"><em class="parameter"><code>repeat</code></em>&#160;:</span></td>
503
734
<td> Repeat mode.
504
735
</td>
505
736
</tr>
506
737
<tr>
507
 
<td>
508
 
<span class="term"><em class="parameter"><code>reverse</code></em>&#160;:</span></td>
 
738
<td><span class="term"><em class="parameter"><code>reverse</code></em>&#160;:</span></td>
509
739
<td> Use the reverse gradient.
510
740
</td>
511
741
</tr>
512
742
<tr>
513
 
<td>
514
 
<span class="term"><em class="parameter"><code>supersample</code></em>&#160;:</span></td>
 
743
<td><span class="term"><em class="parameter"><code>supersample</code></em>&#160;:</span></td>
515
744
<td> Do adaptive supersampling.
516
745
</td>
517
746
</tr>
518
747
<tr>
519
 
<td>
520
 
<span class="term"><em class="parameter"><code>max_depth</code></em>&#160;:</span></td>
 
748
<td><span class="term"><em class="parameter"><code>max_depth</code></em>&#160;:</span></td>
521
749
<td> Maximum recursion levels for supersampling.
522
750
</td>
523
751
</tr>
524
752
<tr>
525
 
<td>
526
 
<span class="term"><em class="parameter"><code>threshold</code></em>&#160;:</span></td>
 
753
<td><span class="term"><em class="parameter"><code>threshold</code></em>&#160;:</span></td>
527
754
<td> Supersampling threshold.
528
755
</td>
529
756
</tr>
530
757
<tr>
531
 
<td>
532
 
<span class="term"><em class="parameter"><code>dither</code></em>&#160;:</span></td>
 
758
<td><span class="term"><em class="parameter"><code>dither</code></em>&#160;:</span></td>
533
759
<td> Use dithering to reduce banding.
534
760
</td>
535
761
</tr>
536
762
<tr>
537
 
<td>
538
 
<span class="term"><em class="parameter"><code>x1</code></em>&#160;:</span></td>
 
763
<td><span class="term"><em class="parameter"><code>x1</code></em>&#160;:</span></td>
539
764
<td> The x coordinate of this blend's starting point.
540
765
</td>
541
766
</tr>
542
767
<tr>
543
 
<td>
544
 
<span class="term"><em class="parameter"><code>y1</code></em>&#160;:</span></td>
 
768
<td><span class="term"><em class="parameter"><code>y1</code></em>&#160;:</span></td>
545
769
<td> The y coordinate of this blend's starting point.
546
770
</td>
547
771
</tr>
548
772
<tr>
549
 
<td>
550
 
<span class="term"><em class="parameter"><code>x2</code></em>&#160;:</span></td>
 
773
<td><span class="term"><em class="parameter"><code>x2</code></em>&#160;:</span></td>
551
774
<td> The x coordinate of this blend's ending point.
552
775
</td>
553
776
</tr>
554
777
<tr>
555
 
<td>
556
 
<span class="term"><em class="parameter"><code>y2</code></em>&#160;:</span></td>
 
778
<td><span class="term"><em class="parameter"><code>y2</code></em>&#160;:</span></td>
557
779
<td> The y coordinate of this blend's ending point.
558
780
</td>
559
781
</tr>
560
782
<tr>
561
 
<td>
562
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
783
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
563
784
<td> TRUE on success.
564
785
</td>
565
786
</tr>
568
789
</div>
569
790
<hr>
570
791
<div class="refsect2" lang="en">
571
 
<a name="id2588272"></a><h3>
 
792
<a name="id2621838"></a><h3>
572
793
<a name="gimp-edit-stroke"></a>gimp_edit_stroke ()</h3>
573
 
<a class="indexterm" name="id2588284"></a><pre class="programlisting">gboolean    gimp_edit_stroke                (gint32 drawable_ID);</pre>
 
794
<a class="indexterm" name="id2621851"></a><pre class="programlisting">gboolean            gimp_edit_stroke                    (gint32 drawable_ID);</pre>
574
795
<p>
575
796
Stroke the current selection
576
797
</p>
586
807
<col align="left" valign="top">
587
808
<tbody>
588
809
<tr>
589
 
<td>
590
 
<span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
591
 
<td> The drawable to stroke to.
592
 
</td>
593
 
</tr>
594
 
<tr>
595
 
<td>
596
 
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
597
 
<td> TRUE on success.
598
 
</td>
599
 
</tr>
600
 
</tbody>
601
 
</table></div>
 
810
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
 
811
<td> The drawable to stroke to.
 
812
</td>
 
813
</tr>
 
814
<tr>
 
815
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
816
<td> TRUE on success.
 
817
</td>
 
818
</tr>
 
819
</tbody>
 
820
</table></div>
 
821
</div>
 
822
<hr>
 
823
<div class="refsect2" lang="en">
 
824
<a name="id2621919"></a><h3>
 
825
<a name="gimp-edit-stroke-vectors"></a>gimp_edit_stroke_vectors ()</h3>
 
826
<a class="indexterm" name="id2621933"></a><pre class="programlisting">gboolean            gimp_edit_stroke_vectors            (gint32 drawable_ID,
 
827
                                                         gint32 vectors_ID);</pre>
 
828
<p>
 
829
Stroke the specified vectors object
 
830
</p>
 
831
<p>
 
832
This procedure strokes the specified vectors object, painting along
 
833
the path with the active brush and foreground color.</p>
 
834
<p>
 
835
 
 
836
</p>
 
837
<div class="variablelist"><table border="0">
 
838
<col align="left" valign="top">
 
839
<tbody>
 
840
<tr>
 
841
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em>&#160;:</span></td>
 
842
<td> The drawable to stroke to.
 
843
</td>
 
844
</tr>
 
845
<tr>
 
846
<td><span class="term"><em class="parameter"><code>vectors_ID</code></em>&#160;:</span></td>
 
847
<td> The vectors object.
 
848
</td>
 
849
</tr>
 
850
<tr>
 
851
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
852
<td> TRUE on success.
 
853
 
 
854
</td>
 
855
</tr>
 
856
</tbody>
 
857
</table></div>
 
858
<p class="since">Since  GIMP 2.4
 
859
</p>
602
860
</div>
603
861
</div>
604
862
</div>