comparison 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
comparison
equal deleted inserted replaced
68:b7f49f029bc3 69:a7f0e9bb3fb7
6 long short_dim; 6 long short_dim;
7 long long_dim; 7 long long_dim;
8 int angle; 8 int angle;
9 }; 9 };
10 10
11 struct coord_pair {
12 long x;
13 long y;
14 };
15
11 struct footprint_pad { 16 struct footprint_pad {
12 long x1; 17 struct coord_pair end1;
13 long y1; 18 struct coord_pair end2;
14 long x2;
15 long y2;
16 long thickness; 19 long thickness;
17 long clearance; 20 long clearance;
18 long mask; 21 long mask;
19 struct pad_shape_info shape; 22 struct pad_shape_info shape;
20 }; 23 };
21 24
22 struct element_line { 25 struct element_line {
23 long x1; 26 struct coord_pair end1;
24 long y1; 27 struct coord_pair end2;
25 long x2;
26 long y2;
27 long thickness; 28 long thickness;
28 }; 29 };
29 30
30 struct element_arc { 31 struct element_arc {
31 long centre_x; 32 struct coord_pair centre;
32 long centre_y;
33 long width; 33 long width;
34 long height; 34 long height;
35 int start_angle; 35 int start_angle;
36 int delta_angle; 36 int delta_angle;
37 long thickness; 37 long thickness;