Blame gegl/gegl-enums.h

Packit bc1512
/* This file is part of GEGL
Packit bc1512
 *
Packit bc1512
 * GEGL is free software; you can redistribute it and/or
Packit bc1512
 * modify it under the terms of the GNU Lesser General Public
Packit bc1512
 * License as published by the Free Software Foundation; either
Packit bc1512
 * version 3 of the License, or (at your option) any later version.
Packit bc1512
 *
Packit bc1512
 * GEGL is distributed in the hope that it will be useful,
Packit bc1512
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit bc1512
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit bc1512
 * Lesser General Public License for more details.
Packit bc1512
 *
Packit bc1512
 * You should have received a copy of the GNU Lesser General Public
Packit bc1512
 * License along with GEGL; if not, see <http://www.gnu.org/licenses/>.
Packit bc1512
 *
Packit bc1512
 * Copyright 2011 Michael Muré <batolettre@gmail.com>
Packit bc1512
 *
Packit bc1512
 */
Packit bc1512
Packit bc1512
/* This file hold public enum from GEGL. A proper registration for them is
Packit bc1512
 * generated automatically with glib-mkenums.
Packit bc1512
 *
Packit bc1512
 * TODO: currently, description are not supported by glib-mkenums, and therefore
Packit bc1512
 * an often ugly name is generated, and i18n is not supported.
Packit bc1512
 * gimp-mkenums support these description, with a custom system to allow i18n,
Packit bc1512
 * so it could be a way to achieve this.
Packit bc1512
 */
Packit bc1512
Packit bc1512
#ifndef __GEGL_ENUMS_H__
Packit bc1512
#define __GEGL_ENUMS_H__
Packit bc1512
Packit bc1512
G_BEGIN_DECLS
Packit bc1512
Packit bc1512
typedef enum {
Packit bc1512
  GEGL_SAMPLER_NEAREST = 0,   /*< desc="nearest"      >*/
Packit bc1512
  GEGL_SAMPLER_LINEAR,        /*< desc="linear"       >*/
Packit bc1512
  GEGL_SAMPLER_CUBIC,         /*< desc="cubic"        >*/
Packit bc1512
  GEGL_SAMPLER_LOHALO         /*< desc="lohalo"       >*/
Packit bc1512
} GeglSamplerType;
Packit bc1512
GType gegl_sampler_type_get_type   (void) G_GNUC_CONST;
Packit bc1512
#define GEGL_TYPE_SAMPLER_TYPE (gegl_sampler_type_get_type())
Packit bc1512
Packit bc1512
typedef enum {
Packit bc1512
  GEGL_ABYSS_NONE
Packit bc1512
} GeglAbyssPolicy;
Packit bc1512
GType gegl_abyss_policy_get_type   (void) G_GNUC_CONST;
Packit bc1512
#define GEGL_ABYSS_POLICY_TYPE (gegl_abyss_policy_get_type())
Packit bc1512
Packit bc1512
/*
Packit bc1512
 * Operation specific enum
Packit bc1512
 */
Packit bc1512
Packit bc1512
typedef enum {
Packit bc1512
  GEGl_RIPPLE_WAVE_TYPE_SINE,
Packit bc1512
  GEGl_RIPPLE_WAVE_TYPE_SAWTOOTH
Packit bc1512
} GeglRippleWaveType;
Packit bc1512
GType gegl_ripple_wave_type_get_type   (void) G_GNUC_CONST;
Packit bc1512
#define GEGL_RIPPLE_WAVE_TYPE (gegl_ripple_wave_type_get_type())
Packit bc1512
Packit bc1512
typedef enum
Packit bc1512
{
Packit bc1512
  GEGL_WARP_BEHAVIOR_MOVE,      /*< desc="Move pixels"              >*/
Packit bc1512
  GEGL_WARP_BEHAVIOR_GROW,      /*< desc="Grow area"                >*/
Packit bc1512
  GEGL_WARP_BEHAVIOR_SHRINK,    /*< desc="Shrink area"              >*/
Packit bc1512
  GEGL_WARP_BEHAVIOR_SWIRL_CW,  /*< desc="Swirl clockwise"          >*/
Packit bc1512
  GEGL_WARP_BEHAVIOR_SWIRL_CCW, /*< desc="Swirl counter-clockwise"  >*/
Packit bc1512
  GEGL_WARP_BEHAVIOR_ERASE,     /*< desc="Erase warping"            >*/
Packit bc1512
  GEGL_WARP_BEHAVIOR_SMOOTH     /*< desc="Smooth warping"           >*/
Packit bc1512
} GeglWarpBehavior;
Packit bc1512
GType gegl_warp_behavior_get_type (void) G_GNUC_CONST;
Packit bc1512
#define GEGL_TYPE_WARP_BEHAVIOR (gegl_warp_behavior_get_type ())
Packit bc1512
Packit bc1512
G_END_DECLS
Packit bc1512
Packit bc1512
#endif /* __GEGL_ENUMS_H__ */