mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-23 04:51:44 +00:00
e78601452c
2003-07-02 Sven Neumann <sven@gimp.org> * app/gui/edit-commands.c * app/gui/image-menu.c: added "Fill with Pattern" menu entry as suggested in bug #116365. * app/base/temp-buf.c * app/base/tile-swap.c * app/config/gimpbaseconfig.c * app/config/gimpconfig-types.c * app/display/gimpdisplayshell-filter-dialog.c * app/display/gimpdisplayshell.c * app/file/file-utils.c * app/paint-funcs/paint-funcs-types.h * app/tools/gimpdrawtool.c * app/tools/gimpinktool.c * app/tools/gimpiscissorstool.h * app/tools/gimptextoptions.c * app/paint-funcs/paint-funcs-types.h * app/vectors/gimpbezierstroke.c * app/vectors/gimpstroke.c * app/vectors/gimpvectors.c * app/vectors/vectors-types.h * libgimp/gimpbrushmenu.c * libgimp/gimpmisc.h * libgimpmodule/gimpmodule.c: fixed some minor issues found compiling with -pedantic. * app/pdb/misc_tools_cmds.c * tools/pdbgen/pdb/misc_tools.pdb: adapt to the changed order of arguments for gimp_image_pick_color().
78 lines
2.2 KiB
C
78 lines
2.2 KiB
C
/* The GIMP -- an image manipulation program
|
|
* 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.
|
|
*/
|
|
|
|
#ifndef __PAINT_FUNCS_TYPES_H__
|
|
#define __PAINT_FUNCS_TYPES_H__
|
|
|
|
|
|
#include "base/base-types.h"
|
|
|
|
|
|
/* Opacities */
|
|
#define TRANSPARENT_OPACITY 0
|
|
#define OPAQUE_OPACITY 255
|
|
|
|
|
|
/* Lay down the groundwork for layer construction...
|
|
* This includes background images for indexed or non-alpha
|
|
* images, floating selections, selective display of intensity
|
|
* channels, and display of arbitrary mask channels
|
|
*/
|
|
typedef enum /*< pdb-skip >*/
|
|
{
|
|
INITIAL_CHANNEL_MASK = 0,
|
|
INITIAL_CHANNEL_SELECTION,
|
|
INITIAL_INDEXED,
|
|
INITIAL_INDEXED_ALPHA,
|
|
INITIAL_INTENSITY,
|
|
INITIAL_INTENSITY_ALPHA
|
|
} InitialMode;
|
|
|
|
/* Combine two source regions with the help of an optional mask
|
|
* region into a destination region. This is used for constructing
|
|
* layer projections, and for applying image patches to an image
|
|
*/
|
|
typedef enum /*< pdb-skip >*/
|
|
{
|
|
NO_COMBINATION = 0,
|
|
COMBINE_INDEXED_INDEXED,
|
|
COMBINE_INDEXED_INDEXED_A,
|
|
COMBINE_INDEXED_A_INDEXED_A,
|
|
COMBINE_INTEN_A_INDEXED_A,
|
|
COMBINE_INTEN_A_CHANNEL_MASK,
|
|
COMBINE_INTEN_A_CHANNEL_SELECTION,
|
|
COMBINE_INTEN_INTEN,
|
|
COMBINE_INTEN_INTEN_A,
|
|
COMBINE_INTEN_A_INTEN,
|
|
COMBINE_INTEN_A_INTEN_A,
|
|
|
|
/* Non-conventional combination modes */
|
|
BEHIND_INTEN,
|
|
BEHIND_INDEXED,
|
|
REPLACE_INTEN,
|
|
REPLACE_INDEXED,
|
|
ERASE_INTEN,
|
|
ERASE_INDEXED,
|
|
ANTI_ERASE_INTEN,
|
|
ANTI_ERASE_INDEXED,
|
|
COLOR_ERASE_INTEN
|
|
} CombinationMode;
|
|
|
|
|
|
#endif /* __PAINT_FUNCS_TYPES_H__ */
|