/usr/include/picviz/engine.h is in picviz 0.5-1build1.
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 | /*
* Picviz - Parallel coordinates ploter
* Copyright (C) 2008 Sebastien Tricaud <toady@gscore.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation version 3.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* $Id: engine.h 366 2008-12-21 01:57:33Z toady $
*/
#ifndef _ENGINE_H_
#define _ENGINE_H_
#ifdef __cplusplus
extern "C" {
#endif
enum position_t {
TOP,
MIDDLE,
BOTTOM
} position_t;
/* This is actually a mix of *rendering* and *engine*,
* which should be sorted out at some point
*/
typedef struct engine_t {
/* Private members: not recommended to change this at all! */
char __axis_label_exists; /* Defines wether we have labels in our axis or not */
char __header_title_exists; /* Defines wether we have title in our graph */
unsigned int axis_default_thickness;
unsigned int axis_x_cursor; /* We move where the X pos of the axis must be put everytime we add one */
unsigned int axis_default_space;
enum position_t zero_position;
int display_raw_data;
int relative;
unsigned int string_algo; /* 0 = basic, 1 = better */
unsigned char use_pcre;
unsigned char debug;
unsigned char draw_heatline;
unsigned char heatline_algo;
unsigned char learn; /* Read random lines to see which alago can be applied */
unsigned long long image_height;
unsigned int font_factor;
unsigned int draw_text;
char real_time;
char *output_file;
char *pid_file;
} engine_t;
extern struct engine_t engine;
void engine_init(void);
#ifdef __cplusplus
}
#endif
#endif /* _ENGINE_H_ */
|