Flip MLP 4x3 package around
authorKeith Packard <keithp@keithp.com>
Sun, 7 Jul 2013 19:42:27 +0000 (12:42 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 7 Jul 2013 19:42:27 +0000 (12:42 -0700)
Was drawn looking at the bottom rather than the top. Not so useful

Signed-off-by: Keith Packard <keithp@keithp.com>
packages/mlp8-4x3.5c

index a00f536917acbc31d3f54d51c2ee4b525bc08dc9..153e66cb34cc9c8b0ed41fc7b6c19d34490f036a 100644 (file)
@@ -75,17 +75,17 @@ corner(1, 1);
 
 real dot_off = -.3;
 
-line(-package_width/2 + dot_off, -package_height/2 + dot_off,
-     -package_width/2 + dot_off, -package_height/2 + dot_off);
+line(-package_width/2 + dot_off, package_height/2 - dot_off,
+     -package_width/2 + dot_off, package_height/2 - dot_off);
 
 for (pad = 0; pad < num_pad; pad++) {
        /* top (1-4) */
 
-       pad_top (pad_off_x(pad), -package_height / 2, pad + 1);
+       pad_top (pad_off_x(pad), package_height / 2, pad + 1);
 
        /* bottom (8-5) */
 
-       pad_bottom (pad_off_x(pad), package_height / 2, 8 - pad);
+       pad_bottom (pad_off_x(pad), -package_height / 2, 8 - pad);
 }