FreeCalypso > hg > ueda-linux
comparison pads2gpcb/struct.h @ 38:aa0539cc3d41
pads2gpcb project started, skeleton compiles
| author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
|---|---|
| date | Mon, 11 Jan 2016 04:56:51 +0000 |
| parents | |
| children | 1c37bec20596 |
comparison
equal
deleted
inserted
replaced
| 37:ce887659d12e | 38:aa0539cc3d41 |
|---|---|
| 1 struct footprint_pad { | |
| 2 long x1; | |
| 3 long y1; | |
| 4 long x2; | |
| 5 long y2; | |
| 6 long thickness; | |
| 7 long clearance; | |
| 8 long mask; | |
| 9 int is_square; | |
| 10 }; | |
| 11 | |
| 12 struct footprint_body { | |
| 13 size_t copysize; | |
| 14 int src_units; | |
| 15 int npins; | |
| 16 struct footprint_pad *pins; | |
| 17 long mark_x; | |
| 18 long mark_y; | |
| 19 long refdes_x; | |
| 20 long refdes_y; | |
| 21 long refdes_dir; | |
| 22 long refdes_scale; | |
| 23 }; | |
| 24 | |
| 25 struct part_decal { | |
| 26 char *name; | |
| 27 struct footprint_body *fpbody; | |
| 28 struct part_decal *next; | |
| 29 }; | |
| 30 | |
| 31 #define MAX_DECALS_PER_PART_TYPE 16 | |
| 32 | |
| 33 struct part_type { | |
| 34 char *name; | |
| 35 int ndecals; | |
| 36 struct part_decals *decals[MAX_DECALS_PER_PART_TYPE]; | |
| 37 char **alpha_pins; | |
| 38 struct part_type *next; | |
| 39 }; |
