2 * Copyright © 2020 Bdale Garbee <bdale@gag.com>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
20 real hgap = 1.7 - width;
21 real vgap = 1.3 - height;
23 real hpos = hgap/2 + width/2;
24 real vpos = vgap/2 + height/2;
26 element_start("ABM12");
28 pad_mm(-hpos, vpos,width,height,"1","1");
29 pad_mm( hpos, vpos,width,height,"2","2");
30 pad_mm( hpos,-vpos,width,height,"3","3");
31 pad_mm(-hpos,-vpos,width,height,"4","4");