app: move GimpOperationPointLayerMode to layer-modes/

This commit is contained in:
Michael Natterer 2017-01-11 14:43:12 +01:00
parent e17f640fba
commit b959e0b69b
53 changed files with 163 additions and 131 deletions

View File

@ -95,7 +95,5 @@ libappoperations_a_SOURCES = \
gimpoperationthreshold.c \
gimpoperationthreshold.h \
\
gimpoperationpointlayermode.c \
gimpoperationpointlayermode.h \
gimplayermodefunctions.c \
gimplayermodefunctions.h

View File

@ -65,7 +65,6 @@
#include "gimphuesaturationconfig.h"
#include "gimplevelsconfig.h"
#include "gimpoperationpointlayermode.h"
#include "layer-modes/gimpoperationnormal.h"
#include "layer-modes/gimpoperationdissolve.h"
#include "layer-modes/gimpoperationbehind.h"
@ -147,7 +146,6 @@ gimp_operations_init (void)
g_type_class_ref (GIMP_TYPE_OPERATION_POSTERIZE);
g_type_class_ref (GIMP_TYPE_OPERATION_THRESHOLD);
g_type_class_ref (GIMP_TYPE_OPERATION_POINT_LAYER_MODE);
g_type_class_ref (GIMP_TYPE_OPERATION_NORMAL);
g_type_class_ref (GIMP_TYPE_OPERATION_DISSOLVE);
g_type_class_ref (GIMP_TYPE_OPERATION_BEHIND);

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationadditionmode.h
* gimpoperationadditionlegacy.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
@ -22,7 +22,7 @@
#define __GIMP_OPERATION_ADDITION_LEGACY_H__
#include "../gimpoperationpointlayermode.h"
#include "operations/layer-modes/gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_ADDITION_LEGACY (gimp_operation_addition_legacy_get_type ())
@ -47,7 +47,7 @@ struct _GimpOperationAdditionLegacyClass
};
GType gimp_operation_addition_legacy_get_type (void) G_GNUC_CONST;
GType gimp_operation_addition_legacy_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_addition_legacy_process_pixels (gfloat *in,
gfloat *layer,
@ -58,4 +58,5 @@ gboolean gimp_operation_addition_legacy_process_pixels (gfloat *in,
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_ADDITION_LEGACY_H__ */

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationburnmode.h
* gimpoperationburnlegacy.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
@ -22,7 +22,7 @@
#define __GIMP_OPERATION_BURN_LEGACY_H__
#include "../gimpoperationpointlayermode.h"
#include "operations/layer-modes/gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_BURN_LEGACY (gimp_operation_burn_legacy_get_type ())
@ -47,7 +47,7 @@ struct _GimpOperationBurnLegacyClass
};
GType gimp_operation_burn_legacy_get_type (void) G_GNUC_CONST;
GType gimp_operation_burn_legacy_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_burn_legacy_process_pixels (gfloat *in,
gfloat *layer,
@ -58,4 +58,5 @@ gboolean gimp_operation_burn_legacy_process_pixels (gfloat *in,
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_BURN_LEGACY_H__ */

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationdarken_onlymode.h
* gimpoperationdarkenonlylegacy.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
@ -22,7 +22,7 @@
#define __GIMP_OPERATION_DARKEN_ONLY_LEGACY_H__
#include "../gimpoperationpointlayermode.h"
#include "operations/layer-modes/gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_DARKEN_ONLY_LEGACY (gimp_operation_darken_only_legacy_get_type ())
@ -47,7 +47,7 @@ struct _GimpOperationDarkenOnlyLegacyClass
};
GType gimp_operation_darken_only_legacy_get_type (void) G_GNUC_CONST;
GType gimp_operation_darken_only_legacy_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_darken_only_legacy_process_pixels (gfloat *in,
gfloat *layer,
@ -58,4 +58,5 @@ gboolean gimp_operation_darken_only_legacy_process_pixels (gfloat *
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_DARKEN_ONLY_LEGACY_H__ */

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationdifferencemode.h
* gimpoperationdifferencelegacy.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
@ -22,7 +22,7 @@
#define __GIMP_OPERATION_DIFFERENCE_LEGACY_H__
#include "../gimpoperationpointlayermode.h"
#include "operations/layer-modes/gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_DIFFERENCE_LEGACY (gimp_operation_difference_legacy_get_type ())
@ -47,8 +47,7 @@ struct _GimpOperationDifferenceLegacyClass
};
GType gimp_operation_difference_legacy_get_type (void) G_GNUC_CONST;
GType gimp_operation_difference_legacy_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_difference_legacy_process_pixels (gfloat *in,
gfloat *layer,
@ -59,4 +58,5 @@ gboolean gimp_operation_difference_legacy_process_pixels (gfloat *i
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_DIFFERENCE_LEGACY_H__ */

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationdividemode.h
* gimpoperationdividelegacy.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
@ -22,7 +22,7 @@
#define __GIMP_OPERATION_DIVIDE_LEGACY_H__
#include "../gimpoperationpointlayermode.h"
#include "operations/layer-modes/gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_DIVIDE_LEGACY (gimp_operation_divide_legacy_get_type ())
@ -47,7 +47,7 @@ struct _GimpOperationDivideLegacyClass
};
GType gimp_operation_divide_legacy_get_type (void) G_GNUC_CONST;
GType gimp_operation_divide_legacy_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_divide_legacy_process_pixels (gfloat *in,
gfloat *layer,
@ -58,4 +58,5 @@ gboolean gimp_operation_divide_legacy_process_pixels (gfloat *in,
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_DIVIDE_LEGACY_H__ */

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationdodgemode.h
* gimpoperationdodgelegacy.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
@ -22,7 +22,7 @@
#define __GIMP_OPERATION_DODGE_LEGACY_H__
#include "operations/gimpoperationpointlayermode.h"
#include "operations/layer-modes/gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_DODGE_LEGACY (gimp_operation_dodge_legacy_get_type ())

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationgrain_extractmode.h
* gimpoperationgrainextractlegacy.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
@ -22,7 +22,7 @@
#define __GIMP_OPERATION_GRAIN_EXTRACT_LEGACY_H__
#include "../gimpoperationpointlayermode.h"
#include "operations/layer-modes/gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_GRAIN_EXTRACT_LEGACY (gimp_operation_grain_extract_legacy_get_type ())
@ -47,7 +47,7 @@ struct _GimpOperationGrainExtractLegacyClass
};
GType gimp_operation_grain_extract_legacy_get_type (void) G_GNUC_CONST;
GType gimp_operation_grain_extract_legacy_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_grain_extract_legacy_process_pixels (gfloat *in,
gfloat *layer,
@ -58,4 +58,5 @@ gboolean gimp_operation_grain_extract_legacy_process_pixels (gfloat
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_GRAIN_EXTRACT_LEGACY_H__ */

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationgrain_mergemode.h
* gimpoperationgrainmergelegacy.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
@ -22,7 +22,7 @@
#define __GIMP_OPERATION_GRAIN_MERGE_LEGACY_H__
#include "../gimpoperationpointlayermode.h"
#include "operations/layer-modes/gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_GRAIN_MERGE_LEGACY (gimp_operation_grain_merge_legacy_get_type ())
@ -47,7 +47,7 @@ struct _GimpOperationGrainMergeLegacyClass
};
GType gimp_operation_grain_merge_legacy_get_type (void) G_GNUC_CONST;
GType gimp_operation_grain_merge_legacy_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_grain_merge_legacy_process_pixels (gfloat *in,
gfloat *layer,
@ -58,4 +58,5 @@ gboolean gimp_operation_grain_merge_legacy_process_pixels (gfloat *
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_GRAIN_MERGE_LEGACY_H__ */

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationhardlightmode.h
* gimpoperationhardlightlegacy.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
@ -22,7 +22,7 @@
#define __GIMP_OPERATION_HARDLIGHT_LEGACY_H__
#include "../gimpoperationpointlayermode.h"
#include "operations/layer-modes/gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_HARDLIGHT_LEGACY (gimp_operation_hardlight_legacy_get_type ())
@ -47,7 +47,7 @@ struct _GimpOperationHardlightLegacyClass
};
GType gimp_operation_hardlight_legacy_get_type (void) G_GNUC_CONST;
GType gimp_operation_hardlight_legacy_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_hardlight_legacy_process_pixels (gfloat *in,
gfloat *layer,
@ -58,4 +58,5 @@ gboolean gimp_operation_hardlight_legacy_process_pixels (gfloat *in
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_HARDLIGHT_LEGACY_H__ */

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationcolormode.h
* gimpoperationhsvcolorlegacy.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
@ -22,7 +22,7 @@
#define __GIMP_OPERATION_HSV_COLOR_LEGACY_H__
#include "../gimpoperationpointlayermode.h"
#include "operations/layer-modes/gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_HSV_COLOR_LEGACY (gimp_operation_hsv_color_legacy_get_type ())
@ -47,7 +47,7 @@ struct _GimpOperationHsvColorLegacyClass
};
GType gimp_operation_hsv_color_legacy_get_type (void) G_GNUC_CONST;
GType gimp_operation_hsv_color_legacy_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_hsv_color_legacy_process_pixels (gfloat *in,
gfloat *layer,
@ -58,4 +58,5 @@ gboolean gimp_operation_hsv_color_legacy_process_pixels (gfloat *in
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_HSV_COLOR_LEGACY_H__ */

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationhuemode.h
* gimpoperationhsvhuelegacy.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
@ -22,7 +22,7 @@
#define __GIMP_OPERATION_HSV_HUE_LEGACY_H__
#include "../gimpoperationpointlayermode.h"
#include "operations/layer-modes/gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_HSV_HUE_LEGACY (gimp_operation_hsv_hue_legacy_get_type ())
@ -47,7 +47,7 @@ struct _GimpOperationHsvHueLegacyClass
};
GType gimp_operation_hsv_hue_legacy_get_type (void) G_GNUC_CONST;
GType gimp_operation_hsv_hue_legacy_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_hsv_hue_legacy_process_pixels (gfloat *in,
gfloat *layer,
@ -58,4 +58,5 @@ gboolean gimp_operation_hsv_hue_legacy_process_pixels (gfloat *in,
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_HSV_HUE_LEGACY_H__ */

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationsaturationmode.h
* gimpoperationhsvsaturationlegacy.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
@ -22,7 +22,7 @@
#define __GIMP_OPERATION_HSV_SATURATION_LEGACY_H__
#include "../gimpoperationpointlayermode.h"
#include "operations/layer-modes/gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_HSV_SATURATION_LEGACY (gimp_operation_hsv_saturation_legacy_get_type ())
@ -47,7 +47,7 @@ struct _GimpOperationHsvSaturationLegacyClass
};
GType gimp_operation_hsv_saturation_legacy_get_type (void) G_GNUC_CONST;
GType gimp_operation_hsv_saturation_legacy_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_hsv_saturation_legacy_process_pixels (gfloat *in,
gfloat *layer,
@ -58,4 +58,5 @@ gboolean gimp_operation_hsv_saturation_legacy_process_pixels (gfloat
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_HSV_SATURATION_LEGACY_H__ */

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationvaluemode.h
* gimpoperationhsvvaluelegacy.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
@ -22,7 +22,7 @@
#define __GIMP_OPERATION_HSV_VALUE_LEGACY_H__
#include "../gimpoperationpointlayermode.h"
#include "operations/layer-modes/gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_HSV_VALUE_LEGACY (gimp_operation_hsv_value_legacy_get_type ())
@ -47,7 +47,7 @@ struct _GimpOperationHsvValueLegacyClass
};
GType gimp_operation_hsv_value_legacy_get_type (void) G_GNUC_CONST;
GType gimp_operation_hsv_value_legacy_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_hsv_value_legacy_process_pixels (gfloat *in,
gfloat *layer,
@ -58,4 +58,5 @@ gboolean gimp_operation_hsv_value_legacy_process_pixels (gfloat *in
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_HSV_VALUE_LEGACY_H__ */

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationlighten_onlymode.h
* gimpoperationlightenonlylegacy.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
@ -22,7 +22,7 @@
#define __GIMP_OPERATION_LIGHTEN_ONLY_LEGACY_H__
#include "../gimpoperationpointlayermode.h"
#include "operations/layer-modes/gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_LIGHTEN_ONLY_LEGACY (gimp_operation_lighten_only_legacy_get_type ())
@ -47,7 +47,7 @@ struct _GimpOperationLightenOnlyLegacyClass
};
GType gimp_operation_lighten_only_legacy_get_type (void) G_GNUC_CONST;
GType gimp_operation_lighten_only_legacy_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_lighten_only_legacy_process_pixels (gfloat *in,
gfloat *layer,
@ -58,4 +58,5 @@ gboolean gimp_operation_lighten_only_legacy_process_pixels (gfloat
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_LIGHTEN_ONLY_LEGACY_H__ */

View File

@ -22,7 +22,7 @@
#define __GIMP_OPERATION_MULTIPLY_LEGACY_H__
#include "operations/gimpoperationpointlayermode.h"
#include "operations/layer-modes/gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_MULTIPLY_LEGACY (gimp_operation_multiply_legacy_get_type ())

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationscreenmode.h
* gimpoperationscreenlegacy.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
@ -22,7 +22,7 @@
#define __GIMP_OPERATION_SCREEN_LEGACY_H__
#include "../gimpoperationpointlayermode.h"
#include "operations/layer-modes/gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_SCREEN_LEGACY (gimp_operation_screen_legacy_get_type ())
@ -47,7 +47,7 @@ struct _GimpOperationScreenLegacyClass
};
GType gimp_operation_screen_legacy_get_type (void) G_GNUC_CONST;
GType gimp_operation_screen_legacy_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_screen_legacy_process_pixels (gfloat *in,
gfloat *layer,

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationsoftlightmode.h
* gimpoperationsoftlightlegacy.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
@ -22,7 +22,7 @@
#define __GIMP_OPERATION_SOFTLIGHT_LEGACY_H__
#include "../gimpoperationpointlayermode.h"
#include "operations/layer-modes/gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_SOFTLIGHT_LEGACY (gimp_operation_softlight_legacy_get_type ())
@ -47,7 +47,7 @@ struct _GimpOperationSoftlightLegacyClass
};
GType gimp_operation_softlight_legacy_get_type (void) G_GNUC_CONST;
GType gimp_operation_softlight_legacy_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_softlight_legacy_process_pixels (gfloat *in,
gfloat *layer,
@ -58,4 +58,5 @@ gboolean gimp_operation_softlight_legacy_process_pixels (gfloat *in
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_SOFTLIGHT_LEGACY_H__ */

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationsubtractmode.h
* gimpoperationsubtractlegacy.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
@ -22,7 +22,7 @@
#define __GIMP_OPERATION_SUBTRACT_LEGACY_H__
#include "../gimpoperationpointlayermode.h"
#include "operations/layer-modes/gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_SUBTRACT_LEGACY (gimp_operation_subtract_legacy_get_type ())
@ -47,7 +47,7 @@ struct _GimpOperationSubtractLegacyClass
};
GType gimp_operation_subtract_legacy_get_type (void) G_GNUC_CONST;
GType gimp_operation_subtract_legacy_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_subtract_legacy_process_pixels (gfloat *in,
gfloat *layer,
@ -58,4 +58,5 @@ gboolean gimp_operation_subtract_legacy_process_pixels (gfloat *in,
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_SUBTRACT_LEGACY_H__ */

View File

@ -18,6 +18,9 @@ noinst_LIBRARIES = \
libapplayermodes.a
libapplayermodes_generic_a_sources = \
gimpoperationpointlayermode.c \
gimpoperationpointlayermode.h \
\
gimpoperationaddition.c \
gimpoperationaddition.h \
gimpoperationantierase.c \

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationadditionmode.h
* gimpoperationaddition.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
* 2017 Øyvind Kolås <pippin@gimp.org>
*
@ -23,7 +23,7 @@
#define __GIMP_OPERATION_ADDITION_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_ADDITION (gimp_operation_addition_get_type ())
@ -48,7 +48,7 @@ struct _GimpOperationAdditionClass
};
GType gimp_operation_addition_get_type (void) G_GNUC_CONST;
GType gimp_operation_addition_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_addition_process_pixels (gfloat *in,
gfloat *layer,
@ -59,4 +59,5 @@ gboolean gimp_operation_addition_process_pixels (gfloat *in,
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_ADDITION_H__ */

View File

@ -22,7 +22,7 @@
#define __GIMP_OPERATION_ANTI_ERASE_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_ANTI_ERASE (gimp_operation_anti_erase_get_type ())

View File

@ -22,7 +22,7 @@
#define __GIMP_OPERATION_BEHIND_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_BEHIND (gimp_operation_behind_get_type ())

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationburnmode.h
* gimpoperationburn.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
* 2017 Øyvind Kolås <pippin@gimp.org>
*
@ -23,7 +23,7 @@
#define __GIMP_OPERATION_BURN_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_BURN (gimp_operation_burn_get_type ())
@ -48,7 +48,7 @@ struct _GimpOperationBurnClass
};
GType gimp_operation_burn_get_type (void) G_GNUC_CONST;
GType gimp_operation_burn_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_burn_process_pixels (gfloat *in,
gfloat *layer,
@ -59,4 +59,5 @@ gboolean gimp_operation_burn_process_pixels (gfloat *in,
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_BURN_H__ */

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationcolor_erase.h
* gimpoperationcolorerase.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
@ -22,7 +22,7 @@
#define __GIMP_OPERATION_COLOR_ERASE_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_COLOR_ERASE (gimp_operation_color_erase_get_type ())

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationdarken_onlymode.h
* gimpoperationdarkenonly.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
* 2017 Øyvind Kolås <pippin@gimp.org>
*
@ -23,7 +23,7 @@
#define __GIMP_OPERATION_DARKEN_ONLY_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_DARKEN_ONLY (gimp_operation_darken_only_get_type ())
@ -48,7 +48,7 @@ struct _GimpOperationDarkenOnlyClass
};
GType gimp_operation_darken_only_get_type (void) G_GNUC_CONST;
GType gimp_operation_darken_only_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_darken_only_process_pixels (gfloat *in,
gfloat *layer,
@ -59,4 +59,5 @@ gboolean gimp_operation_darken_only_process_pixels (gfloat *in,
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_DARKEN_ONLY_H__ */

View File

@ -23,7 +23,7 @@
#define __GIMP_OPERATION_DIFFERENCE_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_DIFFERENCE (gimp_operation_difference_get_type ())
@ -48,16 +48,17 @@ struct _GimpOperationDifferenceClass
};
GType gimp_operation_difference_get_type (void) G_GNUC_CONST;
GType gimp_operation_difference_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_difference_process_pixels (gfloat *in,
gfloat *layer,
gfloat *mask,
gfloat *out,
gfloat opacity,
glong samples,
const GeglRectangle *roi,
gint level);
gfloat *layer,
gfloat *mask,
gfloat *out,
gfloat opacity,
glong samples,
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_DIFFERENCE_H__ */

View File

@ -22,7 +22,7 @@
#define __GIMP_OPERATION_DISSOLVE_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_DISSOLVE (gimp_operation_dissolve_get_type ())

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationdividemode.h
* gimpoperationdivide.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
* 2017 Øyvind Kolås <pippin@gimp.org>
*
@ -23,7 +23,7 @@
#define __GIMP_OPERATION_DIVIDE_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_DIVIDE (gimp_operation_divide_get_type ())
@ -48,7 +48,7 @@ struct _GimpOperationDivideClass
};
GType gimp_operation_divide_get_type (void) G_GNUC_CONST;
GType gimp_operation_divide_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_divide_process_pixels (gfloat *in,
gfloat *layer,
@ -59,4 +59,5 @@ gboolean gimp_operation_divide_process_pixels (gfloat *in,
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_DIVIDE_H__ */

View File

@ -23,7 +23,7 @@
#define __GIMP_OPERATION_DODGE_H__
#include "operations/gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_DODGE (gimp_operation_dodge_get_type ())

View File

@ -22,7 +22,7 @@
#define __GIMP_OPERATION_ERASE_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_ERASE (gimp_operation_erase_get_type ())

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationgrain_extractmode.h
* gimpoperationgrainextract.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
* 2017 Øyvind Kolås <pippin@gimp.org>
*
@ -23,7 +23,7 @@
#define __GIMP_OPERATION_GRAIN_EXTRACT_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_GRAIN_EXTRACT (gimp_operation_grain_extract_get_type ())
@ -48,7 +48,7 @@ struct _GimpOperationGrainExtractClass
};
GType gimp_operation_grain_extract_get_type (void) G_GNUC_CONST;
GType gimp_operation_grain_extract_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_grain_extract_process_pixels (gfloat *in,
gfloat *layer,
@ -59,4 +59,5 @@ gboolean gimp_operation_grain_extract_process_pixels (gfloat *in,
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_GRAIN_EXTRACT_H__ */

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationgrain_mergemode.h
* gimpoperationgrainmerge.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
* 2017 Øyvind Kolås <pippin@gimp.org>
*
@ -23,7 +23,7 @@
#define __GIMP_OPERATION_GRAIN_MERGE_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_GRAIN_MERGE (gimp_operation_grain_merge_get_type ())
@ -48,7 +48,7 @@ struct _GimpOperationGrainMergeClass
};
GType gimp_operation_grain_merge_get_type (void) G_GNUC_CONST;
GType gimp_operation_grain_merge_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_grain_merge_process_pixels (gfloat *in,
gfloat *layer,
@ -59,4 +59,5 @@ gboolean gimp_operation_grain_merge_process_pixels (gfloat *in,
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_GRAIN_MERGE_H__ */

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationhardlightmode.h
* gimpoperationhardlight.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
@ -22,7 +22,7 @@
#define __GIMP_OPERATION_HARDLIGHT_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_HARDLIGHT (gimp_operation_hardlight_get_type ())
@ -47,7 +47,7 @@ struct _GimpOperationHardlightClass
};
GType gimp_operation_hardlight_get_type (void) G_GNUC_CONST;
GType gimp_operation_hardlight_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_hardlight_process_pixels (gfloat *in,
gfloat *layer,
@ -58,4 +58,5 @@ gboolean gimp_operation_hardlight_process_pixels (gfloat *in,
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_HARDLIGHT_H__ */

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationcolormode.h
* gimpoperationhsvcolor.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
* 2017 Øyvind Kolås <pippin@gimp.org>
*
@ -23,7 +23,7 @@
#define __GIMP_OPERATION_HSV_COLOR_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_HSV_COLOR (gimp_operation_hsv_color_get_type ())
@ -48,7 +48,7 @@ struct _GimpOperationHsvColorClass
};
GType gimp_operation_hsv_color_get_type (void) G_GNUC_CONST;
GType gimp_operation_hsv_color_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_hsv_color_process_pixels (gfloat *in,
gfloat *layer,
@ -59,4 +59,5 @@ gboolean gimp_operation_hsv_color_process_pixels (gfloat *in,
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_HSV_COLOR_H__ */

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationhuemode.h
* gimpoperationhsvhue.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
* 2017 Øyvind Kolås <pippin@gimp.org>
*
@ -19,11 +19,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GIMP_OPERATION_HUE_H__
#define __GIMP_OPERATION_HUE_H__
#ifndef __GIMP_OPERATION_HSV_HUE_H__
#define __GIMP_OPERATION_HSV_HUE_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_HSV_HUE (gimp_operation_hsv_hue_get_type ())
@ -48,7 +48,7 @@ struct _GimpOperationHsvHueClass
};
GType gimp_operation_hsv_hue_get_type (void) G_GNUC_CONST;
GType gimp_operation_hsv_hue_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_hsv_hue_process_pixels (gfloat *in,
gfloat *layer,
@ -59,4 +59,5 @@ gboolean gimp_operation_hsv_hue_process_pixels (gfloat *in,
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_HUE_H__ */
#endif /* __GIMP_OPERATION_HSV_HUE_H__ */

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationsaturationmode.h
* gimpoperationhsvsaturation.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
* 2017 Øyvind Kolås <pippin@gimp.org>
*
@ -23,7 +23,7 @@
#define __GIMP_OPERATION_HSV_SATURATION_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_HSV_SATURATION (gimp_operation_hsv_saturation_get_type ())
@ -48,7 +48,7 @@ struct _GimpOperationHsvSaturationClass
};
GType gimp_operation_hsv_saturation_get_type (void) G_GNUC_CONST;
GType gimp_operation_hsv_saturation_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_hsv_saturation_process_pixels (gfloat *in,
gfloat *layer,
@ -59,4 +59,5 @@ gboolean gimp_operation_hsv_saturation_process_pixels (gfloat *in,
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_HSV_SATURATION_H__ */

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationvaluemode.h
* gimpoperationhsvvalue.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
* 2017 Øyvind Kolås <pippin@gimp.org>
*
@ -23,7 +23,7 @@
#define __GIMP_OPERATION_HSV_VALUE_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_HSV_VALUE (gimp_operation_hsv_value_get_type ())
@ -48,7 +48,7 @@ struct _GimpOperationHsvValueClass
};
GType gimp_operation_hsv_value_get_type (void) G_GNUC_CONST;
GType gimp_operation_hsv_value_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_hsv_value_process_pixels (gfloat *in,
gfloat *layer,
@ -59,4 +59,5 @@ gboolean gimp_operation_hsv_value_process_pixels (gfloat *in,
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_HSV_VALUE_H__ */

View File

@ -24,7 +24,7 @@
#define __GIMP_OPERATION_LCH_CHROMA_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_LCH_CHROMA (gimp_operation_lch_chroma_get_type ())

View File

@ -24,7 +24,7 @@
#define __GIMP_OPERATION_LCH_COLOR_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_LCH_COLOR (gimp_operation_lch_color_get_type ())

View File

@ -24,7 +24,7 @@
#define __GIMP_OPERATION_LCH_HUE_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_LCH_HUE (gimp_operation_lch_hue_get_type ())
@ -69,4 +69,5 @@ gboolean gimp_operation_lch_hue_process_pixels (gfloat *in,
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_LCH_HUE_H__ */

View File

@ -24,7 +24,7 @@
#define __GIMP_OPERATION_LCH_LIGHTNESS_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_LCH_LIGHTNESS (gimp_operation_lch_lightness_get_type ())

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationlighten_onlymode.h
* gimpoperationlightenonly.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
* 2017 Øyvind Kolås <pippin@gimp.org>
*
@ -23,7 +23,7 @@
#define __GIMP_OPERATION_LIGHTEN_ONLY_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_LIGHTEN_ONLY (gimp_operation_lighten_only_get_type ())
@ -48,7 +48,7 @@ struct _GimpOperationLightenOnlyClass
};
GType gimp_operation_lighten_only_get_type (void) G_GNUC_CONST;
GType gimp_operation_lighten_only_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_lighten_only_process_pixels (gfloat *in,
gfloat *layer,
@ -59,4 +59,5 @@ gboolean gimp_operation_lighten_only_process_pixels (gfloat *in,
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_LIGHTEN_ONLY_H__ */

View File

@ -23,7 +23,7 @@
#define __GIMP_OPERATION_MULTIPLY_H__
#include "operations/gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_MULTIPLY (gimp_operation_multiply_get_type ())

View File

@ -22,7 +22,7 @@
#define __GIMP_OPERATION_NORMAL_H__
#include "operations/gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_NORMAL (gimp_operation_normal_get_type ())
@ -47,7 +47,7 @@ struct _GimpOperationNormalClass
};
GType gimp_operation_normal_get_type (void) G_GNUC_CONST;
GType gimp_operation_normal_get_type (void) G_GNUC_CONST;
extern GimpLayerModeFunction gimp_operation_normal_process_pixels;
@ -78,4 +78,5 @@ gboolean gimp_operation_normal_process_pixels_sse4 (gfloat *in,
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_NORMAL_H__ */

View File

@ -22,7 +22,7 @@
#define __GIMP_OPERATION_OVERLAY_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_OVERLAY (gimp_operation_overlay_get_type ())

View File

@ -27,7 +27,7 @@
#include "libgimpcolor/gimpcolor.h"
#include "operations-types.h"
#include "../operations-types.h"
#include "gimpoperationpointlayermode.h"

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationlayermode.h
* gimpoperationpointlayermode.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
@ -21,8 +21,10 @@
#ifndef __GIMP_OPERATION_POINT_LAYER_MODE_H__
#define __GIMP_OPERATION_POINT_LAYER_MODE_H__
#include <gegl-plugin.h>
#define GIMP_TYPE_OPERATION_POINT_LAYER_MODE (gimp_operation_point_layer_mode_get_type ())
#define GIMP_OPERATION_POINT_LAYER_MODE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_OPERATION_POINT_LAYER_MODE, GimpOperationPointLayerMode))
#define GIMP_OPERATION_POINT_LAYER_MODE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GIMP_TYPE_OPERATION_POINT_LAYER_MODE, GimpOperationPointLayerModeClass))

View File

@ -22,7 +22,7 @@
#define __GIMP_OPERATION_REPLACE_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_REPLACE (gimp_operation_replace_get_type ())

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationscreenmode.h
* gimpoperationscreen.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
@ -22,7 +22,7 @@
#define __GIMP_OPERATION_SCREEN_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_SCREEN (gimp_operation_screen_get_type ())
@ -47,7 +47,7 @@ struct _GimpOperationScreenClass
};
GType gimp_operation_screen_get_type (void) G_GNUC_CONST;
GType gimp_operation_screen_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_screen_process_pixels (gfloat *in,
gfloat *layer,

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationsoftlightmode.h
* gimpoperationsoftlight.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
*
* This program is free software: you can redistribute it and/or modify
@ -22,7 +22,7 @@
#define __GIMP_OPERATION_SOFTLIGHT_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_SOFTLIGHT (gimp_operation_softlight_get_type ())
@ -47,7 +47,7 @@ struct _GimpOperationSoftlightClass
};
GType gimp_operation_softlight_get_type (void) G_GNUC_CONST;
GType gimp_operation_softlight_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_softlight_process_pixels (gfloat *in,
gfloat *layer,
@ -58,4 +58,5 @@ gboolean gimp_operation_softlight_process_pixels (gfloat *in,
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_SOFTLIGHT_H__ */

View File

@ -1,7 +1,7 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpoperationsubtractmode.h
* gimpoperationsubtract.h
* Copyright (C) 2008 Michael Natterer <mitch@gimp.org>
* 2017 Øyvind Kolås <pippin@gimp.org>
*
@ -23,7 +23,7 @@
#define __GIMP_OPERATION_SUBTRACT_H__
#include "../gimpoperationpointlayermode.h"
#include "gimpoperationpointlayermode.h"
#define GIMP_TYPE_OPERATION_SUBTRACT (gimp_operation_subtract_get_type ())
@ -48,7 +48,7 @@ struct _GimpOperationSubtractClass
};
GType gimp_operation_subtract_get_type (void) G_GNUC_CONST;
GType gimp_operation_subtract_get_type (void) G_GNUC_CONST;
gboolean gimp_operation_subtract_process_pixels (gfloat *in,
gfloat *layer,
@ -59,4 +59,5 @@ gboolean gimp_operation_subtract_process_pixels (gfloat *in,
const GeglRectangle *roi,
gint level);
#endif /* __GIMP_OPERATION_SUBTRACT_H__ */