FreeCalypso > hg > ueda-linux
diff 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 |
line wrap: on
line diff
--- a/pads2gpcb/struct.h Sat Jan 30 17:38:47 2016 +0000 +++ b/pads2gpcb/struct.h Sat Jan 30 21:31:03 2016 +0000 @@ -19,6 +19,24 @@ struct pad_shape_info shape; }; +struct element_line { + long x1; + long y1; + long x2; + long y2; + long thickness; +}; + +struct element_arc { + long centre_x; + long centre_y; + long width; + long height; + int start_angle; + int delta_angle; + long thickness; +}; + struct footprint_body { int src_units; int npins; @@ -30,6 +48,10 @@ long refdes_y; int refdes_dir; int refdes_scale; + struct element_line *silk_lines; + struct element_arc *silk_arcs; + int num_silk_lines; + int num_silk_arcs; }; struct part_decal {