Skip to content

Commit ee4d467

Browse files
committed
Apparently SVG polylines default to being filled??? Fixed now.
1 parent 54e5b74 commit ee4d467

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GDStoSVG/SVGWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public void WritePath(Path path, Transform trans)
148148
string Colour = Layer.Colour.ToString("X6");
149149
double Width = path.Width < 0 ? -path.Width : path.Width * trans.Magnification;
150150

151-
Out += string.Format(@""" stroke=""#" + Colour + @""" stroke-width=""" + Width + @""" opacity=""" + Layer.Opacity + @""" stroke-linecap=""" + EndcapType + @""" />");
151+
Out += string.Format(@""" stroke=""#" + Colour + @""" stroke-width=""" + Width + @""" opacity=""" + Layer.Opacity + @""" stroke-linecap=""" + EndcapType + @""" fill=""none"" />");
152152
this.Output[(short)path.Layer].Add(Out);
153153
}
154154

0 commit comments

Comments
 (0)