diff pads2gpcb/decals.c @ 59:aeef205f7580

pads2gpcb: width and height in ElementArc need be radius, not diameter
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sun, 31 Jan 2016 03:26:35 +0000
parents 05fd0b432e8c
children 0444db01fa4a
line wrap: on
line diff
--- a/pads2gpcb/decals.c	Sun Jan 31 02:38:54 2016 +0000
+++ b/pads2gpcb/decals.c	Sun Jan 31 03:26:35 2016 +0000
@@ -188,8 +188,8 @@
 	}
 	silk_arcs[num_silk_arcs].centre_x = centre_x;
 	silk_arcs[num_silk_arcs].centre_y = centre_y;
-	silk_arcs[num_silk_arcs].width = diameter;
-	silk_arcs[num_silk_arcs].height = diameter;
+	silk_arcs[num_silk_arcs].width = diameter / 2;
+	silk_arcs[num_silk_arcs].height = diameter / 2;
 	silk_arcs[num_silk_arcs].start_angle = 0;
 	silk_arcs[num_silk_arcs].delta_angle = 360;
 	silk_arcs[num_silk_arcs].thickness = thickness;