Updated copyright text/header in most source files.
[geda-gaf/peter-b.git] / libgeda / include / libgeda / papersizes.h
blobe214ca738b6dd8a57e46117b67df14cc8d5700d0
1 /* gEDA - GPL Electronic Design Automation
2 * libgeda - gEDA's Library
3 * Copyright (C) 1998-2010 Ales Hvezda
5 * You should have received a copy of the GNU Library General Public
6 * License along with this library; if not, write to the
7 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
8 */
10 /* this file is no longer used */
12 #define MILS_PER 1000
13 #define BORDER 1000
14 /* if you change this one you must recalc correction factors */
15 /* perhaps we will do this in the code ! */
17 /* To calculate the correction factor for each: */
18 /* if calcaspect < required_aspect : */
19 /* Width_correction = (width+border) - (height+border)*1.3333 */
20 /* else */
21 /* Height_correction = ((width+border)/1.3333) - (height+border) */
24 #define WIDTH_A 11*MILS_PER+BORDER+667
25 #define HEIGHT_A 8.5*MILS_PER+BORDER
27 #define WIDTH_B 17*MILS_PER+BORDER
28 #define HEIGHT_B 11*MILS_PER+BORDER+1500
30 #define WIDTH_C 22*MILS_PER+BORDER+1000
31 #define HEIGHT_C 17*MILS_PER+BORDER
33 #define WIDTH_D 34*MILS_PER+BORDER
34 #define HEIGHT_D 22*MILS_PER+BORDER+3250
36 #define WIDTH_E 44*MILS_PER+BORDER+1667
37 #define HEIGHT_E 34*MILS_PER+BORDER