Debian Codegraph @

fon/Vector_enums.h

raw
1 /* Vector_enums.h
2 *
3 * Copyright (C) 2020 Paul Boersma
4 *
5 * This code is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or (at
8 * your option) any later version.
9 *
10 * This code is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this work. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 enums_begin (kVector_valueInterpolation, 0)
20 enums_add (kVector_valueInterpolation, 0, NEAREST, U"nearest")
21 enums_add (kVector_valueInterpolation, 1, LINEAR, U"linear")
22 enums_add (kVector_valueInterpolation, 2, CUBIC, U"cubic")
23 enums_add (kVector_valueInterpolation, 3, SINC70, U"sinc70")
24 enums_add (kVector_valueInterpolation, 4, SINC700, U"sinc700")
25 enums_end (kVector_valueInterpolation, 4, LINEAR)
26
27 enums_begin (kVector_peakInterpolation, 0)
28 enums_add (kVector_peakInterpolation, 0, NONE, U"none")
29 enums_add (kVector_peakInterpolation, 1, PARABOLIC, U"parabolic")
30 enums_add (kVector_peakInterpolation, 2, CUBIC, U"cubic")
31 enums_add (kVector_peakInterpolation, 3, SINC70, U"sinc70")
32 enums_add (kVector_peakInterpolation, 4, SINC700, U"sinc700")
33 enums_end (kVector_peakInterpolation, 4, PARABOLIC)
34
35 /* End of file Vector_enums.h */