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
|
|
|
|
|
|
|
|
2016-09-20 05:53:40 +08:00
|
|
|
GimpObject * gimp_edit_cut (GimpImage *image,
|
2016-05-20 05:51:44 +08:00
|
|
|
GimpDrawable *drawable,
|
|
|
|
GimpContext *context,
|
|
|
|
GError **error);
|
2016-09-20 05:53:40 +08:00
|
|
|
GimpObject * gimp_edit_copy (GimpImage *image,
|
2016-05-20 05:51:44 +08:00
|
|
|
GimpDrawable *drawable,
|
|
|
|
GimpContext *context,
|
|
|
|
GError **error);
|
|
|
|
GimpBuffer * gimp_edit_copy_visible (GimpImage *image,
|
|
|
|
GimpContext *context,
|
|
|
|
GError **error);
|
2016-09-19 23:30:41 +08:00
|
|
|
|
2016-05-20 05:51:44 +08:00
|
|
|
GimpLayer * gimp_edit_paste (GimpImage *image,
|
|
|
|
GimpDrawable *drawable,
|
2016-09-20 05:53:40 +08:00
|
|
|
GimpObject *paste,
|
|
|
|
GimpPasteType paste_type,
|
2016-05-20 05:51:44 +08:00
|
|
|
gint viewport_x,
|
|
|
|
gint viewport_y,
|
|
|
|
gint viewport_width,
|
|
|
|
gint viewport_height);
|
2017-05-02 01:10:52 +08:00
|
|
|
GimpImage * gimp_edit_paste_as_new_image (Gimp *gimp,
|
|
|
|
GimpObject *paste);
|
2005-09-03 06:50:06 +08:00
|
|
|
|
2016-05-20 05:51:44 +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
|
|
|
|
2000-12-29 23:22:01 +08:00
|
|
|
|
2001-07-04 02:38:56 +08:00
|
|
|
#endif /* __GIMP_EDIT_H__ */
|