2006-12-10 05:33:38 +08:00
|
|
|
/* GIMP - The GNU Image Manipulation Program
|
1997-11-25 06:05:25 +08:00
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
*
|
2009-01-18 06:28:01 +08:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
1997-11-25 06:05:25 +08:00
|
|
|
* it under the terms of the GNU General Public License as published by
|
2009-01-18 06:28:01 +08:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
1997-11-25 06:05:25 +08:00
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
2009-01-18 06:28:01 +08:00
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
1997-11-25 06:05:25 +08:00
|
|
|
*/
|
2000-12-29 23:22:01 +08:00
|
|
|
|
2001-07-04 02:38:56 +08:00
|
|
|
#ifndef __GIMP_EDIT_H__
|
|
|
|
#define __GIMP_EDIT_H__
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
|
2007-12-14 21:58:10 +08:00
|
|
|
const GimpBuffer * gimp_edit_cut (GimpImage *image,
|
|
|
|
GimpDrawable *drawable,
|
|
|
|
GimpContext *context,
|
|
|
|
GError **error);
|
|
|
|
const GimpBuffer * gimp_edit_copy (GimpImage *image,
|
|
|
|
GimpDrawable *drawable,
|
|
|
|
GimpContext *context,
|
|
|
|
GError **error);
|
|
|
|
const GimpBuffer * gimp_edit_copy_visible (GimpImage *image,
|
|
|
|
GimpContext *context,
|
|
|
|
GError **error);
|
|
|
|
GimpLayer * gimp_edit_paste (GimpImage *image,
|
|
|
|
GimpDrawable *drawable,
|
|
|
|
GimpBuffer *paste,
|
|
|
|
gboolean paste_into,
|
|
|
|
gint viewport_x,
|
|
|
|
gint viewport_y,
|
|
|
|
gint viewport_width,
|
|
|
|
gint viewport_height);
|
2005-09-03 06:50:06 +08:00
|
|
|
|
2007-12-14 21:58:10 +08:00
|
|
|
const gchar * gimp_edit_named_cut (GimpImage *image,
|
|
|
|
const gchar *name,
|
|
|
|
GimpDrawable *drawable,
|
|
|
|
GimpContext *context,
|
|
|
|
GError **error);
|
|
|
|
const gchar * gimp_edit_named_copy (GimpImage *image,
|
|
|
|
const gchar *name,
|
|
|
|
GimpDrawable *drawable,
|
|
|
|
GimpContext *context,
|
|
|
|
GError **error);
|
|
|
|
const gchar * gimp_edit_named_copy_visible (GimpImage *image,
|
|
|
|
const gchar *name,
|
|
|
|
GimpContext *context,
|
|
|
|
GError **error);
|
2005-09-03 06:50:06 +08:00
|
|
|
|
2007-12-14 21:58:10 +08:00
|
|
|
gboolean gimp_edit_clear (GimpImage *image,
|
|
|
|
GimpDrawable *drawable,
|
|
|
|
GimpContext *context);
|
|
|
|
gboolean gimp_edit_fill (GimpImage *image,
|
|
|
|
GimpDrawable *drawable,
|
|
|
|
GimpContext *context,
|
2012-03-19 06:05:44 +08:00
|
|
|
GimpFillType fill_type,
|
|
|
|
gdouble opacity,
|
2014-06-03 20:00:01 +08:00
|
|
|
GimpLayerModeEffects paint_mode,
|
|
|
|
GError **error);
|
2012-03-19 06:05:44 +08:00
|
|
|
|
2012-03-19 05:31:11 +08:00
|
|
|
gboolean gimp_edit_fill_full (GimpImage *image,
|
|
|
|
GimpDrawable *drawable,
|
|
|
|
const GimpRGB *color,
|
|
|
|
GimpPattern *pattern,
|
2012-03-19 06:05:44 +08:00
|
|
|
gdouble opacity,
|
|
|
|
GimpLayerModeEffects paint_mode,
|
2012-03-19 05:31:11 +08:00
|
|
|
const gchar *undo_desc);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2007-12-14 21:58:10 +08:00
|
|
|
gboolean gimp_edit_fade (GimpImage *image,
|
|
|
|
GimpContext *context);
|
2006-10-22 02:46:49 +08:00
|
|
|
|
2000-12-29 23:22:01 +08:00
|
|
|
|
2001-07-04 02:38:56 +08:00
|
|
|
#endif /* __GIMP_EDIT_H__ */
|