Debian Codegraph @

fon/Polygon_def.h

raw
1 /* Polygon_def.h
2 *
3 * Copyright (C) 1992-2005,2008,2011,2015-2018,2022 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
20 #define ooSTRUCT Polygon
21 oo_DEFINE_CLASS (Polygon, Daata)
22
23 oo_INTEGER (numberOfPoints)
24
25 #if oo_READING
26 oo_VERSION_UNTIL (1)
27 oo_obsoleteVEC32 (x, numberOfPoints)
28 oo_obsoleteVEC32 (y, numberOfPoints)
29 oo_VERSION_ELSE
30 oo_VEC (x, numberOfPoints)
31 oo_VEC (y, numberOfPoints)
32 oo_VERSION_END
33 #else
34 oo_VEC (x, numberOfPoints)
35 oo_VEC (y, numberOfPoints)
36 #endif
37
38 #if oo_DECLARING
39 void v1_info ()
40 override;
41 #endif
42
43 oo_END_CLASS (Polygon)
44 #undef ooSTRUCT
45
46
47 /* End of file Polygon_def.h */