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 I. GIMP Constants">
14
<link rel="part" href="libgimp.html" title="Part II. GIMP Library">
13
<link rel="part" href="libgimp.html" title="Part I. 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 III. GIMP User Interface Library">
18
<link rel="part" href="libgimpui.html" title="Part II. 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">
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">
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,
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,
65
gboolean sample_merged,
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,
74
<a href="libgimp-gimpenums.html#GimpRepeatMode">GimpRepeatMode</a> repeat,
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,
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,
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,
76
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpBucketFillMode"
77
>GimpBucketFillMode</a> fill_mode,
78
<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
81
gboolean sample_merged,
84
gboolean <a href="libgimp-gimpedit.html#gimp-edit-blend">gimp_edit_blend</a> (gint32 drawable_ID,
86
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpBlendMode"
87
>GimpBlendMode</a> blend_mode,
88
<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
90
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpGradientType"
91
>GimpGradientType</a> gradient_type,
95
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpRepeatMode"
96
>GimpRepeatMode</a> repeat,
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,
87
111
<div class="refsect1" lang="en">
88
<a name="id2586071"></a><h2>Description</h2>
112
<a name="id2631490"></a><h2>Description</h2>
90
114
Edit menu functions (cut, copy, paste, clear, etc.)
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>
101
125
Cut from the specified drawable.
186
206
<col align="left" valign="top">
190
<span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
209
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
191
210
<td> The image to copy from.
196
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
214
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
197
215
<td> TRUE if the copy was successful, FALSE if the selection contained only transparent pixels.
221
<p class="since">Since GIMP 2.2
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>
213
231
Paste buffer to the specified drawable.
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">
239
<span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
240
<td> The drawable to paste to.
245
<span class="term"><em class="parameter"><code>paste_into</code></em> :</span></td>
246
<td> Clear selection, or paste behind it?
251
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
252
<td> The new floating selection.
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> :</span></td>
257
<td> The drawable to paste to.
261
<td><span class="term"><em class="parameter"><code>paste_into</code></em> :</span></td>
262
<td> Clear selection, or paste behind it?
266
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
267
<td> The new floating selection.
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>
279
Paste buffer to a new image.
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>
289
<div class="variablelist"><table border="0">
290
<col align="left" valign="top">
292
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
298
<p class="since">Since GIMP 2.4
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>
308
Cut into a named buffer.
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
318
<div class="variablelist"><table border="0">
319
<col align="left" valign="top">
322
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
323
<td> The drawable to cut from.
327
<td><span class="term"><em class="parameter"><code>buffer_name</code></em> :</span></td>
328
<td> The name of the buffer to create.
332
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
333
<td> The real name given to the buffer, or NULL if the selection contained only transparent pixels.
339
<p class="since">Since GIMP 2.4
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>
349
Copy into a named buffer.
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
359
<div class="variablelist"><table border="0">
360
<col align="left" valign="top">
363
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
364
<td> The drawable to copy from.
368
<td><span class="term"><em class="parameter"><code>buffer_name</code></em> :</span></td>
369
<td> The name of the buffer to create.
373
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
374
<td> The real name given to the buffer, or NULL if the selection contained only transparent pixels.
380
<p class="since">Since GIMP 2.4
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>
390
Copy from the projection into a named buffer.
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
400
<div class="variablelist"><table border="0">
401
<col align="left" valign="top">
404
<td><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></td>
405
<td> The image to copy from.
409
<td><span class="term"><em class="parameter"><code>buffer_name</code></em> :</span></td>
410
<td> The name of the buffer to create.
414
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
415
<td> The real name given to the buffer.
421
<p class="since">Since GIMP 2.4
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>
432
Paste named buffer to the specified drawable.
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>
440
<div class="variablelist"><table border="0">
441
<col align="left" valign="top">
444
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
445
<td> The drawable to paste to.
449
<td><span class="term"><em class="parameter"><code>buffer_name</code></em> :</span></td>
450
<td> The name of the buffer to paste.
454
<td><span class="term"><em class="parameter"><code>paste_into</code></em> :</span></td>
455
<td> Clear selection, or paste behind it?
459
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
460
<td> The new floating selection.
466
<p class="since">Since GIMP 2.4
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>
475
Paste named buffer to a new image.
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>
483
<div class="variablelist"><table border="0">
484
<col align="left" valign="top">
487
<td><span class="term"><em class="parameter"><code>buffer_name</code></em> :</span></td>
488
<td> The name of the buffer to paste.
492
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
499
<p class="since">Since GIMP 2.4
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>
264
508
Clear selected area of drawable.
370
611
<col align="left" valign="top">
374
<span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
614
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
375
615
<td> The affected drawable.
380
<span class="term"><em class="parameter"><code>fill_mode</code></em> :</span></td>
619
<td><span class="term"><em class="parameter"><code>fill_mode</code></em> :</span></td>
381
620
<td> The type of fill.
386
<span class="term"><em class="parameter"><code>paint_mode</code></em> :</span></td>
624
<td><span class="term"><em class="parameter"><code>paint_mode</code></em> :</span></td>
387
625
<td> The paint application mode.
392
<span class="term"><em class="parameter"><code>opacity</code></em> :</span></td>
629
<td><span class="term"><em class="parameter"><code>opacity</code></em> :</span></td>
393
630
<td> The opacity of the final bucket fill.
398
<span class="term"><em class="parameter"><code>threshold</code></em> :</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> :</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.
404
<span class="term"><em class="parameter"><code>sample_merged</code></em> :</span></td>
639
<td><span class="term"><em class="parameter"><code>sample_merged</code></em> :</span></td>
405
640
<td> Use the composite image, not the drawable.
410
<span class="term"><em class="parameter"><code>x</code></em> :</span></td>
644
<td><span class="term"><em class="parameter"><code>x</code></em> :</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.
416
<span class="term"><em class="parameter"><code>y</code></em> :</span></td>
649
<td><span class="term"><em class="parameter"><code>y</code></em> :</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.
422
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
654
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
423
655
<td> TRUE on success.
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,
439
<a href="libgimp-gimpenums.html#GimpRepeatMode">GimpRepeatMode</a> repeat,
441
gboolean supersample,
665
<a class="indexterm" name="id2621444"></a><pre class="programlisting">gboolean gimp_edit_blend (gint32 drawable_ID,
667
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpBlendMode"
668
>GimpBlendMode</a> blend_mode,
669
<a href="libgimp-gimpenums.html#GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
671
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpGradientType"
672
>GimpGradientType</a> gradient_type,
676
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpRepeatMode"
677
>GimpRepeatMode</a> repeat,
679
gboolean supersample,
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">
466
<span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
703
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
467
704
<td> The affected drawable.
472
<span class="term"><em class="parameter"><code>blend_mode</code></em> :</span></td>
708
<td><span class="term"><em class="parameter"><code>blend_mode</code></em> :</span></td>
473
709
<td> The type of blend.
478
<span class="term"><em class="parameter"><code>paint_mode</code></em> :</span></td>
713
<td><span class="term"><em class="parameter"><code>paint_mode</code></em> :</span></td>
479
714
<td> The paint application mode.
484
<span class="term"><em class="parameter"><code>gradient_type</code></em> :</span></td>
718
<td><span class="term"><em class="parameter"><code>gradient_type</code></em> :</span></td>
485
719
<td> The type of gradient.
490
<span class="term"><em class="parameter"><code>opacity</code></em> :</span></td>
723
<td><span class="term"><em class="parameter"><code>opacity</code></em> :</span></td>
491
724
<td> The opacity of the final blend.
496
<span class="term"><em class="parameter"><code>offset</code></em> :</span></td>
728
<td><span class="term"><em class="parameter"><code>offset</code></em> :</span></td>
497
729
<td> Offset relates to the starting and ending coordinates specified for the blend. This parameter is mode dependent.
502
<span class="term"><em class="parameter"><code>repeat</code></em> :</span></td>
733
<td><span class="term"><em class="parameter"><code>repeat</code></em> :</span></td>
503
734
<td> Repeat mode.
508
<span class="term"><em class="parameter"><code>reverse</code></em> :</span></td>
738
<td><span class="term"><em class="parameter"><code>reverse</code></em> :</span></td>
509
739
<td> Use the reverse gradient.
514
<span class="term"><em class="parameter"><code>supersample</code></em> :</span></td>
743
<td><span class="term"><em class="parameter"><code>supersample</code></em> :</span></td>
515
744
<td> Do adaptive supersampling.
520
<span class="term"><em class="parameter"><code>max_depth</code></em> :</span></td>
748
<td><span class="term"><em class="parameter"><code>max_depth</code></em> :</span></td>
521
749
<td> Maximum recursion levels for supersampling.
526
<span class="term"><em class="parameter"><code>threshold</code></em> :</span></td>
753
<td><span class="term"><em class="parameter"><code>threshold</code></em> :</span></td>
527
754
<td> Supersampling threshold.
532
<span class="term"><em class="parameter"><code>dither</code></em> :</span></td>
758
<td><span class="term"><em class="parameter"><code>dither</code></em> :</span></td>
533
759
<td> Use dithering to reduce banding.
538
<span class="term"><em class="parameter"><code>x1</code></em> :</span></td>
763
<td><span class="term"><em class="parameter"><code>x1</code></em> :</span></td>
539
764
<td> The x coordinate of this blend's starting point.
544
<span class="term"><em class="parameter"><code>y1</code></em> :</span></td>
768
<td><span class="term"><em class="parameter"><code>y1</code></em> :</span></td>
545
769
<td> The y coordinate of this blend's starting point.
550
<span class="term"><em class="parameter"><code>x2</code></em> :</span></td>
773
<td><span class="term"><em class="parameter"><code>x2</code></em> :</span></td>
551
774
<td> The x coordinate of this blend's ending point.
556
<span class="term"><em class="parameter"><code>y2</code></em> :</span></td>
778
<td><span class="term"><em class="parameter"><code>y2</code></em> :</span></td>
557
779
<td> The y coordinate of this blend's ending point.
562
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
783
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
563
784
<td> TRUE on success.
586
807
<col align="left" valign="top">
590
<span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
591
<td> The drawable to stroke to.
596
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
597
<td> TRUE on success.
810
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
811
<td> The drawable to stroke to.
815
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
816
<td> TRUE on success.
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>
829
Stroke the specified vectors object
832
This procedure strokes the specified vectors object, painting along
833
the path with the active brush and foreground color.</p>
837
<div class="variablelist"><table border="0">
838
<col align="left" valign="top">
841
<td><span class="term"><em class="parameter"><code>drawable_ID</code></em> :</span></td>
842
<td> The drawable to stroke to.
846
<td><span class="term"><em class="parameter"><code>vectors_ID</code></em> :</span></td>
847
<td> The vectors object.
851
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
852
<td> TRUE on success.
858
<p class="since">Since GIMP 2.4