]> mj.ucw.cz Git - leo.git/blob - map.h
Moved auxiliary tools to their own directory
[leo.git] / map.h
1 /*
2  *      Hic Est Leo -- Global Map Operations
3  *
4  *      (c) 2014 Martin Mares <mj@ucw.cz>
5  */
6
7 #ifndef _LEO_MAP_H
8 #define _LEO_MAP_H
9
10 /* Map configuration */
11
12 extern double map_min_x, map_min_y;
13 extern double map_max_x, map_max_y;
14 extern double page_width, page_height;
15 extern uns map_clip, map_draw_border;
16 extern char *map_xml_input;
17 extern char *map_projection;
18 extern char *map_style_sheet;
19 extern char *map_svg_output;
20
21 /* Calculated by map_set_scale() */
22
23 extern double map_scale;
24 extern double page_offset_x, page_offset_y;
25 extern double page_map_width, page_map_height;
26
27 void map_set_scale(void);
28 bool map_object_visible_p(struct osm_object *o);
29
30 #endif