49
51
<a name="libgimp-gimpedit.synopsis"></a><h2>Synopsis</h2>
50
52
<pre class="synopsis">
52
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
53
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-cut" title="gimp_edit_cut ()">gimp_edit_cut</a> (gint32 drawable_ID);
55
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
56
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-copy" title="gimp_edit_copy ()">gimp_edit_copy</a> (gint32 drawable_ID);
58
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
59
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-copy-visible" title="gimp_edit_copy_visible ()">gimp_edit_copy_visible</a> (gint32 image_ID);
60
gint32 <a class="link" href="libgimp-gimpedit.html#gimp-edit-paste" title="gimp_edit_paste ()">gimp_edit_paste</a> (gint32 drawable_ID,
54
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
55
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-cut" title="gimp_edit_cut ()">gimp_edit_cut</a> (<a
56
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
57
>gint32</a> drawable_ID);
59
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
60
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-copy" title="gimp_edit_copy ()">gimp_edit_copy</a> (<a
61
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
62
>gint32</a> drawable_ID);
64
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
65
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-copy-visible" title="gimp_edit_copy_visible ()">gimp_edit_copy_visible</a> (<a
66
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
67
>gint32</a> image_ID);
69
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
70
>gint32</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-paste" title="gimp_edit_paste ()">gimp_edit_paste</a> (<a
71
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
72
>gint32</a> drawable_ID,
62
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
74
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
63
75
>gboolean</a> paste_into);
64
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);
66
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
67
>gchar</a>* <a class="link" href="libgimp-gimpedit.html#gimp-edit-named-cut" title="gimp_edit_named_cut ()">gimp_edit_named_cut</a> (gint32 drawable_ID,
69
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
70
>gchar</a> *buffer_name);
72
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
73
>gchar</a>* <a class="link" href="libgimp-gimpedit.html#gimp-edit-named-copy" title="gimp_edit_named_copy ()">gimp_edit_named_copy</a> (gint32 drawable_ID,
75
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
76
>gchar</a> *buffer_name);
78
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
79
>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> (gint32 image_ID,
81
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
82
>gchar</a> *buffer_name);
83
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,
85
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
77
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
78
>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);
80
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
81
>gchar</a>* <a class="link" href="libgimp-gimpedit.html#gimp-edit-named-cut" title="gimp_edit_named_cut ()">gimp_edit_named_cut</a> (<a
82
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
83
>gint32</a> drawable_ID,
85
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
86
>gchar</a> *buffer_name);
88
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
89
>gchar</a>* <a class="link" href="libgimp-gimpedit.html#gimp-edit-named-copy" title="gimp_edit_named_copy ()">gimp_edit_named_copy</a> (<a
90
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
91
>gint32</a> drawable_ID,
93
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
94
>gchar</a> *buffer_name);
96
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
97
>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
98
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
101
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
102
>gchar</a> *buffer_name);
104
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
105
>gint32</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-named-paste" title="gimp_edit_named_paste ()">gimp_edit_named_paste</a> (<a
106
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
107
>gint32</a> drawable_ID,
109
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
86
110
>gchar</a> *buffer_name,
88
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
112
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
89
113
>gboolean</a> paste_into);
90
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 <a
91
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
115
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
116
>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
117
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
92
118
>gchar</a> *buffer_name);
94
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
95
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-clear" title="gimp_edit_clear ()">gimp_edit_clear</a> (gint32 drawable_ID);
120
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
121
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-clear" title="gimp_edit_clear ()">gimp_edit_clear</a> (<a
122
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
123
>gint32</a> drawable_ID);
97
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
98
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-fill" title="gimp_edit_fill ()">gimp_edit_fill</a> (gint32 drawable_ID,
125
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
126
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-fill" title="gimp_edit_fill ()">gimp_edit_fill</a> (<a
127
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
128
>gint32</a> drawable_ID,
99
129
<a class="link" href="libgimp-gimpenums.html#GimpFillType" title="enum GimpFillType">GimpFillType</a> fill_type);
101
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
102
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-bucket-fill" title="gimp_edit_bucket_fill ()">gimp_edit_bucket_fill</a> (gint32 drawable_ID,
131
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
132
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-bucket-fill" title="gimp_edit_bucket_fill ()">gimp_edit_bucket_fill</a> (<a
133
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
134
>gint32</a> drawable_ID,
104
136
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpBucketFillMode"
105
137
>GimpBucketFillMode</a> fill_mode,
106
138
<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
108
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
140
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
109
141
>gdouble</a> opacity,
111
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
143
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
112
144
>gdouble</a> threshold,
114
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
146
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
115
147
>gboolean</a> sample_merged,
117
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
149
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
120
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
152
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
123
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
124
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-blend" title="gimp_edit_blend ()">gimp_edit_blend</a> (gint32 drawable_ID,
155
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
156
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-blend" title="gimp_edit_blend ()">gimp_edit_blend</a> (<a
157
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
158
>gint32</a> drawable_ID,
126
160
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpBlendMode"
127
161
>GimpBlendMode</a> blend_mode,
130
164
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpGradientType"
131
165
>GimpGradientType</a> gradient_type,
133
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
167
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
134
168
>gdouble</a> opacity,
136
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
170
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
137
171
>gdouble</a> offset,
139
173
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpRepeatMode"
140
174
>GimpRepeatMode</a> repeat,
142
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
176
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
143
177
>gboolean</a> reverse,
145
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
179
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
146
180
>gboolean</a> supersample,
148
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
182
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
149
183
>gint</a> max_depth,
151
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
185
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
152
186
>gdouble</a> threshold,
154
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
188
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
155
189
>gboolean</a> dither,
157
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
191
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
160
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
194
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
163
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
197
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
166
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
200
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
167
201
>gdouble</a> y2);
169
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
170
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-stroke" title="gimp_edit_stroke ()">gimp_edit_stroke</a> (gint32 drawable_ID);
203
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
204
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-stroke" title="gimp_edit_stroke ()">gimp_edit_stroke</a> (<a
205
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
206
>gint32</a> drawable_ID);
172
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
173
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-stroke-vectors" title="gimp_edit_stroke_vectors ()">gimp_edit_stroke_vectors</a> (gint32 drawable_ID,
208
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
209
>gboolean</a> <a class="link" href="libgimp-gimpedit.html#gimp-edit-stroke-vectors" title="gimp_edit_stroke_vectors ()">gimp_edit_stroke_vectors</a> (<a
210
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
211
>gint32</a> drawable_ID,
213
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
214
>gint32</a> vectors_ID);
177
217
<div class="refsect1" lang="en">
178
218
<a name="libgimp-gimpedit.description"></a><h2>Description</h2>
180
220
Edit menu functions (cut, copy, paste, clear, etc.)
184
223
<div class="refsect1" lang="en">
665
713
<div class="refsect2" lang="en">
666
714
<a name="gimp-edit-bucket-fill"></a><h3>gimp_edit_bucket_fill ()</h3>
667
715
<pre class="programlisting"><a
668
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
669
>gboolean</a> gimp_edit_bucket_fill (gint32 drawable_ID,
716
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
717
>gboolean</a> gimp_edit_bucket_fill (<a
718
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint32"
719
>gint32</a> drawable_ID,
671
721
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpBucketFillMode"
672
722
>GimpBucketFillMode</a> fill_mode,
673
723
<a class="link" href="libgimp-gimpenums.html#GimpLayerModeEffects" title="enum GimpLayerModeEffects">GimpLayerModeEffects</a> paint_mode,
675
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
725
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
676
726
>gdouble</a> opacity,
678
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
728
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
679
729
>gdouble</a> threshold,
681
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
731
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
682
732
>gboolean</a> sample_merged,
684
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
734
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
687
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
737
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
688
738
>gdouble</a> y);</pre>
690
740
Fill the area specified either by the current selection if there is
771
822
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpGradientType"
772
823
>GimpGradientType</a> gradient_type,
774
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
825
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
775
826
>gdouble</a> opacity,
777
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
828
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
778
829
>gdouble</a> offset,
780
831
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpRepeatMode"
781
832
>GimpRepeatMode</a> repeat,
783
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
834
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
784
835
>gboolean</a> reverse,
786
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
837
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
787
838
>gboolean</a> supersample,
789
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
840
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
790
841
>gint</a> max_depth,
792
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
843
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
793
844
>gdouble</a> threshold,
795
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
846
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
796
847
>gboolean</a> dither,
798
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
849
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
801
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
852
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
804
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
855
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
807
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
858
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"
808
859
>gdouble</a> y2);</pre>
810
861
Blend between the starting and ending coordinates with the specified