File: papersizes.h

package info (click to toggle)
geda-utils 20061020-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,412 kB
  • ctags: 746
  • sloc: ansic: 5,268; sh: 3,763; perl: 1,239; lex: 887; python: 878; awk: 362; makefile: 158
file content (38 lines) | stat: -rw-r--r-- 1,143 bytes parent folder | download | duplicates (3)
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
/* gEDA - GPL Electronic Design Automation
 * utils - gEDA Utilities
 * Copyright (C) 1998-2004 Ales V. Hvezda
 *
 * You should have received a copy of the GNU General Public License 
 * along with this program; if not, write to the * Free Software 
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
 */

/* this file is no longer used */

#define MILS_PER	1000
#define BORDER 		1000	
/* if you change this one you must recalc correction factors */
/* perhaps we will do this in the code ! */

/* To calculate the correction factor for each: */
/* if calcaspect < required_aspect : */
/* 	Width_correction = (width+border) - (height+border)*1.3333 */
/* else */
/* 	Height_correction = ((width+border)/1.3333) - (height+border) */


#define WIDTH_A		11*MILS_PER+BORDER+667
#define HEIGHT_A	8.5*MILS_PER+BORDER

#define WIDTH_B		17*MILS_PER+BORDER
#define HEIGHT_B	11*MILS_PER+BORDER+1500

#define WIDTH_C		22*MILS_PER+BORDER+1000
#define HEIGHT_C	17*MILS_PER+BORDER

#define WIDTH_D		34*MILS_PER+BORDER
#define HEIGHT_D	22*MILS_PER+BORDER+3250

#define WIDTH_E		44*MILS_PER+BORDER+1667
#define HEIGHT_E	34*MILS_PER+BORDER