1 /* atlc - arbitrary transmission line calculator, for the analysis of
2 transmission lines are directional couplers.
4 Copyright (C) 2002. Dr. David Kirkby, PhD (G8WRB).
6 This program is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License
8 as published by the Free Software Foundation; either package_version 2
9 of the License, or (at your option) any later package_version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
21 Dr. David Kirkby, e-mail drkirkby at gmail.com
31 #include "definitions.h"
33 void usage_create_any_bitmap()
36 fprintf(stderr,"create_any_bitmap version %s\n\n",PACKAGE_VERSION);
37 fprintf(stderr,"Usage: create_any_bitmap commandfile\n\n");
38 fprintf(stderr,"where 'commandfile' is a text file, which:\n");
39 fprintf(stderr,"a) MUST have a FILENAME command\n");
40 fprintf(stderr,"b) MUST have either a BACKGROUND or a GREEN_ENCLOSED_BACKGROUND command\n");
41 fprintf(stderr,"c) Must have at least one RECTANGLE or CIRCLE command, but might have several.\n\n");
42 fprintf(stderr,"The following is a typical command file, which in this case creates an bitmap\n");
43 fprintf(stderr,"called twin-wire-a.bmp, consisting of a rectangle 5000 x 4500 pixels\n");
44 fprintf(stderr,"which has a green (0 V) border of 5 pixels in thickness\n");
45 fprintf(stderr,"Inside are placed two red (V = +1 V) circular conductors, each of diameter\n");
46 fprintf(stderr,"80 pixels which have centres of 2400,2000 and 2600,2000\n\n");
47 fprintf(stderr,"FILENAME twin-wire-a.bmp # Write to file 'twin-wire-a.bmp'\n");
48 fprintf(stderr,"GREEN_ENCLOSED_BACKGROUND 5000 4000 1.0 # 5000x4000 image. Er=1.0 Green border\n");
49 fprintf(stderr,"CIRCLE 80 2400 2000 RED # Red circle, dia 80, centre (2400,2000)\n");
50 fprintf(stderr,"CIRCLE 80 2600 2000 RED # Red circle, dia 80, centre (2600,2000)\n");