Why does the polygon even have a width? Can't it just be zero?
Den 30/06/2015 03.04 skrev "Marco Hess" <marco.hess@xxxxxxxxxxxxxx
<mailto:marco.hess@xxxxxxxxxxxxxx>>:
Minor patch to reduce the polygon line width used the
bitmap2component import. The existing 0.1 mm linewidth reduces the
accuracy of the imported bitmap outline. As it is a filled polygon
anyway, the line width can be quite small and gives
beter looking results this way.
diff --git a/bitmap2component/bitmap2component.cpp
b/bitmap2component/bitmap2component.cpp
index db11585..6717e0b 100644
--- a/bitmap2component/bitmap2component.cpp
+++ b/bitmap2component/bitmap2component.cpp
@@ -356,7 +356,7 @@ void BITMAPCONV_INFO::OuputOnePolygon(
KPolygon & aPolygon, const char * aBrdLay
case PCBNEW_KICAD_MOD:
{
- double width = 0.1;
+ double width = 0.0001;
fprintf( m_Outfile, " (fp_poly (pts" );
jj = 0;
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
<https://launchpad.net/%7Ekicad-developers>
Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
<mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~kicad-developers
<https://launchpad.net/%7Ekicad-developers>
More help : https://help.launchpad.net/ListHelp