2006-12-09 21:33:38 +00:00
|
|
|
/* GIMP - The GNU Image Manipulation Program
|
1999-07-07 03:18:54 +00:00
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (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
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
2000-12-29 15:22:01 +00:00
|
|
|
|
2005-09-19 12:44:06 +00:00
|
|
|
#ifndef __GIMP_IMAGE_QUICK_MASK_H__
|
|
|
|
#define __GIMP_IMAGE_QUICK_MASK_H__
|
1999-08-07 20:55:26 +00:00
|
|
|
|
2000-12-29 15:22:01 +00:00
|
|
|
|
2004-09-25 16:52:49 +00:00
|
|
|
/* don't change this string, it's used to identify the Quick Mask
|
|
|
|
* when opening files.
|
|
|
|
*/
|
2005-09-19 12:44:06 +00:00
|
|
|
#define GIMP_IMAGE_QUICK_MASK_NAME "Qmask"
|
2004-02-14 15:37:23 +00:00
|
|
|
|
|
|
|
|
2006-03-28 17:08:36 +00:00
|
|
|
void gimp_image_set_quick_mask_state (GimpImage *image,
|
2005-09-19 12:44:06 +00:00
|
|
|
gboolean quick_mask_state);
|
2006-03-28 17:08:36 +00:00
|
|
|
gboolean gimp_image_get_quick_mask_state (const GimpImage *image);
|
2000-12-29 15:22:01 +00:00
|
|
|
|
2006-03-28 17:08:36 +00:00
|
|
|
void gimp_image_set_quick_mask_color (GimpImage *image,
|
2005-09-19 12:44:06 +00:00
|
|
|
const GimpRGB *color);
|
2006-03-28 17:08:36 +00:00
|
|
|
void gimp_image_get_quick_mask_color (const GimpImage *image,
|
2005-09-19 12:44:06 +00:00
|
|
|
GimpRGB *color);
|
2004-07-05 11:18:34 +00:00
|
|
|
|
2006-03-28 17:08:36 +00:00
|
|
|
GimpChannel * gimp_image_get_quick_mask (const GimpImage *image);
|
2004-02-19 13:18:24 +00:00
|
|
|
|
2006-03-28 17:08:36 +00:00
|
|
|
void gimp_image_quick_mask_invert (GimpImage *image);
|
1999-07-07 03:18:54 +00:00
|
|
|
|
2001-11-30 14:41:56 +00:00
|
|
|
|
2005-09-19 12:44:06 +00:00
|
|
|
#endif /* __GIMP_IMAGE_QUICK_MASK_H__ */
|