File: papersizes.h

package info (click to toggle)
geda-gsymcheck 20050313-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 904 kB
  • ctags: 132
  • sloc: sh: 3,465; ansic: 1,587; makefile: 138
file content (38 lines) | stat: -rw-r--r-- 1,136 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
 * gsymcheck - gEDA Symbol Checker
 * Copyright (C) 1998-2004 Ales V. Hvezda
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 */

/* 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