FreeCalypso > hg > ueda-linux
view pads2gpcb/struct.h @ 43:4a50888d09ce
pads2gpcb: handle error cases when the default pad is defined, but failed
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Sat, 30 Jan 2016 05:39:52 +0000 |
parents | 1c37bec20596 |
children | c81aba92cb5e |
line wrap: on
line source
struct pad_shape_info { int defined; int valid; int rounded; int elongated; long short_dim; long long_dim; int angle; }; struct footprint_pad { long x1; long y1; long x2; long y2; long thickness; long clearance; long mask; struct pad_shape_info shape; }; struct footprint_body { int src_units; int npins; struct footprint_pad *pins; struct pad_shape_info default_pad; long mark_x; long mark_y; long refdes_x; long refdes_y; long refdes_dir; long refdes_scale; }; struct part_decal { char *name; struct footprint_body *body; struct part_decal *next; }; #define MAX_DECALS_PER_PART_TYPE 16 struct part_type { char *name; int ndecals; struct part_decals *decals[MAX_DECALS_PER_PART_TYPE]; char **alpha_pins; struct part_type *next; };