47
47
<div class="refsynopsisdiv">
48
48
<a name="libgimp-gimpedit.synopsis"></a><h2>Synopsis</h2>
49
49
<pre class="synopsis">
51
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
52
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-cut" title="gimp_edit_cut ()">gimp_edit_cut</a> (<a
53
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
54
>gint32</a> drawable_ID);
56
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
57
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-copy" title="gimp_edit_copy ()">gimp_edit_copy</a> (<a
58
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
59
>gint32</a> drawable_ID);
61
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
62
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-copy-visible" title="gimp_edit_copy_visible ()">gimp_edit_copy_visible</a> (<a
63
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
64
>gint32</a> image_ID);
66
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
67
>gint32</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-paste" title="gimp_edit_paste ()">gimp_edit_paste</a> (<a
68
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
69
>gint32</a> drawable_ID,
71
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
72
>gboolean</a> paste_into);
74
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
75
>gint32</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-paste-as-new" title="gimp_edit_paste_as_new ()">gimp_edit_paste_as_new</a> (void);
77
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
78
>gchar</a>* <a class="link" href="libgimp-gimpedit.html#gimp-edit-named-cut" title="gimp_edit_named_cut ()">gimp_edit_named_cut</a> (<a
79
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
80
>gint32</a> drawable_ID,
82
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
83
>gchar</a> *buffer_name);
85
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
86
>gchar</a>* <a class="link" href="libgimp-gimpedit.html#gimp-edit-named-copy" title="gimp_edit_named_copy ()">gimp_edit_named_copy</a> (<a
87
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
88
>gint32</a> drawable_ID,
90
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
91
>gchar</a> *buffer_name);
93
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
94
>gchar</a>* <a class="link" href="libgimp-gimpedit.html#gimp-edit-named-copy-visible" title="gimp_edit_named_copy_visible ()">gimp_edit_named_copy_visible</a> (<a
95
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
98
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
99
>gchar</a> *buffer_name);
101
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
102
>gint32</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-named-paste" title="gimp_edit_named_paste ()">gimp_edit_named_paste</a> (<a
103
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
104
>gint32</a> drawable_ID,
106
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
107
>gchar</a> *buffer_name,
109
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
110
>gboolean</a> paste_into);
112
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
113
>gint32</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-named-paste-as-new" title="gimp_edit_named_paste_as_new ()">gimp_edit_named_paste_as_new</a> (const <a
114
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
115
>gchar</a> *buffer_name);
117
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
118
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-clear" title="gimp_edit_clear ()">gimp_edit_clear</a> (<a
119
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
120
>gint32</a> drawable_ID);
122
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
123
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-fill" title="gimp_edit_fill ()">gimp_edit_fill</a> (<a
124
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
125
>gint32</a> drawable_ID,
50
gboolean <a class="link" href="libgimp-gimpedit.html#gimp-edit-cut" title="gimp_edit_cut ()">gimp_edit_cut</a> (gint32 drawable_ID);
51
gboolean <a class="link" href="libgimp-gimpedit.html#gimp-edit-copy" title="gimp_edit_copy ()">gimp_edit_copy</a> (gint32 drawable_ID);
52
gboolean <a class="link" href="libgimp-gimpedit.html#gimp-edit-copy-visible" title="gimp_edit_copy_visible ()">gimp_edit_copy_visible</a> (gint32 image_ID);
53
gint32 <a class="link" href="libgimp-gimpedit.html#gimp-edit-paste" title="gimp_edit_paste ()">gimp_edit_paste</a> (gint32 drawable_ID,
55
gint32 <a class="link" href="libgimp-gimpedit.html#gimp-edit-paste-as-new" title="gimp_edit_paste_as_new ()">gimp_edit_paste_as_new</a> (void);
56
gchar* <a class="link" href="libgimp-gimpedit.html#gimp-edit-named-cut" title="gimp_edit_named_cut ()">gimp_edit_named_cut</a> (gint32 drawable_ID,
57
const gchar *buffer_name);
58
gchar* <a class="link" href="libgimp-gimpedit.html#gimp-edit-named-copy" title="gimp_edit_named_copy ()">gimp_edit_named_copy</a> (gint32 drawable_ID,
59
const gchar *buffer_name);
60
gchar* <a class="link" href="libgimp-gimpedit.html#gimp-edit-named-copy-visible" title="gimp_edit_named_copy_visible ()">gimp_edit_named_copy_visible</a> (gint32 image_ID,
61
const gchar *buffer_name);
62
gint32 <a class="link" href="libgimp-gimpedit.html#gimp-edit-named-paste" title="gimp_edit_named_paste ()">gimp_edit_named_paste</a> (gint32 drawable_ID,
63
const gchar *buffer_name,
65
gint32 <a class="link" href="libgimp-gimpedit.html#gimp-edit-named-paste-as-new" title="gimp_edit_named_paste_as_new ()">gimp_edit_named_paste_as_new</a> (const gchar *buffer_name);
66
gboolean <a class="link" href="libgimp-gimpedit.html#gimp-edit-clear" title="gimp_edit_clear ()">gimp_edit_clear</a> (gint32 drawable_ID);
67
gboolean <a class="link" href="libgimp-gimpedit.html#gimp-edit-fill" title="gimp_edit_fill ()">gimp_edit_fill</a> (gint32 drawable_ID,
126
68
<a class="link" href="libgimp-gimpenums.html#GimpFillType" title="enum GimpFillType">GimpFillType</a> fill_type);
128
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
129
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-bucket-fill" title="gimp_edit_bucket_fill ()">gimp_edit_bucket_fill</a> (<a
130
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
131
>gint32</a> drawable_ID,
69
gboolean <a class="link" href="libgimp-gimpedit.html#gimp-edit-bucket-fill" title="gimp_edit_bucket_fill ()">gimp_edit_bucket_fill</a> (gint32 drawable_ID,
133
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpBucketFillMode"
71
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpBucketFillMode"
134
72
>GimpBucketFillMode</a> fill_mode,
135
73
<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
137
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
138
>gdouble</a> opacity,
140
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
141
>gdouble</a> threshold,
143
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
144
>gboolean</a> sample_merged,
146
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
149
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
152
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
153
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-blend" title="gimp_edit_blend ()">gimp_edit_blend</a> (<a
154
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
155
>gint32</a> drawable_ID,
157
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpBlendMode"
76
gboolean sample_merged,
79
gboolean <a class="link" href="libgimp-gimpedit.html#gimp-edit-blend" title="gimp_edit_blend ()">gimp_edit_blend</a> (gint32 drawable_ID,
81
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpBlendMode"
158
82
>GimpBlendMode</a> blend_mode,
159
83
<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
161
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpGradientType"
85
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpGradientType"
162
86
>GimpGradientType</a> gradient_type,
164
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
165
>gdouble</a> opacity,
167
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
170
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpRepeatMode"
90
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpRepeatMode"
171
91
>GimpRepeatMode</a> repeat,
173
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
174
>gboolean</a> reverse,
176
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
177
>gboolean</a> supersample,
179
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
182
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
183
>gdouble</a> threshold,
185
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
186
>gboolean</a> dither,
188
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
191
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
194
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
197
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
200
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
201
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-stroke" title="gimp_edit_stroke ()">gimp_edit_stroke</a> (<a
202
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
203
>gint32</a> drawable_ID);
205
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
206
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-stroke-vectors" title="gimp_edit_stroke_vectors ()">gimp_edit_stroke_vectors</a> (<a
207
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
208
>gint32</a> drawable_ID,
210
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
211
>gint32</a> vectors_ID);
101
gboolean <a class="link" href="libgimp-gimpedit.html#gimp-edit-stroke" title="gimp_edit_stroke ()">gimp_edit_stroke</a> (gint32 drawable_ID);
102
gboolean <a class="link" href="libgimp-gimpedit.html#gimp-edit-stroke-vectors" title="gimp_edit_stroke_vectors ()">gimp_edit_stroke_vectors</a> (gint32 drawable_ID,
214
106
<div class="refsect1" lang="en">
824
644
<div class="refsect2" lang="en">
825
645
<a name="gimp-edit-blend"></a><h3>gimp_edit_blend ()</h3>
826
<pre class="programlisting"><a
827
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
828
>gboolean</a> gimp_edit_blend (<a
829
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
830
>gint32</a> drawable_ID,
646
<pre class="programlisting">gboolean gimp_edit_blend (gint32 drawable_ID,
832
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpBlendMode"
648
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpBlendMode"
833
649
>GimpBlendMode</a> blend_mode,
834
650
<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
836
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpGradientType"
652
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpGradientType"
837
653
>GimpGradientType</a> gradient_type,
839
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
840
>gdouble</a> opacity,
842
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
845
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpRepeatMode"
657
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpRepeatMode"
846
658
>GimpRepeatMode</a> repeat,
848
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
849
>gboolean</a> reverse,
851
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
852
>gboolean</a> supersample,
854
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
857
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
858
>gdouble</a> threshold,
860
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
861
>gboolean</a> dither,
863
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
866
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
869
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
872
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
873
>gdouble</a> y2);</pre>
660
gboolean supersample,
875
669
Blend between the starting and ending coordinates with the specified
876
670
blend mode and gradient type.