Package geom :: Module default
[hide private]
[frames] | no frames]

Source Code for Module geom.default

 1  #    callirhoe - high quality calendar rendering 
 2  #    Copyright (C) 2012 George M. Tzoumas 
 3   
 4  #    This program is free software: you can redistribute it and/or modify 
 5  #    it under the terms of the GNU General Public License as published by 
 6  #    the Free Software Foundation, either version 3 of the License, or 
 7  #    (at your option) any later version. 
 8  # 
 9  #    This program is distributed in the hope that it will be useful, 
10  #    but WITHOUT ANY WARRANTY; without even the implied warranty of 
11  #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
12  #    GNU General Public License for more details. 
13  # 
14  #    You should have received a copy of the GNU General Public License 
15  #    along with this program.  If not, see http://www.gnu.org/licenses/ 
16   
17  # --- geom.default --- 
18   
19  """module defining the default geometry""" 
20   
21 -class dom:
22 """day of month geometry""" 23 size = (0.5,0.5,0.8,0.5) # short 0-1, long 2-3 24 mw_split = (0.7,0.2) 25 26 header_size = footer_size = (0.8,0.1) 27 header_align = 0.15 28 footer_align = 0.15 29 hf_hsplit = (0.33,0.1) 30 hf_vsplit = (0.5,0.4)
31
32 -class month:
33 """month geometry""" 34 symmetric = False 35 sloppy_rot = 0 36 sloppy_dx = 0 37 sloppy_dy = 0 38 padding = 1.5
39 40 #class page: 41