libgeda

papersizes.h

Go to the documentation of this file.
00001 /* gEDA - GPL Electronic Design Automation
00002  * libgeda - gEDA's Library
00003  * Copyright (C) 1998-2010 Ales Hvezda
00004  *
00005  * You should have received a copy of the GNU Library General Public
00006  * License along with this library; if not, write to the
00007  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00008  * Boston, MA 02110-1301 USA
00009  */
00010 
00011 /* this file is no longer used */
00012 
00013 #define MILS_PER    1000
00014 #define BORDER      1000    
00015 /* if you change this one you must recalc correction factors */
00016 /* perhaps we will do this in the code ! */
00017 
00018 /* To calculate the correction factor for each: */
00019 /* if calcaspect < required_aspect : */
00020 /*  Width_correction = (width+border) - (height+border)*1.3333 */
00021 /* else */
00022 /*  Height_correction = ((width+border)/1.3333) - (height+border) */
00023 
00024 
00025 #define WIDTH_A     11*MILS_PER+BORDER+667
00026 #define HEIGHT_A    8.5*MILS_PER+BORDER
00027 
00028 #define WIDTH_B     17*MILS_PER+BORDER
00029 #define HEIGHT_B    11*MILS_PER+BORDER+1500
00030 
00031 #define WIDTH_C     22*MILS_PER+BORDER+1000
00032 #define HEIGHT_C    17*MILS_PER+BORDER
00033 
00034 #define WIDTH_D     34*MILS_PER+BORDER
00035 #define HEIGHT_D    22*MILS_PER+BORDER+3250
00036 
00037 #define WIDTH_E     44*MILS_PER+BORDER+1667
00038 #define HEIGHT_E    34*MILS_PER+BORDER
00039 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines