FreeCalypso > hg > ueda-linux
diff pads2gpcb/struct.h @ 69:a7f0e9bb3fb7
pads2gpcb: struct coord_pair introduced
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Sun, 31 Jan 2016 23:41:00 +0000 |
parents | 2b71943a311b |
children |
line wrap: on
line diff
--- a/pads2gpcb/struct.h Sun Jan 31 23:19:37 2016 +0000 +++ b/pads2gpcb/struct.h Sun Jan 31 23:41:00 2016 +0000 @@ -8,11 +8,14 @@ int angle; }; +struct coord_pair { + long x; + long y; +}; + struct footprint_pad { - long x1; - long y1; - long x2; - long y2; + struct coord_pair end1; + struct coord_pair end2; long thickness; long clearance; long mask; @@ -20,16 +23,13 @@ }; struct element_line { - long x1; - long y1; - long x2; - long y2; + struct coord_pair end1; + struct coord_pair end2; long thickness; }; struct element_arc { - long centre_x; - long centre_y; + struct coord_pair centre; long width; long height; int start_angle;