Debian Codegraph @

src/testpattern/testpattern.h

raw symbols SCIP
1 /*
2 *
3 * Test pattern generator for Gimp-Print
4 *
5 * Copyright 2001 Robert Krawitz <[email protected]>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the Free
9 * Software Foundation; either version 2 of the License, or (at your option)
10 * any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 * for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <https://www.gnu.org/licenses/>.
19 */
20
21 #ifdef HAVE_CONFIG_Hcxx . . $ `<built-in>:411:9`!
22 #include <config.h>cxx . . $ `<file>/config.h`/
23 #endif
24
25 #include <gutenprint/gutenprint.h>cxx . . $ `<file>/include/gutenprint/gutenprint.h`/
26 #include <stdio.h>
27
28 typedef structcxx . . $ $anonymous_type_790f627673a290a_0#
29 {
30 enumcxx . . $ $anonymous_type_790f627673a290a_0#$anonymous_type_1# {
31 E_PATTERNcxx . . $ $anonymous_type_790f627673a290a_0#E_PATTERN.,
32 E_XPATTERNcxx . . $ $anonymous_type_790f627673a290a_0#E_XPATTERN.,
33 E_IMAGEcxx . . $ $anonymous_type_790f627673a290a_0#E_IMAGE.,
34 E_GRIDcxx . . $ $anonymous_type_790f627673a290a_0#E_GRID.
35 } typecxx . . $ $anonymous_type_790f627673a290a_0#type.;
36 unioncxx . . $ $anonymous_type_790f627673a290a_0#$anonymous_type_2# {
37 structcxx . . $ $anonymous_type_790f627673a290a_0#$anonymous_type_2#$anonymous_type_3# {
38 double minscxx . . $ $anonymous_type_790f627673a290a_0#$anonymous_type_2#$anonymous_type_3#mins.[STP_CHANNEL_LIMITcxx . . $ `include/gutenprint/image.h:48:9`!];
39 double valscxx . . $ $anonymous_type_790f627673a290a_0#$anonymous_type_2#$anonymous_type_3#vals.[STP_CHANNEL_LIMITcxx . . $ `include/gutenprint/image.h:48:9`!];
40 double gammascxx . . $ $anonymous_type_790f627673a290a_0#$anonymous_type_2#$anonymous_type_3#gammas.[STP_CHANNEL_LIMITcxx . . $ `include/gutenprint/image.h:48:9`!];
41 double levelscxx . . $ $anonymous_type_790f627673a290a_0#$anonymous_type_2#$anonymous_type_3#levels.[STP_CHANNEL_LIMITcxx . . $ `include/gutenprint/image.h:48:9`!];
42 double lowercxx . . $ $anonymous_type_790f627673a290a_0#$anonymous_type_2#$anonymous_type_3#lower.;
43 double uppercxx . . $ $anonymous_type_790f627673a290a_0#$anonymous_type_2#$anonymous_type_3#upper.;
44 } patterncxx . . $ $anonymous_type_790f627673a290a_0#$anonymous_type_2#pattern.;
45 structcxx . . $ $anonymous_type_790f627673a290a_0#$anonymous_type_2#$anonymous_type_4# {
46 int tickscxx . . $ $anonymous_type_790f627673a290a_0#$anonymous_type_2#$anonymous_type_4#ticks.;
47 } gridcxx . . $ $anonymous_type_790f627673a290a_0#$anonymous_type_2#grid.;
48 structcxx . . $ $anonymous_type_790f627673a290a_0#$anonymous_type_2#$anonymous_type_5# {
49 int xcxx . . $ $anonymous_type_790f627673a290a_0#$anonymous_type_2#$anonymous_type_5#x.;
50 int ycxx . . $ $anonymous_type_790f627673a290a_0#$anonymous_type_2#$anonymous_type_5#y.;
51 int bitscxx . . $ $anonymous_type_790f627673a290a_0#$anonymous_type_2#$anonymous_type_5#bits.;
52 const char *datacxx . . $ $anonymous_type_790f627673a290a_0#$anonymous_type_2#$anonymous_type_5#data.;
53 } imagecxx . . $ $anonymous_type_790f627673a290a_0#$anonymous_type_2#image.;
54 } dcxx . . $ $anonymous_type_790f627673a290a_0#d.;
55 } testpattern_tcxx . . $ testpattern_t#;
56
57 /*
58 * At least with flex, this forbids the scanner from reading ahead.
59 * This is necessary for parsing images.
60 */
61 #define YY_ALWAYS_INTERACTIVEcxx . . $ `src/testpattern/testpattern.h:61:9`! 1
62
63 typedef enumcxx . . $ $anonymous_type_790f627673a290a_6# {
64 SIZE_RELATIVEcxx . . $ SIZE_RELATIVE.,
65 SIZE_PTcxx . . $ SIZE_PT.,
66 SIZE_INcxx . . $ SIZE_IN.,
67 SIZE_MMcxx . . $ SIZE_MM.
68 } size_mode_tcxx . . $ size_mode_t#;
69
70 extern stp_vars_tcxx . . $ stp_vars_t# *global_varscxx . . $ global_vars.;
71 extern double global_levelscxx . . $ global_levels.[];
72 extern double global_gammascxx . . $ global_gammas.[];
73 extern double global_gammacxx . . $ global_gamma.;
74 extern int global_stepscxx . . $ global_steps.;
75 extern double global_ink_limitcxx . . $ global_ink_limit.;
76 extern char *global_printercxx . . $ global_printer.;
77 extern double global_densitycxx . . $ global_density.;
78 extern double global_xtopcxx . . $ global_xtop.;
79 extern double global_xleftcxx . . $ global_xleft.;
80 extern size_mode_tcxx . . $ size_mode_t# global_size_modecxx . . $ global_size_mode.;
81 extern double global_hsizecxx . . $ global_hsize.;
82 extern double global_vsizecxx . . $ global_vsize.;
83 extern int global_noblacklinecxx . . $ global_noblackline.;
84 extern int global_colorlinecxx . . $ global_colorline.;
85 extern const char *global_image_typecxx . . $ global_image_type.;
86 extern int global_color_modelcxx . . $ global_color_model.;
87 extern int global_bit_depthcxx . . $ global_bit_depth.;
88 extern int global_channel_depthcxx . . $ global_channel_depth.;
89 extern int global_did_somethingcxx . . $ global_did_something.;
90 extern int global_invert_datacxx . . $ global_invert_data.;
91 extern int global_noscalecxx . . $ global_noscale.;
92 extern int global_round_sizecxx . . $ global_round_size.;
93 extern char *global_outputcxx . . $ global_output.;
94 extern int global_quietcxx . . $ global_quiet.;
95 extern FILEcxx . . $ FILE# *outputcxx . . $ output.;
96 extern int start_jobcxx . . $ start_job.;
97 extern int end_jobcxx . . $ end_job.;
98
99 extern char *c_strdupcxx . . $ c_strdup(a8b8e32347182212).(const char *s);
100 extern testpattern_tcxx . . $ testpattern_t# *get_next_testpatterncxx . . $ get_next_testpattern(db92c50458ac7521).(void);
101 extern void close_outputcxx . . $ close_output(49f6e7a06ebc5aa8).(void);
102
103 typedef struct yylvcxx . . $ yylv# {
104 int ivalcxx . . $ yylv#ival.;
105 double dvalcxx . . $ yylv#dval.;
106 char *svalcxx . . $ yylv#sval.;
107 } YYSTYPEcxx . . $ YYSTYPE#;
108
109 #define YYSTYPE_IS_DECLAREDcxx . . $ `src/testpattern/testpattern.h:109:9`! 1
110
111 #include "testpatterny.h"cxx . . $ `<file>/src/testpattern/testpatterny.h`/