FreeCalypso > hg > ueda-linux
comparison pads2gpcb/struct.h @ 50:c9acfeed99e6
pads2gpcb: data structures for footprint silk support
| author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
|---|---|
| date | Sat, 30 Jan 2016 21:31:03 +0000 |
| parents | c81aba92cb5e |
| children | 455a0051f9d2 |
comparison
equal
deleted
inserted
replaced
| 49:b3b7013d9228 | 50:c9acfeed99e6 |
|---|---|
| 17 long clearance; | 17 long clearance; |
| 18 long mask; | 18 long mask; |
| 19 struct pad_shape_info shape; | 19 struct pad_shape_info shape; |
| 20 }; | 20 }; |
| 21 | 21 |
| 22 struct element_line { | |
| 23 long x1; | |
| 24 long y1; | |
| 25 long x2; | |
| 26 long y2; | |
| 27 long thickness; | |
| 28 }; | |
| 29 | |
| 30 struct element_arc { | |
| 31 long centre_x; | |
| 32 long centre_y; | |
| 33 long width; | |
| 34 long height; | |
| 35 int start_angle; | |
| 36 int delta_angle; | |
| 37 long thickness; | |
| 38 }; | |
| 39 | |
| 22 struct footprint_body { | 40 struct footprint_body { |
| 23 int src_units; | 41 int src_units; |
| 24 int npins; | 42 int npins; |
| 25 struct footprint_pad *pins; | 43 struct footprint_pad *pins; |
| 26 struct pad_shape_info default_pad; | 44 struct pad_shape_info default_pad; |
| 28 long mark_y; | 46 long mark_y; |
| 29 long refdes_x; | 47 long refdes_x; |
| 30 long refdes_y; | 48 long refdes_y; |
| 31 int refdes_dir; | 49 int refdes_dir; |
| 32 int refdes_scale; | 50 int refdes_scale; |
| 51 struct element_line *silk_lines; | |
| 52 struct element_arc *silk_arcs; | |
| 53 int num_silk_lines; | |
| 54 int num_silk_arcs; | |
| 33 }; | 55 }; |
| 34 | 56 |
| 35 struct part_decal { | 57 struct part_decal { |
| 36 char *name; | 58 char *name; |
| 37 struct footprint_body *body; | 59 struct footprint_body *body; |
