Added refresh button to the in-use tab in the component selection dialog
[geda-gaf/whiteaudio.git] / utils / include / papersizes.h
blobb2e797e538a7c25b545c25e419cc1eba4976b964
1 /* gEDA - GPL Electronic Design Automation
2 * utils - gEDA Utilities
3 * Copyright (C) 1998-2004 Ales V. Hvezda
5 * You should have received a copy of the GNU General Public License
6 * along with this program; if not, write to the * Free Software
7 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
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