/usr/include/gegl-0.3/gegl-enums.h is in libgegl-dev 0.3.30-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | /* This file is part of GEGL
*
* GEGL is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* GEGL 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with GEGL; if not, see <http://www.gnu.org/licenses/>.
*
* Copyright 2011 Michael Muré <batolettre@gmail.com>
*
*/
/* This file holds public enums from GEGL
*
* !!!!!!!!!!!! NOTE !!!!!!!!!!!!!!
*
* Normally, gegl-enums.c file would be be generated my glib-mkenums,
* but we use the enum values' registered names for translatable,
* human readable labels for the GUI, so gegl-enums.c is maintained
* manually.
*
* DON'T FORGET TO UPDATE gegl-enums.c AFTER CHANGING THIS HEADER
*
* !!!!!!!!!!!! NOTE !!!!!!!!!!!!!!
*/
#ifndef __GEGL_ENUMS_H__
#define __GEGL_ENUMS_H__
G_BEGIN_DECLS
typedef enum {
/* this enum should be renamed GeglBufferFlags, since it contains
* multiple flags - and possibly more in the future
*/
/* XXX: API tidying of the following would be to make them be
* GEGL_BUFFER_EDGE_NONE or GEGL_BUFFER_REPEAT_NONE instead.
*/
GEGL_ABYSS_NONE = 0,
GEGL_ABYSS_CLAMP = 1,
GEGL_ABYSS_LOOP = 2,
GEGL_ABYSS_BLACK = 3,
GEGL_ABYSS_WHITE = 4,
GEGL_BUFFER_FILTER_AUTO = 0,
/* auto gives bilinear for scales <1.0 box for <2.0 and nearest above */
GEGL_BUFFER_FILTER_BILINEAR = 16,
GEGL_BUFFER_FILTER_NEAREST = 32,
GEGL_BUFFER_FILTER_BOX = 48,
GEGL_BUFFER_FILTER_ALL = (GEGL_BUFFER_FILTER_BILINEAR|
GEGL_BUFFER_FILTER_NEAREST|
GEGL_BUFFER_FILTER_BOX),
} GeglAbyssPolicy;
GType gegl_abyss_policy_get_type (void) G_GNUC_CONST;
#define GEGL_TYPE_ABYSS_POLICY (gegl_abyss_policy_get_type ())
typedef enum {
GEGL_ACCESS_READ = 1 << 0,
GEGL_ACCESS_WRITE = 1 << 1,
GEGL_ACCESS_READWRITE = (GEGL_ACCESS_READ | GEGL_ACCESS_WRITE)
} GeglAccessMode;
GType gegl_access_mode_get_type (void) G_GNUC_CONST;
#define GEGL_TYPE_ACCESS_MODE (gegl_access_mode_get_type ())
typedef enum {
GEGL_DITHER_NONE,
GEGL_DITHER_FLOYD_STEINBERG,
GEGL_DITHER_BAYER,
GEGL_DITHER_RANDOM,
GEGL_DITHER_RANDOM_COVARIANT,
GEGL_DITHER_ARITHMETIC_ADD,
GEGL_DITHER_ARITHMETIC_ADD_COVARIANT,
GEGL_DITHER_ARITHMETIC_XOR,
GEGL_DITHER_ARITHMETIC_XOR_COVARIANT,
} GeglDitherMethod;
GType gegl_dither_method_get_type (void) G_GNUC_CONST;
#define GEGL_TYPE_DITHER_METHOD (gegl_dither_method_get_type ())
typedef enum {
GEGL_DISTANCE_METRIC_EUCLIDEAN,
GEGL_DISTANCE_METRIC_MANHATTAN,
GEGL_DISTANCE_METRIC_CHEBYSHEV
} GeglDistanceMetric;
GType gegl_distance_metric_get_type (void) G_GNUC_CONST;
#define GEGL_TYPE_DISTANCE_METRIC (gegl_distance_metric_get_type ())
typedef enum {
GEGL_ORIENTATION_HORIZONTAL,
GEGL_ORIENTATION_VERTICAL
} GeglOrientation;
GType gegl_orientation_get_type (void) G_GNUC_CONST;
#define GEGL_TYPE_ORIENTATION (gegl_orientation_get_type ())
typedef enum {
GEGL_SAMPLER_NEAREST,
GEGL_SAMPLER_LINEAR,
GEGL_SAMPLER_CUBIC,
GEGL_SAMPLER_NOHALO,
GEGL_SAMPLER_LOHALO
} GeglSamplerType;
GType gegl_sampler_type_get_type (void) G_GNUC_CONST;
#define GEGL_TYPE_SAMPLER_TYPE (gegl_sampler_type_get_type ())
G_END_DECLS
#endif /* __GEGL_ENUMS_H__ */
|