00001 /* Definitions for printing in Xconq. 00002 Copyright (C) 1994, 1996, 1999 Stanley T. Shebs and Massimo Campostrini. 00003 00004 Xconq is free software; you can redistribute it and/or modify 00005 it under the terms of the GNU General Public License as published by 00006 the Free Software Foundation; either version 2, or (at your option) 00007 any later version. See the file COPYING. */ 00008 00009 /* Parameters to control view printing. */ 00010 00011 typedef struct a_print_parameters { 00012 /* binary flags */ 00013 int corner_coord; 00014 int terrain_dither; 00015 int terrain_double; 00016 int features; 00017 int cell_summary; 00018 int cm; /* otherwise inches */ 00019 /* integer flags */ 00020 int names; 00021 /* lengths */ 00022 double cell_size; 00023 double cell_grid_width; 00024 double border_width; 00025 double connection_width; 00026 double page_width; 00027 double page_height; 00028 double top_margin; 00029 double bottom_margin; 00030 double left_margin; 00031 double right_margin; 00032 /* gray levels */ 00033 double terrain_gray; 00034 double enemy_gray; 00035 } PrintParameters; 00036 00037 /* Prototypes. */ 00038 00039 extern void init_ps_print(PrintParameters *pp); 00040 extern void dump_ps_view(Side *side, PrintParameters *pp, char *filename);