2000-05-30 23:15:06 -07:00
|
|
|
/* LIBGIMP - The GIMP Library
|
|
|
|
|
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
|
|
|
|
|
*
|
|
|
|
|
* gimptypes.h
|
|
|
|
|
*
|
2009-01-17 14:28:01 -08:00
|
|
|
* This library is free software: you can redistribute it and/or
|
2000-05-30 23:15:06 -07:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
|
* License as published by the Free Software Foundation; either
|
2009-01-17 14:28:01 -08:00
|
|
|
* version 3 of the License, or (at your option) any later version.
|
2003-12-05 07:55:15 -08:00
|
|
|
*
|
2000-05-30 23:15:06 -07:00
|
|
|
* This library is distributed in the hope that it will be useful,
|
2003-12-05 07:55:15 -08:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
2000-05-30 23:15:06 -07:00
|
|
|
* Lesser General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2009-01-17 14:28:01 -08:00
|
|
|
* License along with this library. If not, see
|
2018-07-11 14:47:19 -07:00
|
|
|
* <https://www.gnu.org/licenses/>.
|
2000-05-30 23:15:06 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef __GIMP_TYPES_H__
|
|
|
|
|
#define __GIMP_TYPES_H__
|
|
|
|
|
|
2001-05-21 06:58:46 -07:00
|
|
|
#include <libgimpbase/gimpbasetypes.h>
|
2000-12-29 07:22:01 -08:00
|
|
|
|
2001-11-22 15:46:13 -08:00
|
|
|
G_BEGIN_DECLS
|
2000-05-30 23:15:06 -07:00
|
|
|
|
|
|
|
|
/* For information look into the html documentation */
|
|
|
|
|
|
|
|
|
|
|
2012-03-22 03:24:03 -07:00
|
|
|
typedef struct _GimpPlugInInfo GimpPlugInInfo;
|
|
|
|
|
typedef struct _GimpTile GimpTile;
|
|
|
|
|
typedef struct _GimpDrawable GimpDrawable;
|
|
|
|
|
typedef struct _GimpPixelRgn GimpPixelRgn;
|
|
|
|
|
typedef struct _GimpParamDef GimpParamDef;
|
|
|
|
|
typedef struct _GimpParamRegion GimpParamRegion;
|
|
|
|
|
typedef union _GimpParamData GimpParamData;
|
|
|
|
|
typedef struct _GimpParam GimpParam;
|
2000-05-30 23:15:06 -07:00
|
|
|
|
2017-01-24 14:25:02 -08:00
|
|
|
|
|
|
|
|
#ifndef GIMP_DISABLE_DEPRECATED
|
|
|
|
|
|
|
|
|
|
/* This is so ugly it hurts. C++ won't let us have enum GimpLayerMode
|
|
|
|
|
* in the API where we used to have enum GimpLayerModeEffects, so
|
|
|
|
|
* typedef and define around to make it happy:
|
|
|
|
|
*/
|
|
|
|
|
typedef GimpLayerMode GimpLayerModeEffects;
|
|
|
|
|
|
2017-02-26 08:20:08 -08:00
|
|
|
#define GIMP_NORMAL_MODE GIMP_LAYER_MODE_NORMAL_LEGACY
|
2017-01-24 14:25:02 -08:00
|
|
|
#define GIMP_DISSOLVE_MODE GIMP_LAYER_MODE_DISSOLVE
|
2017-02-26 08:20:08 -08:00
|
|
|
#define GIMP_BEHIND_MODE GIMP_LAYER_MODE_BEHIND_LEGACY
|
2017-01-24 14:25:02 -08:00
|
|
|
#define GIMP_MULTIPLY_MODE GIMP_LAYER_MODE_MULTIPLY_LEGACY
|
|
|
|
|
#define GIMP_SCREEN_MODE GIMP_LAYER_MODE_SCREEN_LEGACY
|
|
|
|
|
#define GIMP_OVERLAY_MODE GIMP_LAYER_MODE_OVERLAY_LEGACY
|
|
|
|
|
#define GIMP_DIFFERENCE_MODE GIMP_LAYER_MODE_DIFFERENCE_LEGACY
|
|
|
|
|
#define GIMP_ADDITION_MODE GIMP_LAYER_MODE_ADDITION_LEGACY
|
|
|
|
|
#define GIMP_SUBTRACT_MODE GIMP_LAYER_MODE_SUBTRACT_LEGACY
|
|
|
|
|
#define GIMP_DARKEN_ONLY_MODE GIMP_LAYER_MODE_DARKEN_ONLY_LEGACY
|
|
|
|
|
#define GIMP_LIGHTEN_ONLY_MODE GIMP_LAYER_MODE_LIGHTEN_ONLY_LEGACY
|
|
|
|
|
#define GIMP_HUE_MODE GIMP_LAYER_MODE_HSV_HUE_LEGACY
|
|
|
|
|
#define GIMP_SATURATION_MODE GIMP_LAYER_MODE_HSV_SATURATION_LEGACY
|
2017-03-16 03:17:05 -07:00
|
|
|
#define GIMP_COLOR_MODE GIMP_LAYER_MODE_HSL_COLOR_LEGACY
|
2017-01-24 14:25:02 -08:00
|
|
|
#define GIMP_VALUE_MODE GIMP_LAYER_MODE_HSV_VALUE_LEGACY
|
|
|
|
|
#define GIMP_DIVIDE_MODE GIMP_LAYER_MODE_DIVIDE_LEGACY
|
|
|
|
|
#define GIMP_DODGE_MODE GIMP_LAYER_MODE_DODGE_LEGACY
|
|
|
|
|
#define GIMP_BURN_MODE GIMP_LAYER_MODE_BURN_LEGACY
|
|
|
|
|
#define GIMP_HARDLIGHT_MODE GIMP_LAYER_MODE_HARDLIGHT_LEGACY
|
|
|
|
|
#define GIMP_SOFTLIGHT_MODE GIMP_LAYER_MODE_SOFTLIGHT_LEGACY
|
|
|
|
|
#define GIMP_GRAIN_EXTRACT_MODE GIMP_LAYER_MODE_GRAIN_EXTRACT_LEGACY
|
|
|
|
|
#define GIMP_GRAIN_MERGE_MODE GIMP_LAYER_MODE_GRAIN_MERGE_LEGACY
|
2017-03-08 10:06:46 -08:00
|
|
|
#define GIMP_COLOR_ERASE_MODE GIMP_LAYER_MODE_COLOR_ERASE_LEGACY
|
2017-01-24 14:25:02 -08:00
|
|
|
|
2017-02-26 11:10:54 -08:00
|
|
|
#define GIMP_NO_DITHER GIMP_CONVERT_DITHER_NONE
|
|
|
|
|
#define GIMP_FS_DITHER GIMP_CONVERT_DITHER_FS
|
|
|
|
|
#define GIMP_FSLOWBLEED_DITHER GIMP_CONVERT_DITHER_FS_LOWBLEED
|
|
|
|
|
#define GIMP_FIXED_DITHER GIMP_CONVERT_DITHER_FIXED
|
|
|
|
|
|
2017-01-24 14:25:02 -08:00
|
|
|
#endif /* ! GIMP_DISABLE_DEPRECATED */
|
|
|
|
|
|
2001-11-22 15:46:13 -08:00
|
|
|
G_END_DECLS
|
2000-05-30 23:15:06 -07:00
|
|
|
|
|
|
|
|
#endif /* __GIMP_TYPES_H__ */
|